]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
autodoc docstring fixes and such
[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_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13666 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
13667 wxToolBarToolBase *result;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self",(char *) "tool", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",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_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = (wxToolBarToolBase *)(arg1)->AddTool(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_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13696 size_t arg2 ;
13697 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 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 *) "tool", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",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_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (wxToolBarToolBase *)(arg1)->InsertTool(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_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13730 wxControl *arg2 = (wxControl *) 0 ;
13731 wxToolBarToolBase *result;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "control", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 {
13749 resultobj = wxPyMake_wxObject(result);
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13760 size_t arg2 ;
13761 wxControl *arg3 = (wxControl *) 0 ;
13762 wxToolBarToolBase *result;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 PyObject * obj2 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "self",(char *) "pos",(char *) "control", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13772 arg2 = (size_t) PyInt_AsLong(obj1);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 resultobj = wxPyMake_wxObject(result);
13784 }
13785 return resultobj;
13786 fail:
13787 return NULL;
13788 }
13789
13790
13791 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj;
13793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13794 int arg2 ;
13795 wxControl *result;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self",(char *) "id", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (wxControl *)(arg1)->FindControl(arg2);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 resultobj = wxPyMake_wxObject(result);
13812 }
13813 return resultobj;
13814 fail:
13815 return NULL;
13816 }
13817
13818
13819 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13822 wxToolBarToolBase *result;
13823 PyObject * obj0 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 {
13838 resultobj = wxPyMake_wxObject(result);
13839 }
13840 return resultobj;
13841 fail:
13842 return NULL;
13843 }
13844
13845
13846 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13849 size_t arg2 ;
13850 wxToolBarToolBase *result;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "pos", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13859 arg2 = (size_t) PyInt_AsLong(obj1);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 {
13869 resultobj = wxPyMake_wxObject(result);
13870 }
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13880 int arg2 ;
13881 wxToolBarToolBase *result;
13882 PyObject * obj0 = 0 ;
13883 char *kwnames[] = {
13884 (char *) "self",(char *) "id", NULL
13885 };
13886
13887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = wxPyMake_wxObject(result);
13898 }
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13908 size_t arg2 ;
13909 bool result;
13910 PyObject * obj0 = 0 ;
13911 PyObject * obj1 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self",(char *) "pos", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 arg2 = (size_t) PyInt_AsLong(obj1);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (bool)(arg1)->DeleteToolByPos(arg2);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = PyInt_FromLong((long)result);
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13937 int arg2 ;
13938 bool result;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "id", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (bool)(arg1)->DeleteTool(arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = PyInt_FromLong((long)result);
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 (arg1)->ClearTools();
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 Py_INCREF(Py_None); resultobj = Py_None;
13978 return resultobj;
13979 fail:
13980 return NULL;
13981 }
13982
13983
13984 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13987 bool result;
13988 PyObject * obj0 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "self", NULL
13991 };
13992
13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = (bool)(arg1)->Realize();
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 resultobj = PyInt_FromLong((long)result);
14003 return resultobj;
14004 fail:
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14012 int arg2 ;
14013 bool arg3 ;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj2 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "id",(char *) "enable", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 arg3 = PyInt_AsLong(obj2) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 (arg1)->EnableTool(arg2,arg3);
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 Py_INCREF(Py_None); resultobj = Py_None;
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14041 int arg2 ;
14042 bool arg3 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self",(char *) "id",(char *) "toggle", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14051 arg3 = PyInt_AsLong(obj2) ? true : false;
14052 if (PyErr_Occurred()) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->ToggleTool(arg2,arg3);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14070 int arg2 ;
14071 bool arg3 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "id",(char *) "toggle", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14080 arg3 = PyInt_AsLong(obj2) ? true : false;
14081 if (PyErr_Occurred()) SWIG_fail;
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 (arg1)->SetToggle(arg2,arg3);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 Py_INCREF(Py_None); resultobj = Py_None;
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14099 int arg2 ;
14100 PyObject *result;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "id", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = result;
14116 return resultobj;
14117 fail:
14118 return NULL;
14119 }
14120
14121
14122 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14125 int arg2 ;
14126 PyObject *arg3 = (PyObject *) 0 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj2 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "id",(char *) "clientData", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 arg3 = obj2;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14153 int arg2 ;
14154 int result;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "id", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 resultobj = PyInt_FromLong((long)result);
14170 return resultobj;
14171 fail:
14172 return NULL;
14173 }
14174
14175
14176 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14179 int arg2 ;
14180 bool result;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "id", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (bool)(arg1)->GetToolState(arg2);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = PyInt_FromLong((long)result);
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14205 int arg2 ;
14206 bool result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "id", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (bool)(arg1)->GetToolEnabled(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 resultobj = PyInt_FromLong((long)result);
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14231 int arg2 ;
14232 wxString *arg3 = 0 ;
14233 bool temp3 = False ;
14234 PyObject * obj0 = 0 ;
14235 PyObject * obj2 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self",(char *) "id",(char *) "helpString", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14242 {
14243 arg3 = wxString_in_helper(obj2);
14244 if (arg3 == NULL) SWIG_fail;
14245 temp3 = True;
14246 }
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 Py_INCREF(Py_None); resultobj = Py_None;
14255 {
14256 if (temp3)
14257 delete arg3;
14258 }
14259 return resultobj;
14260 fail:
14261 {
14262 if (temp3)
14263 delete arg3;
14264 }
14265 return NULL;
14266 }
14267
14268
14269 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14272 int arg2 ;
14273 wxString result;
14274 PyObject * obj0 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "self",(char *) "id", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (arg1)->GetToolShortHelp(arg2);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 {
14289 #if wxUSE_UNICODE
14290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14291 #else
14292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14293 #endif
14294 }
14295 return resultobj;
14296 fail:
14297 return NULL;
14298 }
14299
14300
14301 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14302 PyObject *resultobj;
14303 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14304 int arg2 ;
14305 wxString *arg3 = 0 ;
14306 bool temp3 = False ;
14307 PyObject * obj0 = 0 ;
14308 PyObject * obj2 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "id",(char *) "helpString", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 arg3 = wxString_in_helper(obj2);
14317 if (arg3 == NULL) SWIG_fail;
14318 temp3 = True;
14319 }
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 Py_INCREF(Py_None); resultobj = Py_None;
14328 {
14329 if (temp3)
14330 delete arg3;
14331 }
14332 return resultobj;
14333 fail:
14334 {
14335 if (temp3)
14336 delete arg3;
14337 }
14338 return NULL;
14339 }
14340
14341
14342 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14345 int arg2 ;
14346 wxString result;
14347 PyObject * obj0 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "id", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (arg1)->GetToolLongHelp(arg2);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 #if wxUSE_UNICODE
14363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14364 #else
14365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14366 #endif
14367 }
14368 return resultobj;
14369 fail:
14370 return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14377 int arg2 ;
14378 int arg3 ;
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self",(char *) "x",(char *) "y", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 (arg1)->SetMargins(arg2,arg3);
14389
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 Py_INCREF(Py_None); resultobj = Py_None;
14394 return resultobj;
14395 fail:
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14403 wxSize *arg2 = 0 ;
14404 wxSize temp2 ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self",(char *) "size", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14413 {
14414 arg2 = &temp2;
14415 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14416 }
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 (arg1)->SetMargins((wxSize const &)*arg2);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 Py_INCREF(Py_None); resultobj = Py_None;
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14434 int arg2 ;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self",(char *) "packing", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 (arg1)->SetToolPacking(arg2);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 Py_INCREF(Py_None); resultobj = Py_None;
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14459 int arg2 ;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self",(char *) "separation", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 (arg1)->SetToolSeparation(arg2);
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 Py_INCREF(Py_None); resultobj = Py_None;
14475 return resultobj;
14476 fail:
14477 return NULL;
14478 }
14479
14480
14481 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14484 wxSize result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (arg1)->GetToolMargins();
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 wxSize * resultptr;
14501 resultptr = new wxSize((wxSize &) result);
14502 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14503 }
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14513 wxSize result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (arg1)->GetMargins();
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 wxSize * resultptr;
14530 resultptr = new wxSize((wxSize &) result);
14531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14532 }
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14542 int result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (int)(arg1)->GetToolPacking();
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = PyInt_FromLong((long)result);
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14567 int result;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (int)(arg1)->GetToolSeparation();
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = PyInt_FromLong((long)result);
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14592 int arg2 ;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "self",(char *) "nRows", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->SetRows(arg2);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 return resultobj;
14609 fail:
14610 return NULL;
14611 }
14612
14613
14614 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14617 int arg2 ;
14618 int arg3 ;
14619 PyObject * obj0 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "rows",(char *) "cols", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 (arg1)->SetMaxRowsCols(arg2,arg3);
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 Py_INCREF(Py_None); resultobj = Py_None;
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14643 int result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (int)(arg1)->GetMaxRows();
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 resultobj = PyInt_FromLong((long)result);
14659 return resultobj;
14660 fail:
14661 return NULL;
14662 }
14663
14664
14665 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj;
14667 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14668 int result;
14669 PyObject * obj0 = 0 ;
14670 char *kwnames[] = {
14671 (char *) "self", NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (int)(arg1)->GetMaxCols();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = PyInt_FromLong((long)result);
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14693 wxSize *arg2 = 0 ;
14694 wxSize temp2 ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "size", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14703 {
14704 arg2 = &temp2;
14705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14706 }
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 Py_INCREF(Py_None); resultobj = Py_None;
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14724 wxSize result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (arg1)->GetToolBitmapSize();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 wxSize * resultptr;
14741 resultptr = new wxSize((wxSize &) result);
14742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14743 }
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14753 wxSize result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = (arg1)->GetToolSize();
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 wxSize * resultptr;
14770 resultptr = new wxSize((wxSize &) result);
14771 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14772 }
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14782 int arg2 ;
14783 int arg3 ;
14784 wxToolBarToolBase *result;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "x",(char *) "y", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 {
14800 resultobj = wxPyMake_wxObject(result);
14801 }
14802 return resultobj;
14803 fail:
14804 return NULL;
14805 }
14806
14807
14808 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14811 int arg2 ;
14812 wxToolBarToolBase *result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self",(char *) "toolid", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 resultobj = wxPyMake_wxObject(result);
14829 }
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14839 bool result;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (bool)(arg1)->IsVertical();
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 resultobj = PyInt_FromLong((long)result);
14855 return resultobj;
14856 fail:
14857 return NULL;
14858 }
14859
14860
14861 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14862 PyObject *obj;
14863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14864 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14865 Py_INCREF(obj);
14866 return Py_BuildValue((char *)"");
14867 }
14868 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxWindow *arg1 = (wxWindow *) 0 ;
14871 int arg2 ;
14872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14874 wxSize const &arg4_defvalue = wxDefaultSize ;
14875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14876 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14877 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14878 wxString *arg6 = (wxString *) &arg6_defvalue ;
14879 wxToolBar *result;
14880 wxPoint temp3 ;
14881 wxSize temp4 ;
14882 bool temp6 = False ;
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj2 = 0 ;
14885 PyObject * obj3 = 0 ;
14886 PyObject * obj5 = 0 ;
14887 char *kwnames[] = {
14888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14889 };
14890
14891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14893 if (obj2) {
14894 {
14895 arg3 = &temp3;
14896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14897 }
14898 }
14899 if (obj3) {
14900 {
14901 arg4 = &temp4;
14902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14903 }
14904 }
14905 if (obj5) {
14906 {
14907 arg6 = wxString_in_helper(obj5);
14908 if (arg6 == NULL) SWIG_fail;
14909 temp6 = True;
14910 }
14911 }
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 {
14920 resultobj = wxPyMake_wxObject(result);
14921 }
14922 {
14923 if (temp6)
14924 delete arg6;
14925 }
14926 return resultobj;
14927 fail:
14928 {
14929 if (temp6)
14930 delete arg6;
14931 }
14932 return NULL;
14933 }
14934
14935
14936 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxToolBar *result;
14939 char *kwnames[] = {
14940 NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (wxToolBar *)new wxToolBar();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 {
14952 resultobj = wxPyMake_wxObject(result);
14953 }
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxToolBar *arg1 = (wxToolBar *) 0 ;
14963 wxWindow *arg2 = (wxWindow *) 0 ;
14964 int arg3 ;
14965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14967 wxSize const &arg5_defvalue = wxDefaultSize ;
14968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14969 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14970 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14971 wxString *arg7 = (wxString *) &arg7_defvalue ;
14972 bool result;
14973 wxPoint temp4 ;
14974 wxSize temp5 ;
14975 bool temp7 = False ;
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 PyObject * obj3 = 0 ;
14979 PyObject * obj4 = 0 ;
14980 PyObject * obj6 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 if (obj3) {
14989 {
14990 arg4 = &temp4;
14991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14992 }
14993 }
14994 if (obj4) {
14995 {
14996 arg5 = &temp5;
14997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14998 }
14999 }
15000 if (obj6) {
15001 {
15002 arg7 = wxString_in_helper(obj6);
15003 if (arg7 == NULL) SWIG_fail;
15004 temp7 = True;
15005 }
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = PyInt_FromLong((long)result);
15015 {
15016 if (temp7)
15017 delete arg7;
15018 }
15019 return resultobj;
15020 fail:
15021 {
15022 if (temp7)
15023 delete arg7;
15024 }
15025 return NULL;
15026 }
15027
15028
15029 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxToolBar *arg1 = (wxToolBar *) 0 ;
15032 int arg2 ;
15033 int arg3 ;
15034 wxToolBarToolBase *result;
15035 PyObject * obj0 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self",(char *) "x",(char *) "y", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = wxPyMake_wxObject(result);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15059 PyObject *obj;
15060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15062 Py_INCREF(obj);
15063 return Py_BuildValue((char *)"");
15064 }
15065 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxColour const &arg1_defvalue = wxNullColour ;
15068 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15069 wxColour const &arg2_defvalue = wxNullColour ;
15070 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15071 wxFont const &arg3_defvalue = wxNullFont ;
15072 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15073 wxListItemAttr *result;
15074 wxColour temp1 ;
15075 wxColour temp2 ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 PyObject * obj2 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15084 if (obj0) {
15085 {
15086 arg1 = &temp1;
15087 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15088 }
15089 }
15090 if (obj1) {
15091 {
15092 arg2 = &temp2;
15093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15094 }
15095 }
15096 if (obj2) {
15097 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 if (arg3 == NULL) {
15099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15100 }
15101 }
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15119 wxColour *arg2 = 0 ;
15120 wxColour temp2 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "colText", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 arg2 = &temp2;
15131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15132 }
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->SetTextColour((wxColour const &)*arg2);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15150 wxColour *arg2 = 0 ;
15151 wxColour temp2 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "colBack", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15160 {
15161 arg2 = &temp2;
15162 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15163 }
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 Py_INCREF(Py_None); resultobj = Py_None;
15172 return resultobj;
15173 fail:
15174 return NULL;
15175 }
15176
15177
15178 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15181 wxFont *arg2 = 0 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self",(char *) "font", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15191 if (arg2 == NULL) {
15192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetFont((wxFont const &)*arg2);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15211 bool result;
15212 PyObject * obj0 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = (bool)(arg1)->HasTextColour();
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 resultobj = PyInt_FromLong((long)result);
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15236 bool result;
15237 PyObject * obj0 = 0 ;
15238 char *kwnames[] = {
15239 (char *) "self", NULL
15240 };
15241
15242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (bool)(arg1)->HasBackgroundColour();
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
15251 resultobj = PyInt_FromLong((long)result);
15252 return resultobj;
15253 fail:
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15261 bool result;
15262 PyObject * obj0 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (bool)(arg1)->HasFont();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = PyInt_FromLong((long)result);
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15286 wxColour result;
15287 PyObject * obj0 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 result = (arg1)->GetTextColour();
15297
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 {
15302 wxColour * resultptr;
15303 resultptr = new wxColour((wxColour &) result);
15304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15305 }
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15315 wxColour result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (arg1)->GetBackgroundColour();
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 {
15331 wxColour * resultptr;
15332 resultptr = new wxColour((wxColour &) result);
15333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15344 wxFont result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (arg1)->GetFont();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 {
15360 wxFont * resultptr;
15361 resultptr = new wxFont((wxFont &) result);
15362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15363 }
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 wxListItemAttr_Destroy(arg1);
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 Py_INCREF(Py_None); resultobj = Py_None;
15388 return resultobj;
15389 fail:
15390 return NULL;
15391 }
15392
15393
15394 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15395 PyObject *obj;
15396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15398 Py_INCREF(obj);
15399 return Py_BuildValue((char *)"");
15400 }
15401 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxListItem *result;
15404 char *kwnames[] = {
15405 NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 result = (wxListItem *)new wxListItem();
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 {
15417 resultobj = wxPyMake_wxObject(result);
15418 }
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxListItem *arg1 = (wxListItem *) 0 ;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 delete arg1;
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxListItem *arg1 = (wxListItem *) 0 ;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 (arg1)->Clear();
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 Py_INCREF(Py_None); resultobj = Py_None;
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxListItem *arg1 = (wxListItem *) 0 ;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 (arg1)->ClearAttributes();
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 Py_INCREF(Py_None); resultobj = Py_None;
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj;
15499 wxListItem *arg1 = (wxListItem *) 0 ;
15500 long arg2 ;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "mask", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetMask(arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxListItem *arg1 = (wxListItem *) 0 ;
15525 long arg2 ;
15526 PyObject * obj0 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "id", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->SetId(arg2);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxListItem *arg1 = (wxListItem *) 0 ;
15550 int arg2 ;
15551 PyObject * obj0 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "col", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->SetColumn(arg2);
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 Py_INCREF(Py_None); resultobj = Py_None;
15566 return resultobj;
15567 fail:
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxListItem *arg1 = (wxListItem *) 0 ;
15575 long arg2 ;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self",(char *) "state", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->SetState(arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxListItem *arg1 = (wxListItem *) 0 ;
15600 long arg2 ;
15601 PyObject * obj0 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self",(char *) "stateMask", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->SetStateMask(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619 }
15620
15621
15622 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxListItem *arg1 = (wxListItem *) 0 ;
15625 wxString *arg2 = 0 ;
15626 bool temp2 = False ;
15627 PyObject * obj0 = 0 ;
15628 PyObject * obj1 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self",(char *) "text", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15635 {
15636 arg2 = wxString_in_helper(obj1);
15637 if (arg2 == NULL) SWIG_fail;
15638 temp2 = True;
15639 }
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 (arg1)->SetText((wxString const &)*arg2);
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 Py_INCREF(Py_None); resultobj = Py_None;
15648 {
15649 if (temp2)
15650 delete arg2;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp2)
15656 delete arg2;
15657 }
15658 return NULL;
15659 }
15660
15661
15662 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxListItem *arg1 = (wxListItem *) 0 ;
15665 int arg2 ;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self",(char *) "image", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetImage(arg2);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 Py_INCREF(Py_None); resultobj = Py_None;
15681 return resultobj;
15682 fail:
15683 return NULL;
15684 }
15685
15686
15687 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxListItem *arg1 = (wxListItem *) 0 ;
15690 long arg2 ;
15691 PyObject * obj0 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self",(char *) "data", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetData(arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxListItem *arg1 = (wxListItem *) 0 ;
15715 int arg2 ;
15716 PyObject * obj0 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "width", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 (arg1)->SetWidth(arg2);
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 Py_INCREF(Py_None); resultobj = Py_None;
15731 return resultobj;
15732 fail:
15733 return NULL;
15734 }
15735
15736
15737 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxListItem *arg1 = (wxListItem *) 0 ;
15740 int arg2 ;
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "align", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->SetAlign((wxListColumnFormat )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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxListItem *arg1 = (wxListItem *) 0 ;
15765 wxColour *arg2 = 0 ;
15766 wxColour temp2 ;
15767 PyObject * obj0 = 0 ;
15768 PyObject * obj1 = 0 ;
15769 char *kwnames[] = {
15770 (char *) "self",(char *) "colText", NULL
15771 };
15772
15773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15775 {
15776 arg2 = &temp2;
15777 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15778 }
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->SetTextColour((wxColour const &)*arg2);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 Py_INCREF(Py_None); resultobj = Py_None;
15787 return resultobj;
15788 fail:
15789 return NULL;
15790 }
15791
15792
15793 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxListItem *arg1 = (wxListItem *) 0 ;
15796 wxColour *arg2 = 0 ;
15797 wxColour temp2 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "colBack", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 arg2 = &temp2;
15808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15809 }
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 Py_INCREF(Py_None); resultobj = Py_None;
15818 return resultobj;
15819 fail:
15820 return NULL;
15821 }
15822
15823
15824 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxListItem *arg1 = (wxListItem *) 0 ;
15827 wxFont *arg2 = 0 ;
15828 PyObject * obj0 = 0 ;
15829 PyObject * obj1 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "font", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 if (arg2 == NULL) {
15838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15839 }
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->SetFont((wxFont const &)*arg2);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxListItem *arg1 = (wxListItem *) 0 ;
15857 long result;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 result = (long)(arg1)->GetMask();
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 resultobj = PyInt_FromLong((long)result);
15873 return resultobj;
15874 fail:
15875 return NULL;
15876 }
15877
15878
15879 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxListItem *arg1 = (wxListItem *) 0 ;
15882 long result;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (long)(arg1)->GetId();
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 resultobj = PyInt_FromLong((long)result);
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxListItem *arg1 = (wxListItem *) 0 ;
15907 int result;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 result = (int)(arg1)->GetColumn();
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 resultobj = PyInt_FromLong((long)result);
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxListItem *arg1 = (wxListItem *) 0 ;
15932 long result;
15933 PyObject * obj0 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = (long)(arg1)->GetState();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = PyInt_FromLong((long)result);
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxListItem *arg1 = (wxListItem *) 0 ;
15957 wxString *result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 {
15968 wxString const &_result_ref = (arg1)->GetText();
15969 result = (wxString *) &_result_ref;
15970 }
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 {
15976 #if wxUSE_UNICODE
15977 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15978 #else
15979 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15980 #endif
15981 }
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxListItem *arg1 = (wxListItem *) 0 ;
15991 int result;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (int)(arg1)->GetImage();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = PyInt_FromLong((long)result);
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxListItem *arg1 = (wxListItem *) 0 ;
16016 long result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (long)(arg1)->GetData();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 resultobj = PyInt_FromLong((long)result);
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxListItem *arg1 = (wxListItem *) 0 ;
16041 int result;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 result = (int)(arg1)->GetWidth();
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 resultobj = PyInt_FromLong((long)result);
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxListItem *arg1 = (wxListItem *) 0 ;
16066 int result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 result = (int)(arg1)->GetAlign();
16077
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 resultobj = PyInt_FromLong((long)result);
16082 return resultobj;
16083 fail:
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxListItem *arg1 = (wxListItem *) 0 ;
16091 wxListItemAttr *result;
16092 PyObject * obj0 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (wxListItemAttr *)(arg1)->GetAttributes();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxListItem *arg1 = (wxListItem *) 0 ;
16116 bool result;
16117 PyObject * obj0 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = (bool)(arg1)->HasAttributes();
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 resultobj = PyInt_FromLong((long)result);
16132 return resultobj;
16133 fail:
16134 return NULL;
16135 }
16136
16137
16138 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxListItem *arg1 = (wxListItem *) 0 ;
16141 wxColour result;
16142 PyObject * obj0 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = ((wxListItem const *)arg1)->GetTextColour();
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 {
16157 wxColour * resultptr;
16158 resultptr = new wxColour((wxColour &) result);
16159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16160 }
16161 return resultobj;
16162 fail:
16163 return NULL;
16164 }
16165
16166
16167 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16168 PyObject *resultobj;
16169 wxListItem *arg1 = (wxListItem *) 0 ;
16170 wxColour result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186 wxColour * resultptr;
16187 resultptr = new wxColour((wxColour &) result);
16188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxListItem *arg1 = (wxListItem *) 0 ;
16199 wxFont result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 result = ((wxListItem const *)arg1)->GetFont();
16210
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 {
16215 wxFont * resultptr;
16216 resultptr = new wxFont((wxFont &) result);
16217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16218 }
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxListItem *arg1 = (wxListItem *) 0 ;
16228 long arg2 ;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "m_mask", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16236 if (arg1) (arg1)->m_mask = arg2;
16237
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxListItem *arg1 = (wxListItem *) 0 ;
16248 long result;
16249 PyObject * obj0 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 result = (long) ((arg1)->m_mask);
16257
16258 resultobj = PyInt_FromLong((long)result);
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxListItem *arg1 = (wxListItem *) 0 ;
16268 long arg2 ;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self",(char *) "m_itemId", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16276 if (arg1) (arg1)->m_itemId = arg2;
16277
16278 Py_INCREF(Py_None); resultobj = Py_None;
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxListItem *arg1 = (wxListItem *) 0 ;
16288 long result;
16289 PyObject * obj0 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16296 result = (long) ((arg1)->m_itemId);
16297
16298 resultobj = PyInt_FromLong((long)result);
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxListItem *arg1 = (wxListItem *) 0 ;
16308 int arg2 ;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self",(char *) "m_col", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16316 if (arg1) (arg1)->m_col = arg2;
16317
16318 Py_INCREF(Py_None); resultobj = Py_None;
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxListItem *arg1 = (wxListItem *) 0 ;
16328 int result;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16336 result = (int) ((arg1)->m_col);
16337
16338 resultobj = PyInt_FromLong((long)result);
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxListItem *arg1 = (wxListItem *) 0 ;
16348 long arg2 ;
16349 PyObject * obj0 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "m_state", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 if (arg1) (arg1)->m_state = arg2;
16357
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxListItem *arg1 = (wxListItem *) 0 ;
16368 long result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 result = (long) ((arg1)->m_state);
16377
16378 resultobj = PyInt_FromLong((long)result);
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxListItem *arg1 = (wxListItem *) 0 ;
16388 long arg2 ;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "m_stateMask", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16396 if (arg1) (arg1)->m_stateMask = arg2;
16397
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxListItem *arg1 = (wxListItem *) 0 ;
16408 long result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 result = (long) ((arg1)->m_stateMask);
16417
16418 resultobj = PyInt_FromLong((long)result);
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxListItem *arg1 = (wxListItem *) 0 ;
16428 wxString arg2 ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self",(char *) "m_text", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16437 {
16438 wxString* sptr = wxString_in_helper(obj1);
16439 if (sptr == NULL) SWIG_fail;
16440 arg2 = *sptr;
16441 delete sptr;
16442 }
16443 if (arg1) (arg1)->m_text = arg2;
16444
16445 Py_INCREF(Py_None); resultobj = Py_None;
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 wxListItem *arg1 = (wxListItem *) 0 ;
16455 wxString result;
16456 PyObject * obj0 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16463 result = ((arg1)->m_text);
16464
16465 {
16466 #if wxUSE_UNICODE
16467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16468 #else
16469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16470 #endif
16471 }
16472 return resultobj;
16473 fail:
16474 return NULL;
16475 }
16476
16477
16478 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16479 PyObject *resultobj;
16480 wxListItem *arg1 = (wxListItem *) 0 ;
16481 int arg2 ;
16482 PyObject * obj0 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "self",(char *) "m_image", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16489 if (arg1) (arg1)->m_image = arg2;
16490
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxListItem *arg1 = (wxListItem *) 0 ;
16501 int result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 result = (int) ((arg1)->m_image);
16510
16511 resultobj = PyInt_FromLong((long)result);
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxListItem *arg1 = (wxListItem *) 0 ;
16521 long arg2 ;
16522 PyObject * obj0 = 0 ;
16523 char *kwnames[] = {
16524 (char *) "self",(char *) "m_data", NULL
16525 };
16526
16527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16529 if (arg1) (arg1)->m_data = arg2;
16530
16531 Py_INCREF(Py_None); resultobj = Py_None;
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxListItem *arg1 = (wxListItem *) 0 ;
16541 long result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 result = (long) ((arg1)->m_data);
16550
16551 resultobj = PyInt_FromLong((long)result);
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxListItem *arg1 = (wxListItem *) 0 ;
16561 int arg2 ;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "m_format", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16569 if (arg1) (arg1)->m_format = arg2;
16570
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxListItem *arg1 = (wxListItem *) 0 ;
16581 int result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 result = (int) ((arg1)->m_format);
16590
16591 resultobj = PyInt_FromLong((long)result);
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxListItem *arg1 = (wxListItem *) 0 ;
16601 int arg2 ;
16602 PyObject * obj0 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "m_width", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 if (arg1) (arg1)->m_width = arg2;
16610
16611 Py_INCREF(Py_None); resultobj = Py_None;
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxListItem *arg1 = (wxListItem *) 0 ;
16621 int result;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16629 result = (int) ((arg1)->m_width);
16630
16631 resultobj = PyInt_FromLong((long)result);
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16639 PyObject *obj;
16640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16641 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16642 Py_INCREF(obj);
16643 return Py_BuildValue((char *)"");
16644 }
16645 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16648 int arg2 = (int) 0 ;
16649 wxListEvent *result;
16650 char *kwnames[] = {
16651 (char *) "commandType",(char *) "id", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16663 return resultobj;
16664 fail:
16665 return NULL;
16666 }
16667
16668
16669 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxListEvent *arg1 = (wxListEvent *) 0 ;
16672 int arg2 ;
16673 PyObject * obj0 = 0 ;
16674 char *kwnames[] = {
16675 (char *) "self",(char *) "m_code", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16680 if (arg1) (arg1)->m_code = arg2;
16681
16682 Py_INCREF(Py_None); resultobj = Py_None;
16683 return resultobj;
16684 fail:
16685 return NULL;
16686 }
16687
16688
16689 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxListEvent *arg1 = (wxListEvent *) 0 ;
16692 int result;
16693 PyObject * obj0 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16700 result = (int) ((arg1)->m_code);
16701
16702 resultobj = PyInt_FromLong((long)result);
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxListEvent *arg1 = (wxListEvent *) 0 ;
16712 long arg2 ;
16713 PyObject * obj0 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "m_oldItemIndex", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16720 if (arg1) (arg1)->m_oldItemIndex = arg2;
16721
16722 Py_INCREF(Py_None); resultobj = Py_None;
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxListEvent *arg1 = (wxListEvent *) 0 ;
16732 long result;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16740 result = (long) ((arg1)->m_oldItemIndex);
16741
16742 resultobj = PyInt_FromLong((long)result);
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxListEvent *arg1 = (wxListEvent *) 0 ;
16752 long arg2 ;
16753 PyObject * obj0 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self",(char *) "m_itemIndex", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16760 if (arg1) (arg1)->m_itemIndex = arg2;
16761
16762 Py_INCREF(Py_None); resultobj = Py_None;
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxListEvent *arg1 = (wxListEvent *) 0 ;
16772 long result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 result = (long) ((arg1)->m_itemIndex);
16781
16782 resultobj = PyInt_FromLong((long)result);
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxListEvent *arg1 = (wxListEvent *) 0 ;
16792 int arg2 ;
16793 PyObject * obj0 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "self",(char *) "m_col", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16800 if (arg1) (arg1)->m_col = arg2;
16801
16802 Py_INCREF(Py_None); resultobj = Py_None;
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxListEvent *arg1 = (wxListEvent *) 0 ;
16812 int result;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 result = (int) ((arg1)->m_col);
16821
16822 resultobj = PyInt_FromLong((long)result);
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxListEvent *arg1 = (wxListEvent *) 0 ;
16832 wxPoint *arg2 = (wxPoint *) 0 ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "m_pointDrag", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 if (arg1) (arg1)->m_pointDrag = *arg2;
16843
16844 Py_INCREF(Py_None); resultobj = Py_None;
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxListEvent *arg1 = (wxListEvent *) 0 ;
16854 wxPoint *result;
16855 PyObject * obj0 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 result = (wxPoint *)& ((arg1)->m_pointDrag);
16863
16864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxListEvent *arg1 = (wxListEvent *) 0 ;
16874 wxListItem *result;
16875 PyObject * obj0 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16882 result = (wxListItem *)& ((arg1)->m_item);
16883
16884 {
16885 resultobj = wxPyMake_wxObject(result);
16886 }
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj;
16895 wxListEvent *arg1 = (wxListEvent *) 0 ;
16896 int result;
16897 PyObject * obj0 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "self", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 result = (int)(arg1)->GetKeyCode();
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 resultobj = PyInt_FromLong((long)result);
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxListEvent *arg1 = (wxListEvent *) 0 ;
16921 long result;
16922 PyObject * obj0 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 result = (long)(arg1)->GetIndex();
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 resultobj = PyInt_FromLong((long)result);
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxListEvent *arg1 = (wxListEvent *) 0 ;
16946 int result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (int)(arg1)->GetColumn();
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = PyInt_FromLong((long)result);
16962 return resultobj;
16963 fail:
16964 return NULL;
16965 }
16966
16967
16968 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxListEvent *arg1 = (wxListEvent *) 0 ;
16971 wxPoint result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = (arg1)->GetPoint();
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 wxPoint * resultptr;
16988 resultptr = new wxPoint((wxPoint &) result);
16989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16990 }
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxListEvent *arg1 = (wxListEvent *) 0 ;
17000 wxString *result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 {
17011 wxString const &_result_ref = (arg1)->GetLabel();
17012 result = (wxString *) &_result_ref;
17013 }
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 #if wxUSE_UNICODE
17020 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17021 #else
17022 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17023 #endif
17024 }
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj;
17033 wxListEvent *arg1 = (wxListEvent *) 0 ;
17034 wxString *result;
17035 PyObject * obj0 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 {
17045 wxString const &_result_ref = (arg1)->GetText();
17046 result = (wxString *) &_result_ref;
17047 }
17048
17049 wxPyEndAllowThreads(__tstate);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 {
17053 #if wxUSE_UNICODE
17054 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17055 #else
17056 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17057 #endif
17058 }
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 wxListEvent *arg1 = (wxListEvent *) 0 ;
17068 int result;
17069 PyObject * obj0 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (int)(arg1)->GetImage();
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = PyInt_FromLong((long)result);
17084 return resultobj;
17085 fail:
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 wxListEvent *arg1 = (wxListEvent *) 0 ;
17093 long result;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 result = (long)(arg1)->GetData();
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 resultobj = PyInt_FromLong((long)result);
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxListEvent *arg1 = (wxListEvent *) 0 ;
17118 long result;
17119 PyObject * obj0 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (long)(arg1)->GetMask();
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 resultobj = PyInt_FromLong((long)result);
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxListEvent *arg1 = (wxListEvent *) 0 ;
17143 wxListItem *result;
17144 PyObject * obj0 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 {
17154 wxListItem const &_result_ref = (arg1)->GetItem();
17155 result = (wxListItem *) &_result_ref;
17156 }
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxListEvent *arg1 = (wxListEvent *) 0 ;
17171 long result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (long)(arg1)->GetCacheFrom();
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 resultobj = PyInt_FromLong((long)result);
17187 return resultobj;
17188 fail:
17189 return NULL;
17190 }
17191
17192
17193 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxListEvent *arg1 = (wxListEvent *) 0 ;
17196 long result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (long)(arg1)->GetCacheTo();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 resultobj = PyInt_FromLong((long)result);
17212 return resultobj;
17213 fail:
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxListEvent *arg1 = (wxListEvent *) 0 ;
17221 bool result;
17222 PyObject * obj0 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 resultobj = PyInt_FromLong((long)result);
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxListEvent *arg1 = (wxListEvent *) 0 ;
17246 bool arg2 ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char *kwnames[] = {
17250 (char *) "self",(char *) "editCancelled", NULL
17251 };
17252
17253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17255 arg2 = PyInt_AsLong(obj1) ? true : false;
17256 if (PyErr_Occurred()) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 (arg1)->SetEditCanceled(arg2);
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 Py_INCREF(Py_None); resultobj = Py_None;
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17272 PyObject *obj;
17273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17275 Py_INCREF(obj);
17276 return Py_BuildValue((char *)"");
17277 }
17278 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxWindow *arg1 = (wxWindow *) 0 ;
17281 int arg2 = (int) -1 ;
17282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17284 wxSize const &arg4_defvalue = wxDefaultSize ;
17285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17286 long arg5 = (long) wxLC_ICON ;
17287 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17288 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17289 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17290 wxString *arg7 = (wxString *) &arg7_defvalue ;
17291 wxPyListCtrl *result;
17292 wxPoint temp3 ;
17293 wxSize temp4 ;
17294 bool temp7 = False ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj2 = 0 ;
17297 PyObject * obj3 = 0 ;
17298 PyObject * obj5 = 0 ;
17299 PyObject * obj6 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17306 if (obj2) {
17307 {
17308 arg3 = &temp3;
17309 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17310 }
17311 }
17312 if (obj3) {
17313 {
17314 arg4 = &temp4;
17315 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17316 }
17317 }
17318 if (obj5) {
17319 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17320 if (arg6 == NULL) {
17321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17322 }
17323 }
17324 if (obj6) {
17325 {
17326 arg7 = wxString_in_helper(obj6);
17327 if (arg7 == NULL) SWIG_fail;
17328 temp7 = True;
17329 }
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17339 {
17340 if (temp7)
17341 delete arg7;
17342 }
17343 return resultobj;
17344 fail:
17345 {
17346 if (temp7)
17347 delete arg7;
17348 }
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxPyListCtrl *result;
17356 char *kwnames[] = {
17357 NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17361 {
17362 PyThreadState* __tstate = wxPyBeginAllowThreads();
17363 result = (wxPyListCtrl *)new wxPyListCtrl();
17364
17365 wxPyEndAllowThreads(__tstate);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17369 return resultobj;
17370 fail:
17371 return NULL;
17372 }
17373
17374
17375 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj;
17377 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17378 wxWindow *arg2 = (wxWindow *) 0 ;
17379 int arg3 = (int) -1 ;
17380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17382 wxSize const &arg5_defvalue = wxDefaultSize ;
17383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17384 long arg6 = (long) wxLC_ICON ;
17385 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17386 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17387 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17388 wxString *arg8 = (wxString *) &arg8_defvalue ;
17389 bool result;
17390 wxPoint temp4 ;
17391 wxSize temp5 ;
17392 bool temp8 = False ;
17393 PyObject * obj0 = 0 ;
17394 PyObject * obj1 = 0 ;
17395 PyObject * obj3 = 0 ;
17396 PyObject * obj4 = 0 ;
17397 PyObject * obj6 = 0 ;
17398 PyObject * obj7 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 if (obj3) {
17407 {
17408 arg4 = &temp4;
17409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17410 }
17411 }
17412 if (obj4) {
17413 {
17414 arg5 = &temp5;
17415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17416 }
17417 }
17418 if (obj6) {
17419 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17420 if (arg7 == NULL) {
17421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17422 }
17423 }
17424 if (obj7) {
17425 {
17426 arg8 = wxString_in_helper(obj7);
17427 if (arg8 == NULL) SWIG_fail;
17428 temp8 = True;
17429 }
17430 }
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 resultobj = PyInt_FromLong((long)result);
17439 {
17440 if (temp8)
17441 delete arg8;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (temp8)
17447 delete arg8;
17448 }
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17456 PyObject *arg2 = (PyObject *) 0 ;
17457 PyObject *arg3 = (PyObject *) 0 ;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 PyObject * obj2 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "self",(char *) "_class", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 arg2 = obj1;
17468 arg3 = obj2;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->_setCallbackInfo(arg2,arg3);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17486 wxColour *arg2 = 0 ;
17487 bool result;
17488 wxColour temp2 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "col", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 {
17498 arg2 = &temp2;
17499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
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_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17518 wxColour *arg2 = 0 ;
17519 bool result;
17520 wxColour temp2 ;
17521 PyObject * obj0 = 0 ;
17522 PyObject * obj1 = 0 ;
17523 char *kwnames[] = {
17524 (char *) "self",(char *) "col", NULL
17525 };
17526
17527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17529 {
17530 arg2 = &temp2;
17531 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17532 }
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = PyInt_FromLong((long)result);
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17550 int arg2 ;
17551 wxListItem *result;
17552 PyObject * obj0 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self",(char *) "col", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 {
17567 resultobj = wxPyMake_wxObject(result);
17568 }
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17578 int arg2 ;
17579 wxListItem *arg3 = 0 ;
17580 bool result;
17581 PyObject * obj0 = 0 ;
17582 PyObject * obj2 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self",(char *) "col",(char *) "item", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 if (arg3 == NULL) {
17591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17592 }
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = PyInt_FromLong((long)result);
17601 return resultobj;
17602 fail:
17603 return NULL;
17604 }
17605
17606
17607 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17610 int arg2 ;
17611 int result;
17612 PyObject * obj0 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self",(char *) "col", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = PyInt_FromLong((long)result);
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17636 int arg2 ;
17637 int arg3 ;
17638 bool result;
17639 PyObject * obj0 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self",(char *) "col",(char *) "width", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 resultobj = PyInt_FromLong((long)result);
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17663 int result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 resultobj = PyInt_FromLong((long)result);
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17688 wxRect result;
17689 PyObject * obj0 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 {
17704 wxRect * resultptr;
17705 resultptr = new wxRect((wxRect &) result);
17706 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17707 }
17708 return resultobj;
17709 fail:
17710 return NULL;
17711 }
17712
17713
17714 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17715 PyObject *resultobj;
17716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17717 long arg2 ;
17718 int arg3 = (int) 0 ;
17719 wxListItem *result;
17720 PyObject * obj0 = 0 ;
17721 char *kwnames[] = {
17722 (char *) "self",(char *) "itemId",(char *) "col", NULL
17723 };
17724
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 {
17735 resultobj = wxPyMake_wxObject(result);
17736 }
17737 return resultobj;
17738 fail:
17739 return NULL;
17740 }
17741
17742
17743 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17744 PyObject *resultobj;
17745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17746 wxListItem *arg2 = 0 ;
17747 bool result;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "info", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 if (arg2 == NULL) {
17758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17759 }
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (bool)(arg1)->SetItem(*arg2);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 resultobj = PyInt_FromLong((long)result);
17768 return resultobj;
17769 fail:
17770 return NULL;
17771 }
17772
17773
17774 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17777 long arg2 ;
17778 int arg3 ;
17779 wxString *arg4 = 0 ;
17780 int arg5 = (int) -1 ;
17781 long result;
17782 bool temp4 = False ;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj3 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 {
17792 arg4 = wxString_in_helper(obj3);
17793 if (arg4 == NULL) SWIG_fail;
17794 temp4 = True;
17795 }
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = PyInt_FromLong((long)result);
17804 {
17805 if (temp4)
17806 delete arg4;
17807 }
17808 return resultobj;
17809 fail:
17810 {
17811 if (temp4)
17812 delete arg4;
17813 }
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17821 long arg2 ;
17822 long arg3 ;
17823 int result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = PyInt_FromLong((long)result);
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj;
17847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17848 long arg2 ;
17849 long arg3 ;
17850 long arg4 ;
17851 bool result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = PyInt_FromLong((long)result);
17867 return resultobj;
17868 fail:
17869 return NULL;
17870 }
17871
17872
17873 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj;
17875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17876 long arg2 ;
17877 int arg3 ;
17878 int arg4 ;
17879 bool result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = PyInt_FromLong((long)result);
17895 return resultobj;
17896 fail:
17897 return NULL;
17898 }
17899
17900
17901 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17904 long arg2 ;
17905 wxString result;
17906 PyObject * obj0 = 0 ;
17907 char *kwnames[] = {
17908 (char *) "self",(char *) "item", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 {
17921 #if wxUSE_UNICODE
17922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17923 #else
17924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17925 #endif
17926 }
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17936 long arg2 ;
17937 wxString *arg3 = 0 ;
17938 bool temp3 = False ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj2 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "item",(char *) "str", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 {
17948 arg3 = wxString_in_helper(obj2);
17949 if (arg3 == NULL) SWIG_fail;
17950 temp3 = True;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 {
17961 if (temp3)
17962 delete arg3;
17963 }
17964 return resultobj;
17965 fail:
17966 {
17967 if (temp3)
17968 delete arg3;
17969 }
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17977 long arg2 ;
17978 long result;
17979 PyObject * obj0 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self",(char *) "item", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 resultobj = PyInt_FromLong((long)result);
17994 return resultobj;
17995 fail:
17996 return NULL;
17997 }
17998
17999
18000 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18001 PyObject *resultobj;
18002 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18003 long arg2 ;
18004 long arg3 ;
18005 bool result;
18006 PyObject * obj0 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "item",(char *) "data", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 result = (bool)(arg1)->SetItemData(arg2,arg3);
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 resultobj = PyInt_FromLong((long)result);
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18030 long arg2 ;
18031 wxPoint result;
18032 PyObject * obj0 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self",(char *) "item", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 {
18047 wxPoint * resultptr;
18048 resultptr = new wxPoint((wxPoint &) result);
18049 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18050 }
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18060 long arg2 ;
18061 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18062 wxRect result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "item",(char *) "code", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 wxRect * resultptr;
18079 resultptr = new wxRect((wxRect &) result);
18080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18081 }
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18091 long arg2 ;
18092 wxPoint *arg3 = 0 ;
18093 bool result;
18094 wxPoint temp3 ;
18095 PyObject * obj0 = 0 ;
18096 PyObject * obj2 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "self",(char *) "item",(char *) "pos", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18103 {
18104 arg3 = &temp3;
18105 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18106 }
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 resultobj = PyInt_FromLong((long)result);
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18124 int result;
18125 PyObject * obj0 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = PyInt_FromLong((long)result);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18149 int result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = PyInt_FromLong((long)result);
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18174 wxSize result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 wxSize * resultptr;
18191 resultptr = new wxSize((wxSize &) result);
18192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18203 int arg2 ;
18204 bool arg3 = (bool) False ;
18205 PyObject * obj0 = 0 ;
18206 PyObject * obj2 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18213 if (obj2) {
18214 arg3 = PyInt_AsLong(obj2) ? true : false;
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 (arg1)->SetItemSpacing(arg2,arg3);
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 Py_INCREF(Py_None); resultobj = Py_None;
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18234 int result;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 resultobj = PyInt_FromLong((long)result);
18250 return resultobj;
18251 fail:
18252 return NULL;
18253 }
18254
18255
18256 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18259 wxColour result;
18260 PyObject * obj0 = 0 ;
18261 char *kwnames[] = {
18262 (char *) "self", NULL
18263 };
18264
18265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 {
18275 wxColour * resultptr;
18276 resultptr = new wxColour((wxColour &) result);
18277 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18278 }
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18288 wxColour *arg2 = 0 ;
18289 wxColour temp2 ;
18290 PyObject * obj0 = 0 ;
18291 PyObject * obj1 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self",(char *) "col", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 {
18299 arg2 = &temp2;
18300 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18301 }
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 (arg1)->SetTextColour((wxColour const &)*arg2);
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 Py_INCREF(Py_None); resultobj = Py_None;
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18319 long result;
18320 PyObject * obj0 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = PyInt_FromLong((long)result);
18335 return resultobj;
18336 fail:
18337 return NULL;
18338 }
18339
18340
18341 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18344 long arg2 ;
18345 bool arg3 = (bool) True ;
18346 PyObject * obj0 = 0 ;
18347 PyObject * obj2 = 0 ;
18348 char *kwnames[] = {
18349 (char *) "self",(char *) "style",(char *) "add", NULL
18350 };
18351
18352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18354 if (obj2) {
18355 arg3 = PyInt_AsLong(obj2) ? true : false;
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->SetSingleStyle(arg2,arg3);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 Py_INCREF(Py_None); resultobj = Py_None;
18366 return resultobj;
18367 fail:
18368 return NULL;
18369 }
18370
18371
18372 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18375 long arg2 ;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self",(char *) "style", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 (arg1)->SetWindowStyleFlag(arg2);
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 Py_INCREF(Py_None); resultobj = Py_None;
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18400 long arg2 ;
18401 int arg3 = (int) wxLIST_NEXT_ALL ;
18402 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18403 long result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
18418 resultobj = PyInt_FromLong((long)result);
18419 return resultobj;
18420 fail:
18421 return NULL;
18422 }
18423
18424
18425 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18428 int arg2 ;
18429 wxImageList *result;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "which", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 resultobj = wxPyMake_wxObject(result);
18446 }
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18456 wxImageList *arg2 = (wxImageList *) 0 ;
18457 int arg3 ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "imageList",(char *) "which", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 (arg1)->SetImageList(arg2,arg3);
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 Py_INCREF(Py_None); resultobj = Py_None;
18475 return resultobj;
18476 fail:
18477 return NULL;
18478 }
18479
18480
18481 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18484 wxImageList *arg2 = (wxImageList *) 0 ;
18485 int arg3 ;
18486 PyObject * obj0 = 0 ;
18487 PyObject * obj1 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self",(char *) "imageList",(char *) "which", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 (arg1)->AssignImageList(arg2,arg3);
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 Py_INCREF(Py_None); resultobj = Py_None;
18503 return resultobj;
18504 fail:
18505 return NULL;
18506 }
18507
18508
18509 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18510 PyObject *resultobj;
18511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18512 bool result;
18513 PyObject * obj0 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 resultobj = PyInt_FromLong((long)result);
18528 return resultobj;
18529 fail:
18530 return NULL;
18531 }
18532
18533
18534 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18537 long arg2 ;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "item", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 (arg1)->RefreshItem(arg2);
18548
18549 wxPyEndAllowThreads(__tstate);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 }
18552 Py_INCREF(Py_None); resultobj = Py_None;
18553 return resultobj;
18554 fail:
18555 return NULL;
18556 }
18557
18558
18559 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18560 PyObject *resultobj;
18561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18562 long arg2 ;
18563 long arg3 ;
18564 PyObject * obj0 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->RefreshItems(arg2,arg3);
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 Py_INCREF(Py_None); resultobj = Py_None;
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18588 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18589 bool result;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "flag", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (bool)(arg1)->Arrange(arg2);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 resultobj = PyInt_FromLong((long)result);
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18614 long arg2 ;
18615 bool result;
18616 PyObject * obj0 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "item", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 result = (bool)(arg1)->DeleteItem(arg2);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 resultobj = PyInt_FromLong((long)result);
18631 return resultobj;
18632 fail:
18633 return NULL;
18634 }
18635
18636
18637 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18640 bool result;
18641 PyObject * obj0 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "self", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (bool)(arg1)->DeleteAllItems();
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 resultobj = PyInt_FromLong((long)result);
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18665 int arg2 ;
18666 bool result;
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self",(char *) "col", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (bool)(arg1)->DeleteColumn(arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = PyInt_FromLong((long)result);
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18691 bool result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 result = (bool)(arg1)->DeleteAllColumns();
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 resultobj = PyInt_FromLong((long)result);
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->ClearAll();
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18740 long arg2 ;
18741 PyObject * obj0 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "item", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->EditLabel(arg2);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 Py_INCREF(Py_None); resultobj = Py_None;
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18765 long arg2 ;
18766 bool result;
18767 PyObject * obj0 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self",(char *) "item", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (bool)(arg1)->EnsureVisible(arg2);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 resultobj = PyInt_FromLong((long)result);
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18791 long arg2 ;
18792 wxString *arg3 = 0 ;
18793 bool arg4 = (bool) False ;
18794 long result;
18795 bool temp3 = False ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj2 = 0 ;
18798 PyObject * obj3 = 0 ;
18799 char *kwnames[] = {
18800 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18801 };
18802
18803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18805 {
18806 arg3 = wxString_in_helper(obj2);
18807 if (arg3 == NULL) SWIG_fail;
18808 temp3 = True;
18809 }
18810 if (obj3) {
18811 arg4 = PyInt_AsLong(obj3) ? true : false;
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = PyInt_FromLong((long)result);
18822 {
18823 if (temp3)
18824 delete arg3;
18825 }
18826 return resultobj;
18827 fail:
18828 {
18829 if (temp3)
18830 delete arg3;
18831 }
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18839 long arg2 ;
18840 long arg3 ;
18841 long result;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self",(char *) "start",(char *) "data", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 result = (long)(arg1)->FindItem(arg2,arg3);
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 resultobj = PyInt_FromLong((long)result);
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj;
18865 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18866 long arg2 ;
18867 wxPoint *arg3 = 0 ;
18868 int arg4 ;
18869 long result;
18870 wxPoint temp3 ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj2 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18879 {
18880 arg3 = &temp3;
18881 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 resultobj = PyInt_FromLong((long)result);
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18900 wxPoint *arg2 = 0 ;
18901 int *arg3 = 0 ;
18902 long result;
18903 wxPoint temp2 ;
18904 int temp3 ;
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self",(char *) "point", NULL
18909 };
18910
18911 arg3 = &temp3;
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18914 {
18915 arg2 = &temp2;
18916 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18917 }
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 resultobj = PyInt_FromLong((long)result);
18926 {
18927 PyObject *o = PyInt_FromLong((long) (*arg3));
18928 resultobj = t_output_helper(resultobj,o);
18929 }
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18939 wxListItem *arg2 = 0 ;
18940 long result;
18941 PyObject * obj0 = 0 ;
18942 PyObject * obj1 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self",(char *) "info", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18950 if (arg2 == NULL) {
18951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18952 }
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (long)(arg1)->InsertItem(*arg2);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 resultobj = PyInt_FromLong((long)result);
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18970 long arg2 ;
18971 wxString *arg3 = 0 ;
18972 long result;
18973 bool temp3 = False ;
18974 PyObject * obj0 = 0 ;
18975 PyObject * obj2 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "index",(char *) "label", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18982 {
18983 arg3 = wxString_in_helper(obj2);
18984 if (arg3 == NULL) SWIG_fail;
18985 temp3 = True;
18986 }
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 resultobj = PyInt_FromLong((long)result);
18995 {
18996 if (temp3)
18997 delete arg3;
18998 }
18999 return resultobj;
19000 fail:
19001 {
19002 if (temp3)
19003 delete arg3;
19004 }
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19012 long arg2 ;
19013 int arg3 ;
19014 long result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = (long)(arg1)->InsertItem(arg2,arg3);
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = PyInt_FromLong((long)result);
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19039 long arg2 ;
19040 wxString *arg3 = 0 ;
19041 int arg4 ;
19042 long result;
19043 bool temp3 = False ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj2 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19052 {
19053 arg3 = wxString_in_helper(obj2);
19054 if (arg3 == NULL) SWIG_fail;
19055 temp3 = True;
19056 }
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 resultobj = PyInt_FromLong((long)result);
19065 {
19066 if (temp3)
19067 delete arg3;
19068 }
19069 return resultobj;
19070 fail:
19071 {
19072 if (temp3)
19073 delete arg3;
19074 }
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19082 long arg2 ;
19083 wxListItem *arg3 = 0 ;
19084 long result;
19085 PyObject * obj0 = 0 ;
19086 PyObject * obj2 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self",(char *) "col",(char *) "info", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19093 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19094 if (arg3 == NULL) {
19095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19096 }
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 resultobj = PyInt_FromLong((long)result);
19105 return resultobj;
19106 fail:
19107 return NULL;
19108 }
19109
19110
19111 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj;
19113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19114 long arg2 ;
19115 wxString *arg3 = 0 ;
19116 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19117 int arg5 = (int) -1 ;
19118 long result;
19119 bool temp3 = False ;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj2 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 arg3 = wxString_in_helper(obj2);
19130 if (arg3 == NULL) SWIG_fail;
19131 temp3 = True;
19132 }
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 resultobj = PyInt_FromLong((long)result);
19141 {
19142 if (temp3)
19143 delete arg3;
19144 }
19145 return resultobj;
19146 fail:
19147 {
19148 if (temp3)
19149 delete arg3;
19150 }
19151 return NULL;
19152 }
19153
19154
19155 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19158 long arg2 ;
19159 PyObject * obj0 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self",(char *) "count", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 (arg1)->SetItemCount(arg2);
19169
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 Py_INCREF(Py_None); resultobj = Py_None;
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19183 int arg2 ;
19184 int arg3 ;
19185 bool result;
19186 PyObject * obj0 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self",(char *) "dx",(char *) "dy", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (bool)(arg1)->ScrollList(arg2,arg3);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = PyInt_FromLong((long)result);
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19210 long arg2 ;
19211 wxColour *arg3 = 0 ;
19212 wxColour temp3 ;
19213 PyObject * obj0 = 0 ;
19214 PyObject * obj2 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "item",(char *) "col", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 {
19222 arg3 = &temp3;
19223 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19224 }
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 Py_INCREF(Py_None); resultobj = Py_None;
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19242 long arg2 ;
19243 wxColour result;
19244 PyObject * obj0 = 0 ;
19245 char *kwnames[] = {
19246 (char *) "self",(char *) "item", NULL
19247 };
19248
19249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxColour * resultptr;
19260 resultptr = new wxColour((wxColour &) result);
19261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19272 long arg2 ;
19273 wxColour *arg3 = 0 ;
19274 wxColour temp3 ;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj2 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "item",(char *) "col", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 {
19284 arg3 = &temp3;
19285 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19286 }
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 Py_INCREF(Py_None); resultobj = Py_None;
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19304 long arg2 ;
19305 wxColour result;
19306 PyObject * obj0 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self",(char *) "item", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 {
19321 wxColour * resultptr;
19322 resultptr = new wxColour((wxColour &) result);
19323 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19324 }
19325 return resultobj;
19326 fail:
19327 return NULL;
19328 }
19329
19330
19331 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19332 PyObject *resultobj;
19333 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19334 PyObject *arg2 = (PyObject *) 0 ;
19335 bool result;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self",(char *) "func", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19344 arg2 = obj1;
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 resultobj = PyInt_FromLong((long)result);
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19362 wxWindow *result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 {
19378 resultobj = wxPyMake_wxObject(result);
19379 }
19380 return resultobj;
19381 fail:
19382 return NULL;
19383 }
19384
19385
19386 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19387 PyObject *obj;
19388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19389 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19390 Py_INCREF(obj);
19391 return Py_BuildValue((char *)"");
19392 }
19393 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxWindow *arg1 = (wxWindow *) 0 ;
19396 int arg2 = (int) -1 ;
19397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19399 wxSize const &arg4_defvalue = wxDefaultSize ;
19400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19401 long arg5 = (long) wxLC_REPORT ;
19402 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19403 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19404 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19405 wxString *arg7 = (wxString *) &arg7_defvalue ;
19406 wxListView *result;
19407 wxPoint temp3 ;
19408 wxSize temp4 ;
19409 bool temp7 = False ;
19410 PyObject * obj0 = 0 ;
19411 PyObject * obj2 = 0 ;
19412 PyObject * obj3 = 0 ;
19413 PyObject * obj5 = 0 ;
19414 PyObject * obj6 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 if (obj2) {
19422 {
19423 arg3 = &temp3;
19424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19425 }
19426 }
19427 if (obj3) {
19428 {
19429 arg4 = &temp4;
19430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19431 }
19432 }
19433 if (obj5) {
19434 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 if (arg6 == NULL) {
19436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19437 }
19438 }
19439 if (obj6) {
19440 {
19441 arg7 = wxString_in_helper(obj6);
19442 if (arg7 == NULL) SWIG_fail;
19443 temp7 = True;
19444 }
19445 }
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19454 {
19455 if (temp7)
19456 delete arg7;
19457 }
19458 return resultobj;
19459 fail:
19460 {
19461 if (temp7)
19462 delete arg7;
19463 }
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxListView *result;
19471 char *kwnames[] = {
19472 NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 result = (wxListView *)new wxListView();
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19484 return resultobj;
19485 fail:
19486 return NULL;
19487 }
19488
19489
19490 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxListView *arg1 = (wxListView *) 0 ;
19493 wxWindow *arg2 = (wxWindow *) 0 ;
19494 int arg3 = (int) -1 ;
19495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19497 wxSize const &arg5_defvalue = wxDefaultSize ;
19498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19499 long arg6 = (long) wxLC_REPORT ;
19500 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19501 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19502 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19503 wxString *arg8 = (wxString *) &arg8_defvalue ;
19504 bool result;
19505 wxPoint temp4 ;
19506 wxSize temp5 ;
19507 bool temp8 = False ;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 PyObject * obj3 = 0 ;
19511 PyObject * obj4 = 0 ;
19512 PyObject * obj6 = 0 ;
19513 PyObject * obj7 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19521 if (obj3) {
19522 {
19523 arg4 = &temp4;
19524 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19525 }
19526 }
19527 if (obj4) {
19528 {
19529 arg5 = &temp5;
19530 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19531 }
19532 }
19533 if (obj6) {
19534 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19535 if (arg7 == NULL) {
19536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19537 }
19538 }
19539 if (obj7) {
19540 {
19541 arg8 = wxString_in_helper(obj7);
19542 if (arg8 == NULL) SWIG_fail;
19543 temp8 = True;
19544 }
19545 }
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 resultobj = PyInt_FromLong((long)result);
19554 {
19555 if (temp8)
19556 delete arg8;
19557 }
19558 return resultobj;
19559 fail:
19560 {
19561 if (temp8)
19562 delete arg8;
19563 }
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxListView *arg1 = (wxListView *) 0 ;
19571 long arg2 ;
19572 bool arg3 = (bool) True ;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj2 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self",(char *) "n",(char *) "on", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19581 if (obj2) {
19582 arg3 = PyInt_AsLong(obj2) ? true : false;
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 (arg1)->Select(arg2,arg3);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 Py_INCREF(Py_None); resultobj = Py_None;
19593 return resultobj;
19594 fail:
19595 return NULL;
19596 }
19597
19598
19599 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxListView *arg1 = (wxListView *) 0 ;
19602 long arg2 ;
19603 PyObject * obj0 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self",(char *) "index", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 (arg1)->Focus(arg2);
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 Py_INCREF(Py_None); resultobj = Py_None;
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxListView *arg1 = (wxListView *) 0 ;
19627 long result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 resultobj = PyInt_FromLong((long)result);
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxListView *arg1 = (wxListView *) 0 ;
19652 long arg2 ;
19653 long result;
19654 PyObject * obj0 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "item", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 resultobj = PyInt_FromLong((long)result);
19669 return resultobj;
19670 fail:
19671 return NULL;
19672 }
19673
19674
19675 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19676 PyObject *resultobj;
19677 wxListView *arg1 = (wxListView *) 0 ;
19678 long result;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 resultobj = PyInt_FromLong((long)result);
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxListView *arg1 = (wxListView *) 0 ;
19703 long arg2 ;
19704 bool result;
19705 PyObject * obj0 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self",(char *) "index", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (bool)(arg1)->IsSelected(arg2);
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = PyInt_FromLong((long)result);
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxListView *arg1 = (wxListView *) 0 ;
19729 int arg2 ;
19730 int arg3 ;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "col",(char *) "image", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 (arg1)->SetColumnImage(arg2,arg3);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 Py_INCREF(Py_None); resultobj = Py_None;
19746 return resultobj;
19747 fail:
19748 return NULL;
19749 }
19750
19751
19752 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxListView *arg1 = (wxListView *) 0 ;
19755 int arg2 ;
19756 PyObject * obj0 = 0 ;
19757 char *kwnames[] = {
19758 (char *) "self",(char *) "col", NULL
19759 };
19760
19761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 (arg1)->ClearColumnImage(arg2);
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 Py_INCREF(Py_None); resultobj = Py_None;
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19778 PyObject *obj;
19779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19780 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19781 Py_INCREF(obj);
19782 return Py_BuildValue((char *)"");
19783 }
19784 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxTreeItemId *result;
19787 char *kwnames[] = {
19788 NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (wxTreeItemId *)new wxTreeItemId();
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 delete arg1;
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 Py_INCREF(Py_None); resultobj = Py_None;
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19833 bool result;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 resultobj = PyInt_FromLong((long)result);
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19858 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19859 bool result;
19860 PyObject * obj0 = 0 ;
19861 PyObject * obj1 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self",(char *) "other", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = PyInt_FromLong((long)result);
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19886 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19887 bool result;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self",(char *) "other", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 resultobj = PyInt_FromLong((long)result);
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19914 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self",(char *) "m_pItem", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19924 if (arg1) (arg1)->m_pItem = arg2;
19925
19926 Py_INCREF(Py_None); resultobj = Py_None;
19927 return resultobj;
19928 fail:
19929 return NULL;
19930 }
19931
19932
19933 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19934 PyObject *resultobj;
19935 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19936 wxTreeItemIdValue result;
19937 PyObject * obj0 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19945
19946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19954 PyObject *obj;
19955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19956 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19957 Py_INCREF(obj);
19958 return Py_BuildValue((char *)"");
19959 }
19960 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 PyObject *arg1 = (PyObject *) NULL ;
19963 wxPyTreeItemData *result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "obj", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19970 if (obj0) {
19971 arg1 = obj0;
19972 }
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19990 PyObject *result;
19991 PyObject * obj0 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self", NULL
19994 };
19995
19996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (PyObject *)(arg1)->GetData();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = result;
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20015 PyObject *arg2 = (PyObject *) 0 ;
20016 PyObject * obj0 = 0 ;
20017 PyObject * obj1 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self",(char *) "obj", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20024 arg2 = obj1;
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 (arg1)->SetData(arg2);
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 Py_INCREF(Py_None); resultobj = Py_None;
20033 return resultobj;
20034 fail:
20035 return NULL;
20036 }
20037
20038
20039 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20040 PyObject *resultobj;
20041 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20042 wxTreeItemId *result;
20043 PyObject * obj0 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 {
20053 wxTreeItemId const &_result_ref = (arg1)->GetId();
20054 result = (wxTreeItemId *) &_result_ref;
20055 }
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20070 wxTreeItemId *arg2 = 0 ;
20071 PyObject * obj0 = 0 ;
20072 PyObject * obj1 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self",(char *) "id", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20080 if (arg2 == NULL) {
20081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20082 }
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 (arg1)->SetId((wxTreeItemId const &)*arg2);
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 Py_INCREF(Py_None); resultobj = Py_None;
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20100 PyObject * obj0 = 0 ;
20101 char *kwnames[] = {
20102 (char *) "self", NULL
20103 };
20104
20105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 wxPyTreeItemData_Destroy(arg1);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20122 PyObject *obj;
20123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20125 Py_INCREF(obj);
20126 return Py_BuildValue((char *)"");
20127 }
20128 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20129 PyObject *resultobj;
20130 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20131 int arg2 = (int) 0 ;
20132 wxTreeEvent *result;
20133 char *kwnames[] = {
20134 (char *) "commandType",(char *) "id", NULL
20135 };
20136
20137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20155 wxTreeItemId result;
20156 PyObject * obj0 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = ((wxTreeEvent const *)arg1)->GetItem();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 {
20171 wxTreeItemId * resultptr;
20172 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20174 }
20175 return resultobj;
20176 fail:
20177 return NULL;
20178 }
20179
20180
20181 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20182 PyObject *resultobj;
20183 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20184 wxTreeItemId *arg2 = 0 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "item", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20194 if (arg2 == NULL) {
20195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20196 }
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20214 wxTreeItemId result;
20215 PyObject * obj0 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 {
20230 wxTreeItemId * resultptr;
20231 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20233 }
20234 return resultobj;
20235 fail:
20236 return NULL;
20237 }
20238
20239
20240 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20243 wxTreeItemId *arg2 = 0 ;
20244 PyObject * obj0 = 0 ;
20245 PyObject * obj1 = 0 ;
20246 char *kwnames[] = {
20247 (char *) "self",(char *) "item", NULL
20248 };
20249
20250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20253 if (arg2 == NULL) {
20254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20255 }
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 Py_INCREF(Py_None); resultobj = Py_None;
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20273 wxPoint result;
20274 PyObject * obj0 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = ((wxTreeEvent const *)arg1)->GetPoint();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 wxPoint * resultptr;
20290 resultptr = new wxPoint((wxPoint &) result);
20291 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20292 }
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20300 PyObject *resultobj;
20301 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20302 wxPoint *arg2 = 0 ;
20303 wxPoint temp2 ;
20304 PyObject * obj0 = 0 ;
20305 PyObject * obj1 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self",(char *) "pt", NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20312 {
20313 arg2 = &temp2;
20314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20315 }
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 (arg1)->SetPoint((wxPoint const &)*arg2);
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 Py_INCREF(Py_None); resultobj = Py_None;
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20333 wxKeyEvent *result;
20334 PyObject * obj0 = 0 ;
20335 char *kwnames[] = {
20336 (char *) "self", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 {
20344 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20345 result = (wxKeyEvent *) &_result_ref;
20346 }
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20361 int result;
20362 PyObject * obj0 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = PyInt_FromLong((long)result);
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20386 wxKeyEvent *arg2 = 0 ;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "evt", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 if (arg2 == NULL) {
20397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20398 }
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20402
20403 wxPyEndAllowThreads(__tstate);
20404 if (PyErr_Occurred()) SWIG_fail;
20405 }
20406 Py_INCREF(Py_None); resultobj = Py_None;
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20416 wxString *result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20424 {
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 {
20427 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20428 result = (wxString *) &_result_ref;
20429 }
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 {
20435 #if wxUSE_UNICODE
20436 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20437 #else
20438 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20439 #endif
20440 }
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj;
20449 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20450 wxString *arg2 = 0 ;
20451 bool temp2 = False ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self",(char *) "label", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 {
20461 arg2 = wxString_in_helper(obj1);
20462 if (arg2 == NULL) SWIG_fail;
20463 temp2 = True;
20464 }
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 (arg1)->SetLabel((wxString const &)*arg2);
20468
20469 wxPyEndAllowThreads(__tstate);
20470 if (PyErr_Occurred()) SWIG_fail;
20471 }
20472 Py_INCREF(Py_None); resultobj = Py_None;
20473 {
20474 if (temp2)
20475 delete arg2;
20476 }
20477 return resultobj;
20478 fail:
20479 {
20480 if (temp2)
20481 delete arg2;
20482 }
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20490 bool result;
20491 PyObject * obj0 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 resultobj = PyInt_FromLong((long)result);
20506 return resultobj;
20507 fail:
20508 return NULL;
20509 }
20510
20511
20512 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20515 bool arg2 ;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 char *kwnames[] = {
20519 (char *) "self",(char *) "editCancelled", NULL
20520 };
20521
20522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20524 arg2 = PyInt_AsLong(obj1) ? true : false;
20525 if (PyErr_Occurred()) SWIG_fail;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->SetEditCanceled(arg2);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20543 wxString *arg2 = 0 ;
20544 bool temp2 = False ;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "toolTip", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 {
20554 arg2 = wxString_in_helper(obj1);
20555 if (arg2 == NULL) SWIG_fail;
20556 temp2 = True;
20557 }
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 (arg1)->SetToolTip((wxString const &)*arg2);
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 Py_INCREF(Py_None); resultobj = Py_None;
20566 {
20567 if (temp2)
20568 delete arg2;
20569 }
20570 return resultobj;
20571 fail:
20572 {
20573 if (temp2)
20574 delete arg2;
20575 }
20576 return NULL;
20577 }
20578
20579
20580 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20581 PyObject *obj;
20582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20583 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20584 Py_INCREF(obj);
20585 return Py_BuildValue((char *)"");
20586 }
20587 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 wxWindow *arg1 = (wxWindow *) 0 ;
20590 int arg2 = (int) -1 ;
20591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20593 wxSize const &arg4_defvalue = wxDefaultSize ;
20594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20595 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20596 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20597 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20598 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20599 wxString *arg7 = (wxString *) &arg7_defvalue ;
20600 wxPyTreeCtrl *result;
20601 wxPoint temp3 ;
20602 wxSize temp4 ;
20603 bool temp7 = False ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj2 = 0 ;
20606 PyObject * obj3 = 0 ;
20607 PyObject * obj5 = 0 ;
20608 PyObject * obj6 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20615 if (obj2) {
20616 {
20617 arg3 = &temp3;
20618 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20619 }
20620 }
20621 if (obj3) {
20622 {
20623 arg4 = &temp4;
20624 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20625 }
20626 }
20627 if (obj5) {
20628 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20629 if (arg6 == NULL) {
20630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20631 }
20632 }
20633 if (obj6) {
20634 {
20635 arg7 = wxString_in_helper(obj6);
20636 if (arg7 == NULL) SWIG_fail;
20637 temp7 = True;
20638 }
20639 }
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20648 {
20649 if (temp7)
20650 delete arg7;
20651 }
20652 return resultobj;
20653 fail:
20654 {
20655 if (temp7)
20656 delete arg7;
20657 }
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPyTreeCtrl *result;
20665 char *kwnames[] = {
20666 NULL
20667 };
20668
20669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20687 wxWindow *arg2 = (wxWindow *) 0 ;
20688 int arg3 = (int) -1 ;
20689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20691 wxSize const &arg5_defvalue = wxDefaultSize ;
20692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20693 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20694 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20695 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20696 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20697 wxString *arg8 = (wxString *) &arg8_defvalue ;
20698 bool result;
20699 wxPoint temp4 ;
20700 wxSize temp5 ;
20701 bool temp8 = False ;
20702 PyObject * obj0 = 0 ;
20703 PyObject * obj1 = 0 ;
20704 PyObject * obj3 = 0 ;
20705 PyObject * obj4 = 0 ;
20706 PyObject * obj6 = 0 ;
20707 PyObject * obj7 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20715 if (obj3) {
20716 {
20717 arg4 = &temp4;
20718 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20719 }
20720 }
20721 if (obj4) {
20722 {
20723 arg5 = &temp5;
20724 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20725 }
20726 }
20727 if (obj6) {
20728 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20729 if (arg7 == NULL) {
20730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20731 }
20732 }
20733 if (obj7) {
20734 {
20735 arg8 = wxString_in_helper(obj7);
20736 if (arg8 == NULL) SWIG_fail;
20737 temp8 = True;
20738 }
20739 }
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 resultobj = PyInt_FromLong((long)result);
20748 {
20749 if (temp8)
20750 delete arg8;
20751 }
20752 return resultobj;
20753 fail:
20754 {
20755 if (temp8)
20756 delete arg8;
20757 }
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20765 PyObject *arg2 = (PyObject *) 0 ;
20766 PyObject *arg3 = (PyObject *) 0 ;
20767 PyObject * obj0 = 0 ;
20768 PyObject * obj1 = 0 ;
20769 PyObject * obj2 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self",(char *) "self",(char *) "_class", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 arg2 = obj1;
20777 arg3 = obj2;
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->_setCallbackInfo(arg2,arg3);
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 Py_INCREF(Py_None); resultobj = Py_None;
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20795 size_t result;
20796 PyObject * obj0 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 resultobj = PyInt_FromLong((long)result);
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20820 unsigned int result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 resultobj = PyInt_FromLong((long)result);
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20845 unsigned int arg2 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char *kwnames[] = {
20849 (char *) "self",(char *) "indent", NULL
20850 };
20851
20852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20854 arg2 = (unsigned int) PyInt_AsLong(obj1);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 (arg1)->SetIndent(arg2);
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 Py_INCREF(Py_None); resultobj = Py_None;
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20873 unsigned int result;
20874 PyObject * obj0 = 0 ;
20875 char *kwnames[] = {
20876 (char *) "self", NULL
20877 };
20878
20879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 resultobj = PyInt_FromLong((long)result);
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20898 unsigned int arg2 ;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "spacing", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20907 arg2 = (unsigned int) PyInt_AsLong(obj1);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 (arg1)->SetSpacing(arg2);
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 Py_INCREF(Py_None); resultobj = Py_None;
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20926 wxImageList *result;
20927 PyObject * obj0 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 {
20942 resultobj = wxPyMake_wxObject(result);
20943 }
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20953 wxImageList *result;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 resultobj = wxPyMake_wxObject(result);
20970 }
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20980 wxImageList *arg2 = (wxImageList *) 0 ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "imageList", NULL
20985 };
20986
20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 (arg1)->SetImageList(arg2);
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 Py_INCREF(Py_None); resultobj = Py_None;
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21007 wxImageList *arg2 = (wxImageList *) 0 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 char *kwnames[] = {
21011 (char *) "self",(char *) "imageList", NULL
21012 };
21013
21014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 (arg1)->SetStateImageList(arg2);
21020
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 Py_INCREF(Py_None); resultobj = Py_None;
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21034 wxImageList *arg2 = (wxImageList *) 0 ;
21035 PyObject * obj0 = 0 ;
21036 PyObject * obj1 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "self",(char *) "imageList", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 (arg1)->AssignImageList(arg2);
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 Py_INCREF(Py_None); resultobj = Py_None;
21052 return resultobj;
21053 fail:
21054 return NULL;
21055 }
21056
21057
21058 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21061 wxImageList *arg2 = (wxImageList *) 0 ;
21062 PyObject * obj0 = 0 ;
21063 PyObject * obj1 = 0 ;
21064 char *kwnames[] = {
21065 (char *) "self",(char *) "imageList", NULL
21066 };
21067
21068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 (arg1)->AssignStateImageList(arg2);
21074
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 Py_INCREF(Py_None); resultobj = Py_None;
21079 return resultobj;
21080 fail:
21081 return NULL;
21082 }
21083
21084
21085 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21086 PyObject *resultobj;
21087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21088 wxTreeItemId *arg2 = 0 ;
21089 wxString result;
21090 PyObject * obj0 = 0 ;
21091 PyObject * obj1 = 0 ;
21092 char *kwnames[] = {
21093 (char *) "self",(char *) "item", NULL
21094 };
21095
21096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21099 if (arg2 == NULL) {
21100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21101 }
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21105
21106 wxPyEndAllowThreads(__tstate);
21107 if (PyErr_Occurred()) SWIG_fail;
21108 }
21109 {
21110 #if wxUSE_UNICODE
21111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21112 #else
21113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21114 #endif
21115 }
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj;
21124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21125 wxTreeItemId *arg2 = 0 ;
21126 int arg3 = (int) wxTreeItemIcon_Normal ;
21127 int result;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "item",(char *) "which", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 if (arg2 == NULL) {
21138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = PyInt_FromLong((long)result);
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21157 wxTreeItemId *arg2 = 0 ;
21158 wxPyTreeItemData *result;
21159 PyObject * obj0 = 0 ;
21160 PyObject * obj1 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "item", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 if (arg2 == NULL) {
21169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21170 }
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21179 return resultobj;
21180 fail:
21181 return NULL;
21182 }
21183
21184
21185 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj;
21187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21188 wxTreeItemId *arg2 = 0 ;
21189 PyObject *result;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 char *kwnames[] = {
21193 (char *) "self",(char *) "item", NULL
21194 };
21195
21196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21199 if (arg2 == NULL) {
21200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 resultobj = result;
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21219 wxTreeItemId *arg2 = 0 ;
21220 wxColour result;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "item", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 if (arg2 == NULL) {
21231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21232 }
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 {
21241 wxColour * resultptr;
21242 resultptr = new wxColour((wxColour &) result);
21243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21244 }
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21254 wxTreeItemId *arg2 = 0 ;
21255 wxColour result;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "item", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if (arg2 == NULL) {
21266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21267 }
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 {
21276 wxColour * resultptr;
21277 resultptr = new wxColour((wxColour &) result);
21278 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21289 wxTreeItemId *arg2 = 0 ;
21290 wxFont result;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self",(char *) "item", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if (arg2 == NULL) {
21301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21302 }
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 {
21311 wxFont * resultptr;
21312 resultptr = new wxFont((wxFont &) result);
21313 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21314 }
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21324 wxTreeItemId *arg2 = 0 ;
21325 wxString *arg3 = 0 ;
21326 bool temp3 = False ;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 PyObject * obj2 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "item",(char *) "text", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21337 if (arg2 == NULL) {
21338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21339 }
21340 {
21341 arg3 = wxString_in_helper(obj2);
21342 if (arg3 == NULL) SWIG_fail;
21343 temp3 = True;
21344 }
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 Py_INCREF(Py_None); resultobj = Py_None;
21353 {
21354 if (temp3)
21355 delete arg3;
21356 }
21357 return resultobj;
21358 fail:
21359 {
21360 if (temp3)
21361 delete arg3;
21362 }
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21370 wxTreeItemId *arg2 = 0 ;
21371 int arg3 ;
21372 int arg4 = (int) wxTreeItemIcon_Normal ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 if (arg2 == NULL) {
21383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21384 }
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 Py_INCREF(Py_None); resultobj = Py_None;
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21402 wxTreeItemId *arg2 = 0 ;
21403 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 PyObject * obj2 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "item",(char *) "data", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 if (arg2 == NULL) {
21415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21416 }
21417 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429 }
21430
21431
21432 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21435 wxTreeItemId *arg2 = 0 ;
21436 PyObject *arg3 = (PyObject *) 0 ;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 PyObject * obj2 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "item",(char *) "obj", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21447 if (arg2 == NULL) {
21448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21449 }
21450 arg3 = obj2;
21451 {
21452 PyThreadState* __tstate = wxPyBeginAllowThreads();
21453 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21454
21455 wxPyEndAllowThreads(__tstate);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 Py_INCREF(Py_None); resultobj = Py_None;
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21468 wxTreeItemId *arg2 = 0 ;
21469 bool arg3 = (bool) True ;
21470 PyObject * obj0 = 0 ;
21471 PyObject * obj1 = 0 ;
21472 PyObject * obj2 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "item",(char *) "has", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21480 if (arg2 == NULL) {
21481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21482 }
21483 if (obj2) {
21484 arg3 = PyInt_AsLong(obj2) ? true : false;
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 Py_INCREF(Py_None); resultobj = Py_None;
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21504 wxTreeItemId *arg2 = 0 ;
21505 bool arg3 = (bool) True ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self",(char *) "item",(char *) "bold", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21516 if (arg2 == NULL) {
21517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21518 }
21519 if (obj2) {
21520 arg3 = PyInt_AsLong(obj2) ? true : false;
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21540 wxTreeItemId *arg2 = 0 ;
21541 wxColour *arg3 = 0 ;
21542 wxColour temp3 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 PyObject * obj2 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self",(char *) "item",(char *) "col", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21553 if (arg2 == NULL) {
21554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21555 }
21556 {
21557 arg3 = &temp3;
21558 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21559 }
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 Py_INCREF(Py_None); resultobj = Py_None;
21568 return resultobj;
21569 fail:
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21577 wxTreeItemId *arg2 = 0 ;
21578 wxColour *arg3 = 0 ;
21579 wxColour temp3 ;
21580 PyObject * obj0 = 0 ;
21581 PyObject * obj1 = 0 ;
21582 PyObject * obj2 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "item",(char *) "col", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21590 if (arg2 == NULL) {
21591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21592 }
21593 {
21594 arg3 = &temp3;
21595 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21596 }
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 Py_INCREF(Py_None); resultobj = Py_None;
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21614 wxTreeItemId *arg2 = 0 ;
21615 wxFont *arg3 = 0 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "item",(char *) "font", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if (arg2 == NULL) {
21627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21628 }
21629 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21630 if (arg3 == NULL) {
21631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21632 }
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 Py_INCREF(Py_None); resultobj = Py_None;
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21650 wxTreeItemId *arg2 = 0 ;
21651 bool result;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self",(char *) "item", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 if (arg2 == NULL) {
21662 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21663 }
21664 {
21665 PyThreadState* __tstate = wxPyBeginAllowThreads();
21666 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21667
21668 wxPyEndAllowThreads(__tstate);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 }
21671 resultobj = PyInt_FromLong((long)result);
21672 return resultobj;
21673 fail:
21674 return NULL;
21675 }
21676
21677
21678 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21679 PyObject *resultobj;
21680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21681 wxTreeItemId *arg2 = 0 ;
21682 bool result;
21683 PyObject * obj0 = 0 ;
21684 PyObject * obj1 = 0 ;
21685 char *kwnames[] = {
21686 (char *) "self",(char *) "item", NULL
21687 };
21688
21689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21692 if (arg2 == NULL) {
21693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21694 }
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = PyInt_FromLong((long)result);
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21712 wxTreeItemId *arg2 = 0 ;
21713 bool result;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self",(char *) "item", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21723 if (arg2 == NULL) {
21724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 resultobj = PyInt_FromLong((long)result);
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj;
21742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21743 wxTreeItemId *arg2 = 0 ;
21744 bool result;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "item", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21754 if (arg2 == NULL) {
21755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21756 }
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 resultobj = PyInt_FromLong((long)result);
21765 return resultobj;
21766 fail:
21767 return NULL;
21768 }
21769
21770
21771 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21774 wxTreeItemId *arg2 = 0 ;
21775 bool result;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "item", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21785 if (arg2 == NULL) {
21786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21787 }
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 resultobj = PyInt_FromLong((long)result);
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21805 wxTreeItemId *arg2 = 0 ;
21806 bool arg3 = (bool) True ;
21807 size_t result;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 PyObject * obj2 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "item",(char *) "recursively", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21818 if (arg2 == NULL) {
21819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21820 }
21821 if (obj2) {
21822 arg3 = PyInt_AsLong(obj2) ? true : false;
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = PyInt_FromLong((long)result);
21833 return resultobj;
21834 fail:
21835 return NULL;
21836 }
21837
21838
21839 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21842 wxTreeItemId result;
21843 PyObject * obj0 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 {
21858 wxTreeItemId * resultptr;
21859 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21861 }
21862 return resultobj;
21863 fail:
21864 return NULL;
21865 }
21866
21867
21868 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj;
21870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21871 wxTreeItemId result;
21872 PyObject * obj0 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 {
21887 wxTreeItemId * resultptr;
21888 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21889 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21890 }
21891 return resultobj;
21892 fail:
21893 return NULL;
21894 }
21895
21896
21897 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj;
21899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21900 PyObject *result;
21901 PyObject * obj0 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 resultobj = result;
21916 return resultobj;
21917 fail:
21918 return NULL;
21919 }
21920
21921
21922 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21923 PyObject *resultobj;
21924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21925 wxTreeItemId *arg2 = 0 ;
21926 wxTreeItemId result;
21927 PyObject * obj0 = 0 ;
21928 PyObject * obj1 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "item", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21936 if (arg2 == NULL) {
21937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21938 }
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 wxTreeItemId * resultptr;
21948 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21949 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21950 }
21951 return resultobj;
21952 fail:
21953 return NULL;
21954 }
21955
21956
21957 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21958 PyObject *resultobj;
21959 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21960 wxTreeItemId *arg2 = 0 ;
21961 PyObject *result;
21962 PyObject * obj0 = 0 ;
21963 PyObject * obj1 = 0 ;
21964 char *kwnames[] = {
21965 (char *) "self",(char *) "item", NULL
21966 };
21967
21968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21971 if (arg2 == NULL) {
21972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21973 }
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = result;
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21991 wxTreeItemId *arg2 = 0 ;
21992 wxTreeItemIdValue *arg3 = 0 ;
21993 PyObject *result;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 PyObject * obj2 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self",(char *) "item",(char *) "cookie", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22004 if (arg2 == NULL) {
22005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22006 }
22007 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 if (arg3 == NULL) {
22009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22010 }
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 resultobj = result;
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22028 wxTreeItemId *arg2 = 0 ;
22029 wxTreeItemId result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "item", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22039 if (arg2 == NULL) {
22040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22041 }
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 wxTreeItemId * resultptr;
22051 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22053 }
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj;
22062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22063 wxTreeItemId *arg2 = 0 ;
22064 wxTreeItemId result;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self",(char *) "item", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22074 if (arg2 == NULL) {
22075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22076 }
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 wxTreeItemId * resultptr;
22086 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22088 }
22089 return resultobj;
22090 fail:
22091 return NULL;
22092 }
22093
22094
22095 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj;
22097 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22098 wxTreeItemId *arg2 = 0 ;
22099 wxTreeItemId result;
22100 PyObject * obj0 = 0 ;
22101 PyObject * obj1 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "item", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22109 if (arg2 == NULL) {
22110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22111 }
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 {
22120 wxTreeItemId * resultptr;
22121 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22122 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22123 }
22124 return resultobj;
22125 fail:
22126 return NULL;
22127 }
22128
22129
22130 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22131 PyObject *resultobj;
22132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22133 wxTreeItemId result;
22134 PyObject * obj0 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 {
22149 wxTreeItemId * resultptr;
22150 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22151 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22152 }
22153 return resultobj;
22154 fail:
22155 return NULL;
22156 }
22157
22158
22159 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22160 PyObject *resultobj;
22161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22162 wxTreeItemId *arg2 = 0 ;
22163 wxTreeItemId result;
22164 PyObject * obj0 = 0 ;
22165 PyObject * obj1 = 0 ;
22166 char *kwnames[] = {
22167 (char *) "self",(char *) "item", NULL
22168 };
22169
22170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22173 if (arg2 == NULL) {
22174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22175 }
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 {
22184 wxTreeItemId * resultptr;
22185 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22187 }
22188 return resultobj;
22189 fail:
22190 return NULL;
22191 }
22192
22193
22194 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22197 wxTreeItemId *arg2 = 0 ;
22198 wxTreeItemId result;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "item", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22208 if (arg2 == NULL) {
22209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22210 }
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 {
22219 wxTreeItemId * resultptr;
22220 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22222 }
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22232 wxString *arg2 = 0 ;
22233 int arg3 = (int) -1 ;
22234 int arg4 = (int) -1 ;
22235 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22236 wxTreeItemId result;
22237 bool temp2 = False ;
22238 PyObject * obj0 = 0 ;
22239 PyObject * obj1 = 0 ;
22240 PyObject * obj4 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 {
22248 arg2 = wxString_in_helper(obj1);
22249 if (arg2 == NULL) SWIG_fail;
22250 temp2 = True;
22251 }
22252 if (obj4) {
22253 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 }
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22258
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 {
22263 wxTreeItemId * resultptr;
22264 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22265 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22266 }
22267 {
22268 if (temp2)
22269 delete arg2;
22270 }
22271 return resultobj;
22272 fail:
22273 {
22274 if (temp2)
22275 delete arg2;
22276 }
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22284 wxTreeItemId *arg2 = 0 ;
22285 wxString *arg3 = 0 ;
22286 int arg4 = (int) -1 ;
22287 int arg5 = (int) -1 ;
22288 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22289 wxTreeItemId result;
22290 bool temp3 = False ;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 PyObject * obj2 = 0 ;
22294 PyObject * obj5 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22302 if (arg2 == NULL) {
22303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22304 }
22305 {
22306 arg3 = wxString_in_helper(obj2);
22307 if (arg3 == NULL) SWIG_fail;
22308 temp3 = True;
22309 }
22310 if (obj5) {
22311 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22312 }
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 {
22321 wxTreeItemId * resultptr;
22322 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22323 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22324 }
22325 {
22326 if (temp3)
22327 delete arg3;
22328 }
22329 return resultobj;
22330 fail:
22331 {
22332 if (temp3)
22333 delete arg3;
22334 }
22335 return NULL;
22336 }
22337
22338
22339 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22340 PyObject *resultobj;
22341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22342 wxTreeItemId *arg2 = 0 ;
22343 wxTreeItemId *arg3 = 0 ;
22344 wxString *arg4 = 0 ;
22345 int arg5 = (int) -1 ;
22346 int arg6 = (int) -1 ;
22347 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22348 wxTreeItemId result;
22349 bool temp4 = False ;
22350 PyObject * obj0 = 0 ;
22351 PyObject * obj1 = 0 ;
22352 PyObject * obj2 = 0 ;
22353 PyObject * obj3 = 0 ;
22354 PyObject * obj6 = 0 ;
22355 char *kwnames[] = {
22356 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22357 };
22358
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22362 if (arg2 == NULL) {
22363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22364 }
22365 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22366 if (arg3 == NULL) {
22367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22368 }
22369 {
22370 arg4 = wxString_in_helper(obj3);
22371 if (arg4 == NULL) SWIG_fail;
22372 temp4 = True;
22373 }
22374 if (obj6) {
22375 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22376 }
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 {
22385 wxTreeItemId * resultptr;
22386 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22387 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22388 }
22389 {
22390 if (temp4)
22391 delete arg4;
22392 }
22393 return resultobj;
22394 fail:
22395 {
22396 if (temp4)
22397 delete arg4;
22398 }
22399 return NULL;
22400 }
22401
22402
22403 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22406 wxTreeItemId *arg2 = 0 ;
22407 size_t arg3 ;
22408 wxString *arg4 = 0 ;
22409 int arg5 = (int) -1 ;
22410 int arg6 = (int) -1 ;
22411 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22412 wxTreeItemId result;
22413 bool temp4 = False ;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 PyObject * obj2 = 0 ;
22417 PyObject * obj3 = 0 ;
22418 PyObject * obj6 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22426 if (arg2 == NULL) {
22427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22428 }
22429 arg3 = (size_t) PyInt_AsLong(obj2);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 {
22432 arg4 = wxString_in_helper(obj3);
22433 if (arg4 == NULL) SWIG_fail;
22434 temp4 = True;
22435 }
22436 if (obj6) {
22437 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22438 }
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 {
22447 wxTreeItemId * resultptr;
22448 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22449 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22450 }
22451 {
22452 if (temp4)
22453 delete arg4;
22454 }
22455 return resultobj;
22456 fail:
22457 {
22458 if (temp4)
22459 delete arg4;
22460 }
22461 return NULL;
22462 }
22463
22464
22465 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22466 PyObject *resultobj;
22467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22468 wxTreeItemId *arg2 = 0 ;
22469 wxString *arg3 = 0 ;
22470 int arg4 = (int) -1 ;
22471 int arg5 = (int) -1 ;
22472 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22473 wxTreeItemId result;
22474 bool temp3 = False ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 PyObject * obj2 = 0 ;
22478 PyObject * obj5 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 if (arg2 == NULL) {
22487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22488 }
22489 {
22490 arg3 = wxString_in_helper(obj2);
22491 if (arg3 == NULL) SWIG_fail;
22492 temp3 = True;
22493 }
22494 if (obj5) {
22495 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22496 }
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 {
22505 wxTreeItemId * resultptr;
22506 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22507 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22508 }
22509 {
22510 if (temp3)
22511 delete arg3;
22512 }
22513 return resultobj;
22514 fail:
22515 {
22516 if (temp3)
22517 delete arg3;
22518 }
22519 return NULL;
22520 }
22521
22522
22523 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22526 wxTreeItemId *arg2 = 0 ;
22527 PyObject * obj0 = 0 ;
22528 PyObject * obj1 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self",(char *) "item", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22536 if (arg2 == NULL) {
22537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22538 }
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->Delete((wxTreeItemId const &)*arg2);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
22547 return resultobj;
22548 fail:
22549 return NULL;
22550 }
22551
22552
22553 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22556 wxTreeItemId *arg2 = 0 ;
22557 PyObject * obj0 = 0 ;
22558 PyObject * obj1 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self",(char *) "item", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22566 if (arg2 == NULL) {
22567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22586 PyObject * obj0 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 (arg1)->DeleteAllItems();
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 Py_INCREF(Py_None); resultobj = Py_None;
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22608 PyObject *resultobj;
22609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22610 wxTreeItemId *arg2 = 0 ;
22611 PyObject * obj0 = 0 ;
22612 PyObject * obj1 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self",(char *) "item", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22620 if (arg2 == NULL) {
22621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22622 }
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 (arg1)->Expand((wxTreeItemId const &)*arg2);
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 Py_INCREF(Py_None); resultobj = Py_None;
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22640 wxTreeItemId *arg2 = 0 ;
22641 PyObject * obj0 = 0 ;
22642 PyObject * obj1 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self",(char *) "item", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22650 if (arg2 == NULL) {
22651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22652 }
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22670 wxTreeItemId *arg2 = 0 ;
22671 PyObject * obj0 = 0 ;
22672 PyObject * obj1 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self",(char *) "item", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22680 if (arg2 == NULL) {
22681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22682 }
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22686
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 Py_INCREF(Py_None); resultobj = Py_None;
22691 return resultobj;
22692 fail:
22693 return NULL;
22694 }
22695
22696
22697 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22700 wxTreeItemId *arg2 = 0 ;
22701 PyObject * obj0 = 0 ;
22702 PyObject * obj1 = 0 ;
22703 char *kwnames[] = {
22704 (char *) "self",(char *) "item", NULL
22705 };
22706
22707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22710 if (arg2 == NULL) {
22711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22712 }
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->Unselect();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22754 PyObject * obj0 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 (arg1)->UnselectAll();
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22778 wxTreeItemId *arg2 = 0 ;
22779 PyObject * obj0 = 0 ;
22780 PyObject * obj1 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self",(char *) "item", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22788 if (arg2 == NULL) {
22789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22790 }
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 Py_INCREF(Py_None); resultobj = Py_None;
22799 return resultobj;
22800 fail:
22801 return NULL;
22802 }
22803
22804
22805 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22806 PyObject *resultobj;
22807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22808 wxTreeItemId *arg2 = 0 ;
22809 PyObject * obj0 = 0 ;
22810 PyObject * obj1 = 0 ;
22811 char *kwnames[] = {
22812 (char *) "self",(char *) "item", NULL
22813 };
22814
22815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22818 if (arg2 == NULL) {
22819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22820 }
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22824
22825 wxPyEndAllowThreads(__tstate);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 Py_INCREF(Py_None); resultobj = Py_None;
22829 return resultobj;
22830 fail:
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22838 wxTreeItemId *arg2 = 0 ;
22839 PyObject * obj0 = 0 ;
22840 PyObject * obj1 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self",(char *) "item", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22848 if (arg2 == NULL) {
22849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22868 wxTreeItemId *arg2 = 0 ;
22869 PyObject * obj0 = 0 ;
22870 PyObject * obj1 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self",(char *) "item", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22878 if (arg2 == NULL) {
22879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22880 }
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 Py_INCREF(Py_None); resultobj = Py_None;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22898 wxTextCtrl *result;
22899 PyObject * obj0 = 0 ;
22900 char *kwnames[] = {
22901 (char *) "self", NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 {
22914 resultobj = wxPyMake_wxObject(result);
22915 }
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22925 wxTreeItemId *arg2 = 0 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "item", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 if (arg2 == NULL) {
22936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22937 }
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 Py_INCREF(Py_None); resultobj = Py_None;
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22955 wxPoint *arg2 = 0 ;
22956 int *arg3 = 0 ;
22957 wxTreeItemId result;
22958 wxPoint temp2 ;
22959 int temp3 ;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 char *kwnames[] = {
22963 (char *) "self",(char *) "point", NULL
22964 };
22965
22966 arg3 = &temp3;
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22969 {
22970 arg2 = &temp2;
22971 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22972 }
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 {
22981 wxTreeItemId * resultptr;
22982 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22983 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22984 }
22985 {
22986 PyObject *o = PyInt_FromLong((long) (*arg3));
22987 resultobj = t_output_helper(resultobj,o);
22988 }
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22998 wxTreeItemId *arg2 = 0 ;
22999 bool arg3 = (bool) False ;
23000 PyObject *result;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23011 if (arg2 == NULL) {
23012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23013 }
23014 if (obj2) {
23015 arg3 = PyInt_AsLong(obj2) ? true : false;
23016 if (PyErr_Occurred()) SWIG_fail;
23017 }
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 resultobj = result;
23026 return resultobj;
23027 fail:
23028 return NULL;
23029 }
23030
23031
23032 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23033 PyObject *obj;
23034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23035 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23036 Py_INCREF(obj);
23037 return Py_BuildValue((char *)"");
23038 }
23039 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23040 PyObject *resultobj;
23041 wxWindow *arg1 = (wxWindow *) 0 ;
23042 int arg2 = (int) (int)-1 ;
23043 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23044 wxString *arg3 = (wxString *) &arg3_defvalue ;
23045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23047 wxSize const &arg5_defvalue = wxDefaultSize ;
23048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23049 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23050 wxString const &arg7_defvalue = wxPyEmptyString ;
23051 wxString *arg7 = (wxString *) &arg7_defvalue ;
23052 int arg8 = (int) 0 ;
23053 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23054 wxString *arg9 = (wxString *) &arg9_defvalue ;
23055 wxGenericDirCtrl *result;
23056 bool temp3 = False ;
23057 wxPoint temp4 ;
23058 wxSize temp5 ;
23059 bool temp7 = False ;
23060 bool temp9 = False ;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj2 = 0 ;
23063 PyObject * obj3 = 0 ;
23064 PyObject * obj4 = 0 ;
23065 PyObject * obj6 = 0 ;
23066 PyObject * obj8 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23073 if (obj2) {
23074 {
23075 arg3 = wxString_in_helper(obj2);
23076 if (arg3 == NULL) SWIG_fail;
23077 temp3 = True;
23078 }
23079 }
23080 if (obj3) {
23081 {
23082 arg4 = &temp4;
23083 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23084 }
23085 }
23086 if (obj4) {
23087 {
23088 arg5 = &temp5;
23089 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23090 }
23091 }
23092 if (obj6) {
23093 {
23094 arg7 = wxString_in_helper(obj6);
23095 if (arg7 == NULL) SWIG_fail;
23096 temp7 = True;
23097 }
23098 }
23099 if (obj8) {
23100 {
23101 arg9 = wxString_in_helper(obj8);
23102 if (arg9 == NULL) SWIG_fail;
23103 temp9 = True;
23104 }
23105 }
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23114 {
23115 if (temp3)
23116 delete arg3;
23117 }
23118 {
23119 if (temp7)
23120 delete arg7;
23121 }
23122 {
23123 if (temp9)
23124 delete arg9;
23125 }
23126 return resultobj;
23127 fail:
23128 {
23129 if (temp3)
23130 delete arg3;
23131 }
23132 {
23133 if (temp7)
23134 delete arg7;
23135 }
23136 {
23137 if (temp9)
23138 delete arg9;
23139 }
23140 return NULL;
23141 }
23142
23143
23144 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxGenericDirCtrl *result;
23147 char *kwnames[] = {
23148 NULL
23149 };
23150
23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23155
23156 wxPyEndAllowThreads(__tstate);
23157 if (PyErr_Occurred()) SWIG_fail;
23158 }
23159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23160 return resultobj;
23161 fail:
23162 return NULL;
23163 }
23164
23165
23166 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23169 wxWindow *arg2 = (wxWindow *) 0 ;
23170 int arg3 = (int) (int)-1 ;
23171 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23172 wxString *arg4 = (wxString *) &arg4_defvalue ;
23173 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23174 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23175 wxSize const &arg6_defvalue = wxDefaultSize ;
23176 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23177 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23178 wxString const &arg8_defvalue = wxPyEmptyString ;
23179 wxString *arg8 = (wxString *) &arg8_defvalue ;
23180 int arg9 = (int) 0 ;
23181 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23182 wxString *arg10 = (wxString *) &arg10_defvalue ;
23183 bool result;
23184 bool temp4 = False ;
23185 wxPoint temp5 ;
23186 wxSize temp6 ;
23187 bool temp8 = False ;
23188 bool temp10 = False ;
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 PyObject * obj3 = 0 ;
23192 PyObject * obj4 = 0 ;
23193 PyObject * obj5 = 0 ;
23194 PyObject * obj7 = 0 ;
23195 PyObject * obj9 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 if (obj3) {
23204 {
23205 arg4 = wxString_in_helper(obj3);
23206 if (arg4 == NULL) SWIG_fail;
23207 temp4 = True;
23208 }
23209 }
23210 if (obj4) {
23211 {
23212 arg5 = &temp5;
23213 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23214 }
23215 }
23216 if (obj5) {
23217 {
23218 arg6 = &temp6;
23219 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23220 }
23221 }
23222 if (obj7) {
23223 {
23224 arg8 = wxString_in_helper(obj7);
23225 if (arg8 == NULL) SWIG_fail;
23226 temp8 = True;
23227 }
23228 }
23229 if (obj9) {
23230 {
23231 arg10 = wxString_in_helper(obj9);
23232 if (arg10 == NULL) SWIG_fail;
23233 temp10 = True;
23234 }
23235 }
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 resultobj = PyInt_FromLong((long)result);
23244 {
23245 if (temp4)
23246 delete arg4;
23247 }
23248 {
23249 if (temp8)
23250 delete arg8;
23251 }
23252 {
23253 if (temp10)
23254 delete arg10;
23255 }
23256 return resultobj;
23257 fail:
23258 {
23259 if (temp4)
23260 delete arg4;
23261 }
23262 {
23263 if (temp8)
23264 delete arg8;
23265 }
23266 {
23267 if (temp10)
23268 delete arg10;
23269 }
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23277 wxString *arg2 = 0 ;
23278 bool result;
23279 bool temp2 = False ;
23280 PyObject * obj0 = 0 ;
23281 PyObject * obj1 = 0 ;
23282 char *kwnames[] = {
23283 (char *) "self",(char *) "path", NULL
23284 };
23285
23286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23288 {
23289 arg2 = wxString_in_helper(obj1);
23290 if (arg2 == NULL) SWIG_fail;
23291 temp2 = True;
23292 }
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 resultobj = PyInt_FromLong((long)result);
23301 {
23302 if (temp2)
23303 delete arg2;
23304 }
23305 return resultobj;
23306 fail:
23307 {
23308 if (temp2)
23309 delete arg2;
23310 }
23311 return NULL;
23312 }
23313
23314
23315 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23316 PyObject *resultobj;
23317 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23318 wxString result;
23319 PyObject * obj0 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 {
23334 #if wxUSE_UNICODE
23335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23336 #else
23337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23338 #endif
23339 }
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23349 wxString *arg2 = 0 ;
23350 bool temp2 = False ;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "path", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23359 {
23360 arg2 = wxString_in_helper(obj1);
23361 if (arg2 == NULL) SWIG_fail;
23362 temp2 = True;
23363 }
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 (arg1)->SetDefaultPath((wxString const &)*arg2);
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
23371 Py_INCREF(Py_None); resultobj = Py_None;
23372 {
23373 if (temp2)
23374 delete arg2;
23375 }
23376 return resultobj;
23377 fail:
23378 {
23379 if (temp2)
23380 delete arg2;
23381 }
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23389 wxString result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 {
23405 #if wxUSE_UNICODE
23406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23407 #else
23408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23409 #endif
23410 }
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23420 wxString result;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436 #if wxUSE_UNICODE
23437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23438 #else
23439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23440 #endif
23441 }
23442 return resultobj;
23443 fail:
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23451 wxString *arg2 = 0 ;
23452 bool temp2 = False ;
23453 PyObject * obj0 = 0 ;
23454 PyObject * obj1 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self",(char *) "path", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23461 {
23462 arg2 = wxString_in_helper(obj1);
23463 if (arg2 == NULL) SWIG_fail;
23464 temp2 = True;
23465 }
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 (arg1)->SetPath((wxString const &)*arg2);
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 Py_INCREF(Py_None); resultobj = Py_None;
23474 {
23475 if (temp2)
23476 delete arg2;
23477 }
23478 return resultobj;
23479 fail:
23480 {
23481 if (temp2)
23482 delete arg2;
23483 }
23484 return NULL;
23485 }
23486
23487
23488 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23491 bool arg2 ;
23492 PyObject * obj0 = 0 ;
23493 PyObject * obj1 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self",(char *) "show", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23500 arg2 = PyInt_AsLong(obj1) ? true : false;
23501 if (PyErr_Occurred()) SWIG_fail;
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 (arg1)->ShowHidden(arg2);
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 Py_INCREF(Py_None); resultobj = Py_None;
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23519 bool result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (bool)(arg1)->GetShowHidden();
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = PyInt_FromLong((long)result);
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23544 wxString result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 {
23560 #if wxUSE_UNICODE
23561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23562 #else
23563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23564 #endif
23565 }
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj;
23574 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23575 wxString *arg2 = 0 ;
23576 bool temp2 = False ;
23577 PyObject * obj0 = 0 ;
23578 PyObject * obj1 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "filter", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23585 {
23586 arg2 = wxString_in_helper(obj1);
23587 if (arg2 == NULL) SWIG_fail;
23588 temp2 = True;
23589 }
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->SetFilter((wxString const &)*arg2);
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 {
23599 if (temp2)
23600 delete arg2;
23601 }
23602 return resultobj;
23603 fail:
23604 {
23605 if (temp2)
23606 delete arg2;
23607 }
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23615 int result;
23616 PyObject * obj0 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 resultobj = PyInt_FromLong((long)result);
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23640 int arg2 ;
23641 PyObject * obj0 = 0 ;
23642 char *kwnames[] = {
23643 (char *) "self",(char *) "n", NULL
23644 };
23645
23646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->SetFilterIndex(arg2);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23665 wxTreeItemId result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (arg1)->GetRootId();
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 {
23681 wxTreeItemId * resultptr;
23682 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23684 }
23685 return resultobj;
23686 fail:
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23694 wxTreeCtrl *result;
23695 PyObject * obj0 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 {
23710 resultobj = wxPyMake_wxObject(result);
23711 }
23712 return resultobj;
23713 fail:
23714 return NULL;
23715 }
23716
23717
23718 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23719 PyObject *resultobj;
23720 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23721 wxDirFilterListCtrl *result;
23722 PyObject * obj0 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23737 return resultobj;
23738 fail:
23739 return NULL;
23740 }
23741
23742
23743 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23746 wxTreeItemId arg2 ;
23747 wxString *arg3 = 0 ;
23748 bool *arg4 = 0 ;
23749 wxTreeItemId result;
23750 wxTreeItemId *argp2 ;
23751 bool temp3 = False ;
23752 bool temp4 ;
23753 PyObject * obj0 = 0 ;
23754 PyObject * obj1 = 0 ;
23755 PyObject * obj2 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "self",(char *) "parentId",(char *) "path", NULL
23758 };
23759
23760 arg4 = &temp4;
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23763 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23764 arg2 = *argp2;
23765 {
23766 arg3 = wxString_in_helper(obj2);
23767 if (arg3 == NULL) SWIG_fail;
23768 temp3 = True;
23769 }
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 {
23778 wxTreeItemId * resultptr;
23779 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23781 }
23782 {
23783 PyObject *o = PyInt_FromLong((long) (*arg4));
23784 resultobj = t_output_helper(resultobj,o);
23785 }
23786 {
23787 if (temp3)
23788 delete arg3;
23789 }
23790 return resultobj;
23791 fail:
23792 {
23793 if (temp3)
23794 delete arg3;
23795 }
23796 return NULL;
23797 }
23798
23799
23800 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23803 PyObject * obj0 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->DoResize();
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 Py_INCREF(Py_None); resultobj = Py_None;
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23827 PyObject * obj0 = 0 ;
23828 char *kwnames[] = {
23829 (char *) "self", NULL
23830 };
23831
23832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->ReCreateTree();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 Py_INCREF(Py_None); resultobj = Py_None;
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23849 PyObject *obj;
23850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23851 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23852 Py_INCREF(obj);
23853 return Py_BuildValue((char *)"");
23854 }
23855 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23858 int arg2 = (int) (int)-1 ;
23859 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23860 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23861 wxSize const &arg4_defvalue = wxDefaultSize ;
23862 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23863 long arg5 = (long) 0 ;
23864 wxDirFilterListCtrl *result;
23865 wxPoint temp3 ;
23866 wxSize temp4 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj2 = 0 ;
23869 PyObject * obj3 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23876 if (obj2) {
23877 {
23878 arg3 = &temp3;
23879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23880 }
23881 }
23882 if (obj3) {
23883 {
23884 arg4 = &temp4;
23885 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23886 }
23887 }
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23896 return resultobj;
23897 fail:
23898 return NULL;
23899 }
23900
23901
23902 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23903 PyObject *resultobj;
23904 wxDirFilterListCtrl *result;
23905 char *kwnames[] = {
23906 NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23927 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23928 int arg3 = (int) (int)-1 ;
23929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23931 wxSize const &arg5_defvalue = wxDefaultSize ;
23932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23933 long arg6 = (long) 0 ;
23934 bool result;
23935 wxPoint temp4 ;
23936 wxSize temp5 ;
23937 PyObject * obj0 = 0 ;
23938 PyObject * obj1 = 0 ;
23939 PyObject * obj3 = 0 ;
23940 PyObject * obj4 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23948 if (obj3) {
23949 {
23950 arg4 = &temp4;
23951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23952 }
23953 }
23954 if (obj4) {
23955 {
23956 arg5 = &temp5;
23957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23958 }
23959 }
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23963
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 resultobj = PyInt_FromLong((long)result);
23968 return resultobj;
23969 fail:
23970 return NULL;
23971 }
23972
23973
23974 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23975 PyObject *resultobj;
23976 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23977 wxString *arg2 = 0 ;
23978 int arg3 ;
23979 bool temp2 = False ;
23980 PyObject * obj0 = 0 ;
23981 PyObject * obj1 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23988 {
23989 arg2 = wxString_in_helper(obj1);
23990 if (arg2 == NULL) SWIG_fail;
23991 temp2 = True;
23992 }
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23996
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 Py_INCREF(Py_None); resultobj = Py_None;
24001 {
24002 if (temp2)
24003 delete arg2;
24004 }
24005 return resultobj;
24006 fail:
24007 {
24008 if (temp2)
24009 delete arg2;
24010 }
24011 return NULL;
24012 }
24013
24014
24015 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24016 PyObject *obj;
24017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24018 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24019 Py_INCREF(obj);
24020 return Py_BuildValue((char *)"");
24021 }
24022 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxWindow *arg1 = (wxWindow *) 0 ;
24025 int arg2 ;
24026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24028 wxSize const &arg4_defvalue = wxDefaultSize ;
24029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24030 long arg5 = (long) 0 ;
24031 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24032 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24033 wxString const &arg7_defvalue = wxPyControlNameStr ;
24034 wxString *arg7 = (wxString *) &arg7_defvalue ;
24035 wxPyControl *result;
24036 wxPoint temp3 ;
24037 wxSize temp4 ;
24038 bool temp7 = False ;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj2 = 0 ;
24041 PyObject * obj3 = 0 ;
24042 PyObject * obj5 = 0 ;
24043 PyObject * obj6 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 if (obj2) {
24051 {
24052 arg3 = &temp3;
24053 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24054 }
24055 }
24056 if (obj3) {
24057 {
24058 arg4 = &temp4;
24059 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24060 }
24061 }
24062 if (obj5) {
24063 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24064 if (arg6 == NULL) {
24065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24066 }
24067 }
24068 if (obj6) {
24069 {
24070 arg7 = wxString_in_helper(obj6);
24071 if (arg7 == NULL) SWIG_fail;
24072 temp7 = True;
24073 }
24074 }
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24083 {
24084 if (temp7)
24085 delete arg7;
24086 }
24087 return resultobj;
24088 fail:
24089 {
24090 if (temp7)
24091 delete arg7;
24092 }
24093 return NULL;
24094 }
24095
24096
24097 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj;
24099 wxPyControl *arg1 = (wxPyControl *) 0 ;
24100 PyObject *arg2 = (PyObject *) 0 ;
24101 PyObject *arg3 = (PyObject *) 0 ;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 PyObject * obj2 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "self",(char *) "_class", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24111 arg2 = obj1;
24112 arg3 = obj2;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 (arg1)->_setCallbackInfo(arg2,arg3);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 Py_INCREF(Py_None); resultobj = Py_None;
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyControl *arg1 = (wxPyControl *) 0 ;
24130 int arg2 ;
24131 int arg3 ;
24132 int arg4 ;
24133 int arg5 ;
24134 PyObject * obj0 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 Py_INCREF(Py_None); resultobj = Py_None;
24149 return resultobj;
24150 fail:
24151 return NULL;
24152 }
24153
24154
24155 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj;
24157 wxPyControl *arg1 = (wxPyControl *) 0 ;
24158 int arg2 ;
24159 int arg3 ;
24160 int arg4 ;
24161 int arg5 ;
24162 int arg6 = (int) wxSIZE_AUTO ;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 Py_INCREF(Py_None); resultobj = Py_None;
24178 return resultobj;
24179 fail:
24180 return NULL;
24181 }
24182
24183
24184 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxPyControl *arg1 = (wxPyControl *) 0 ;
24187 int arg2 ;
24188 int arg3 ;
24189 PyObject * obj0 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "width",(char *) "height", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 (arg1)->base_DoSetClientSize(arg2,arg3);
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 Py_INCREF(Py_None); resultobj = Py_None;
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxPyControl *arg1 = (wxPyControl *) 0 ;
24213 int arg2 ;
24214 int arg3 ;
24215 PyObject * obj0 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self",(char *) "x",(char *) "y", NULL
24218 };
24219
24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 Py_INCREF(Py_None); resultobj = Py_None;
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxPyControl *arg1 = (wxPyControl *) 0 ;
24239 int *arg2 = (int *) 0 ;
24240 int *arg3 = (int *) 0 ;
24241 int temp2 ;
24242 int temp3 ;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 arg2 = &temp2;
24249 arg3 = &temp3;
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 Py_INCREF(Py_None); resultobj = Py_None;
24260 {
24261 PyObject *o = PyInt_FromLong((long) (*arg2));
24262 resultobj = t_output_helper(resultobj,o);
24263 }
24264 {
24265 PyObject *o = PyInt_FromLong((long) (*arg3));
24266 resultobj = t_output_helper(resultobj,o);
24267 }
24268 return resultobj;
24269 fail:
24270 return NULL;
24271 }
24272
24273
24274 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj;
24276 wxPyControl *arg1 = (wxPyControl *) 0 ;
24277 int *arg2 = (int *) 0 ;
24278 int *arg3 = (int *) 0 ;
24279 int temp2 ;
24280 int temp3 ;
24281 PyObject * obj0 = 0 ;
24282 char *kwnames[] = {
24283 (char *) "self", NULL
24284 };
24285
24286 arg2 = &temp2;
24287 arg3 = &temp3;
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 {
24299 PyObject *o = PyInt_FromLong((long) (*arg2));
24300 resultobj = t_output_helper(resultobj,o);
24301 }
24302 {
24303 PyObject *o = PyInt_FromLong((long) (*arg3));
24304 resultobj = t_output_helper(resultobj,o);
24305 }
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxPyControl *arg1 = (wxPyControl *) 0 ;
24315 int *arg2 = (int *) 0 ;
24316 int *arg3 = (int *) 0 ;
24317 int temp2 ;
24318 int temp3 ;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 arg2 = &temp2;
24325 arg3 = &temp3;
24326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 Py_INCREF(Py_None); resultobj = Py_None;
24336 {
24337 PyObject *o = PyInt_FromLong((long) (*arg2));
24338 resultobj = t_output_helper(resultobj,o);
24339 }
24340 {
24341 PyObject *o = PyInt_FromLong((long) (*arg3));
24342 resultobj = t_output_helper(resultobj,o);
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj;
24352 wxPyControl *arg1 = (wxPyControl *) 0 ;
24353 wxSize result;
24354 PyObject * obj0 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 {
24369 wxSize * resultptr;
24370 resultptr = new wxSize((wxSize &) result);
24371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24372 }
24373 return resultobj;
24374 fail:
24375 return NULL;
24376 }
24377
24378
24379 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24380 PyObject *resultobj;
24381 wxPyControl *arg1 = (wxPyControl *) 0 ;
24382 wxSize result;
24383 PyObject * obj0 = 0 ;
24384 char *kwnames[] = {
24385 (char *) "self", NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 {
24398 wxSize * resultptr;
24399 resultptr = new wxSize((wxSize &) result);
24400 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24401 }
24402 return resultobj;
24403 fail:
24404 return NULL;
24405 }
24406
24407
24408 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24409 PyObject *resultobj;
24410 wxPyControl *arg1 = (wxPyControl *) 0 ;
24411 PyObject * obj0 = 0 ;
24412 char *kwnames[] = {
24413 (char *) "self", NULL
24414 };
24415
24416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 (arg1)->base_InitDialog();
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 Py_INCREF(Py_None); resultobj = Py_None;
24426 return resultobj;
24427 fail:
24428 return NULL;
24429 }
24430
24431
24432 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxPyControl *arg1 = (wxPyControl *) 0 ;
24435 bool result;
24436 PyObject * obj0 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 result = (bool)(arg1)->base_TransferDataToWindow();
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 resultobj = PyInt_FromLong((long)result);
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxPyControl *arg1 = (wxPyControl *) 0 ;
24460 bool result;
24461 PyObject * obj0 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 result = (bool)(arg1)->base_TransferDataFromWindow();
24471
24472 wxPyEndAllowThreads(__tstate);
24473 if (PyErr_Occurred()) SWIG_fail;
24474 }
24475 resultobj = PyInt_FromLong((long)result);
24476 return resultobj;
24477 fail:
24478 return NULL;
24479 }
24480
24481
24482 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24483 PyObject *resultobj;
24484 wxPyControl *arg1 = (wxPyControl *) 0 ;
24485 bool result;
24486 PyObject * obj0 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 result = (bool)(arg1)->base_Validate();
24496
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 resultobj = PyInt_FromLong((long)result);
24501 return resultobj;
24502 fail:
24503 return NULL;
24504 }
24505
24506
24507 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj;
24509 wxPyControl *arg1 = (wxPyControl *) 0 ;
24510 bool result;
24511 PyObject * obj0 = 0 ;
24512 char *kwnames[] = {
24513 (char *) "self", NULL
24514 };
24515
24516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 resultobj = PyInt_FromLong((long)result);
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxPyControl *arg1 = (wxPyControl *) 0 ;
24535 bool result;
24536 PyObject * obj0 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 resultobj = PyInt_FromLong((long)result);
24551 return resultobj;
24552 fail:
24553 return NULL;
24554 }
24555
24556
24557 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24558 PyObject *resultobj;
24559 wxPyControl *arg1 = (wxPyControl *) 0 ;
24560 wxSize result;
24561 PyObject * obj0 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "self", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 {
24576 wxSize * resultptr;
24577 resultptr = new wxSize((wxSize &) result);
24578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24579 }
24580 return resultobj;
24581 fail:
24582 return NULL;
24583 }
24584
24585
24586 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24587 PyObject *resultobj;
24588 wxPyControl *arg1 = (wxPyControl *) 0 ;
24589 wxWindow *arg2 = (wxWindow *) 0 ;
24590 PyObject * obj0 = 0 ;
24591 PyObject * obj1 = 0 ;
24592 char *kwnames[] = {
24593 (char *) "self",(char *) "child", NULL
24594 };
24595
24596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24599 {
24600 PyThreadState* __tstate = wxPyBeginAllowThreads();
24601 (arg1)->base_AddChild(arg2);
24602
24603 wxPyEndAllowThreads(__tstate);
24604 if (PyErr_Occurred()) SWIG_fail;
24605 }
24606 Py_INCREF(Py_None); resultobj = Py_None;
24607 return resultobj;
24608 fail:
24609 return NULL;
24610 }
24611
24612
24613 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj;
24615 wxPyControl *arg1 = (wxPyControl *) 0 ;
24616 wxWindow *arg2 = (wxWindow *) 0 ;
24617 PyObject * obj0 = 0 ;
24618 PyObject * obj1 = 0 ;
24619 char *kwnames[] = {
24620 (char *) "self",(char *) "child", NULL
24621 };
24622
24623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 (arg1)->base_RemoveChild(arg2);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 Py_INCREF(Py_None); resultobj = Py_None;
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24641 PyObject *obj;
24642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24644 Py_INCREF(obj);
24645 return Py_BuildValue((char *)"");
24646 }
24647 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24650 int arg2 = (int) 0 ;
24651 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24652 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24653 wxHelpEvent *result;
24654 wxPoint temp3 ;
24655 PyObject * obj2 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "type",(char *) "winid",(char *) "pt", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24661 if (obj2) {
24662 {
24663 arg3 = &temp3;
24664 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24665 }
24666 }
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24684 wxPoint *result;
24685 PyObject * obj0 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 {
24695 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24696 result = (wxPoint *) &_result_ref;
24697 }
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24712 wxPoint *arg2 = 0 ;
24713 wxPoint temp2 ;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "pos", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24722 {
24723 arg2 = &temp2;
24724 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24725 }
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->SetPosition((wxPoint const &)*arg2);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj;
24742 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24743 wxString *result;
24744 PyObject * obj0 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 {
24754 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24755 result = (wxString *) &_result_ref;
24756 }
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 {
24762 #if wxUSE_UNICODE
24763 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24764 #else
24765 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24766 #endif
24767 }
24768 return resultobj;
24769 fail:
24770 return NULL;
24771 }
24772
24773
24774 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24775 PyObject *resultobj;
24776 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24777 wxString *arg2 = 0 ;
24778 bool temp2 = False ;
24779 PyObject * obj0 = 0 ;
24780 PyObject * obj1 = 0 ;
24781 char *kwnames[] = {
24782 (char *) "self",(char *) "link", NULL
24783 };
24784
24785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24787 {
24788 arg2 = wxString_in_helper(obj1);
24789 if (arg2 == NULL) SWIG_fail;
24790 temp2 = True;
24791 }
24792 {
24793 PyThreadState* __tstate = wxPyBeginAllowThreads();
24794 (arg1)->SetLink((wxString const &)*arg2);
24795
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 Py_INCREF(Py_None); resultobj = Py_None;
24800 {
24801 if (temp2)
24802 delete arg2;
24803 }
24804 return resultobj;
24805 fail:
24806 {
24807 if (temp2)
24808 delete arg2;
24809 }
24810 return NULL;
24811 }
24812
24813
24814 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24817 wxString *result;
24818 PyObject * obj0 = 0 ;
24819 char *kwnames[] = {
24820 (char *) "self", NULL
24821 };
24822
24823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 {
24828 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24829 result = (wxString *) &_result_ref;
24830 }
24831
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 {
24836 #if wxUSE_UNICODE
24837 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24838 #else
24839 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24840 #endif
24841 }
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24851 wxString *arg2 = 0 ;
24852 bool temp2 = False ;
24853 PyObject * obj0 = 0 ;
24854 PyObject * obj1 = 0 ;
24855 char *kwnames[] = {
24856 (char *) "self",(char *) "target", NULL
24857 };
24858
24859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24861 {
24862 arg2 = wxString_in_helper(obj1);
24863 if (arg2 == NULL) SWIG_fail;
24864 temp2 = True;
24865 }
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 (arg1)->SetTarget((wxString const &)*arg2);
24869
24870 wxPyEndAllowThreads(__tstate);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 Py_INCREF(Py_None); resultobj = Py_None;
24874 {
24875 if (temp2)
24876 delete arg2;
24877 }
24878 return resultobj;
24879 fail:
24880 {
24881 if (temp2)
24882 delete arg2;
24883 }
24884 return NULL;
24885 }
24886
24887
24888 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24889 PyObject *obj;
24890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24891 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24892 Py_INCREF(obj);
24893 return Py_BuildValue((char *)"");
24894 }
24895 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24896 PyObject *resultobj;
24897 wxWindow *arg1 = (wxWindow *) NULL ;
24898 bool arg2 = (bool) True ;
24899 wxContextHelp *result;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "window",(char *) "doNow", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24907 if (obj0) {
24908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24909 }
24910 if (obj1) {
24911 arg2 = PyInt_AsLong(obj1) ? true : false;
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24931 PyObject * obj0 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 delete arg1;
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 Py_INCREF(Py_None); resultobj = Py_None;
24946 return resultobj;
24947 fail:
24948 return NULL;
24949 }
24950
24951
24952 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24953 PyObject *resultobj;
24954 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24955 wxWindow *arg2 = (wxWindow *) NULL ;
24956 bool result;
24957 PyObject * obj0 = 0 ;
24958 PyObject * obj1 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self",(char *) "window", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24965 if (obj1) {
24966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = (bool)(arg1)->BeginContextHelp(arg2);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 resultobj = PyInt_FromLong((long)result);
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24985 bool result;
24986 PyObject * obj0 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 result = (bool)(arg1)->EndContextHelp();
24996
24997 wxPyEndAllowThreads(__tstate);
24998 if (PyErr_Occurred()) SWIG_fail;
24999 }
25000 resultobj = PyInt_FromLong((long)result);
25001 return resultobj;
25002 fail:
25003 return NULL;
25004 }
25005
25006
25007 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25008 PyObject *obj;
25009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25010 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25011 Py_INCREF(obj);
25012 return Py_BuildValue((char *)"");
25013 }
25014 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25015 PyObject *resultobj;
25016 wxWindow *arg1 = (wxWindow *) 0 ;
25017 int arg2 = (int) wxID_CONTEXT_HELP ;
25018 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25019 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25020 wxSize const &arg4_defvalue = wxDefaultSize ;
25021 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25022 long arg5 = (long) wxBU_AUTODRAW ;
25023 wxContextHelpButton *result;
25024 wxPoint temp3 ;
25025 wxSize temp4 ;
25026 PyObject * obj0 = 0 ;
25027 PyObject * obj2 = 0 ;
25028 PyObject * obj3 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25035 if (obj2) {
25036 {
25037 arg3 = &temp3;
25038 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25039 }
25040 }
25041 if (obj3) {
25042 {
25043 arg4 = &temp4;
25044 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25045 }
25046 }
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25062 PyObject *obj;
25063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25064 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25065 Py_INCREF(obj);
25066 return Py_BuildValue((char *)"");
25067 }
25068 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25069 PyObject *resultobj;
25070 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25071 wxHelpProvider *result;
25072 PyObject * obj0 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "helpProvider", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxHelpProvider *result;
25096 char *kwnames[] = {
25097 NULL
25098 };
25099
25100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (wxHelpProvider *)wxHelpProvider::Get();
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj;
25117 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25118 wxWindow *arg2 = (wxWindow *) 0 ;
25119 wxString result;
25120 PyObject * obj0 = 0 ;
25121 PyObject * obj1 = 0 ;
25122 char *kwnames[] = {
25123 (char *) "self",(char *) "window", NULL
25124 };
25125
25126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 result = (arg1)->GetHelp((wxWindow const *)arg2);
25132
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 {
25137 #if wxUSE_UNICODE
25138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25139 #else
25140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25141 #endif
25142 }
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25152 wxWindow *arg2 = (wxWindow *) 0 ;
25153 bool result;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "window", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 result = (bool)(arg1)->ShowHelp(arg2);
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 resultobj = PyInt_FromLong((long)result);
25171 return resultobj;
25172 fail:
25173 return NULL;
25174 }
25175
25176
25177 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25180 wxWindow *arg2 = (wxWindow *) 0 ;
25181 wxString *arg3 = 0 ;
25182 bool temp3 = False ;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 PyObject * obj2 = 0 ;
25186 char *kwnames[] = {
25187 (char *) "self",(char *) "window",(char *) "text", NULL
25188 };
25189
25190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25193 {
25194 arg3 = wxString_in_helper(obj2);
25195 if (arg3 == NULL) SWIG_fail;
25196 temp3 = True;
25197 }
25198 {
25199 PyThreadState* __tstate = wxPyBeginAllowThreads();
25200 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25201
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 Py_INCREF(Py_None); resultobj = Py_None;
25206 {
25207 if (temp3)
25208 delete arg3;
25209 }
25210 return resultobj;
25211 fail:
25212 {
25213 if (temp3)
25214 delete arg3;
25215 }
25216 return NULL;
25217 }
25218
25219
25220 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25223 int arg2 ;
25224 wxString *arg3 = 0 ;
25225 bool temp3 = False ;
25226 PyObject * obj0 = 0 ;
25227 PyObject * obj2 = 0 ;
25228 char *kwnames[] = {
25229 (char *) "self",(char *) "id",(char *) "text", NULL
25230 };
25231
25232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25234 {
25235 arg3 = wxString_in_helper(obj2);
25236 if (arg3 == NULL) SWIG_fail;
25237 temp3 = True;
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 Py_INCREF(Py_None); resultobj = Py_None;
25247 {
25248 if (temp3)
25249 delete arg3;
25250 }
25251 return resultobj;
25252 fail:
25253 {
25254 if (temp3)
25255 delete arg3;
25256 }
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25264 PyObject * obj0 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self", NULL
25267 };
25268
25269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 wxHelpProvider_Destroy(arg1);
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 Py_INCREF(Py_None); resultobj = Py_None;
25279 return resultobj;
25280 fail:
25281 return NULL;
25282 }
25283
25284
25285 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25286 PyObject *obj;
25287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25288 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25289 Py_INCREF(obj);
25290 return Py_BuildValue((char *)"");
25291 }
25292 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj;
25294 wxSimpleHelpProvider *result;
25295 char *kwnames[] = {
25296 NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25300 {
25301 PyThreadState* __tstate = wxPyBeginAllowThreads();
25302 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25303
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25308 return resultobj;
25309 fail:
25310 return NULL;
25311 }
25312
25313
25314 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25315 PyObject *obj;
25316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25317 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25318 Py_INCREF(obj);
25319 return Py_BuildValue((char *)"");
25320 }
25321 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxBitmap *arg1 = 0 ;
25324 wxCursor const &arg2_defvalue = wxNullCursor ;
25325 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25326 wxGenericDragImage *result;
25327 PyObject * obj0 = 0 ;
25328 PyObject * obj1 = 0 ;
25329 char *kwnames[] = {
25330 (char *) "image",(char *) "cursor", NULL
25331 };
25332
25333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 if (arg1 == NULL) {
25336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25337 }
25338 if (obj1) {
25339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25340 if (arg2 == NULL) {
25341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25342 }
25343 }
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25352 return resultobj;
25353 fail:
25354 return NULL;
25355 }
25356
25357
25358 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxIcon *arg1 = 0 ;
25361 wxCursor const &arg2_defvalue = wxNullCursor ;
25362 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25363 wxGenericDragImage *result;
25364 PyObject * obj0 = 0 ;
25365 PyObject * obj1 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "image",(char *) "cursor", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25372 if (arg1 == NULL) {
25373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25374 }
25375 if (obj1) {
25376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25377 if (arg2 == NULL) {
25378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25379 }
25380 }
25381 {
25382 PyThreadState* __tstate = wxPyBeginAllowThreads();
25383 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25384
25385 wxPyEndAllowThreads(__tstate);
25386 if (PyErr_Occurred()) SWIG_fail;
25387 }
25388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25389 return resultobj;
25390 fail:
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxString *arg1 = 0 ;
25398 wxCursor const &arg2_defvalue = wxNullCursor ;
25399 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25400 wxGenericDragImage *result;
25401 bool temp1 = False ;
25402 PyObject * obj0 = 0 ;
25403 PyObject * obj1 = 0 ;
25404 char *kwnames[] = {
25405 (char *) "str",(char *) "cursor", NULL
25406 };
25407
25408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25409 {
25410 arg1 = wxString_in_helper(obj0);
25411 if (arg1 == NULL) SWIG_fail;
25412 temp1 = True;
25413 }
25414 if (obj1) {
25415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25416 if (arg2 == NULL) {
25417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25418 }
25419 }
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25428 {
25429 if (temp1)
25430 delete arg1;
25431 }
25432 return resultobj;
25433 fail:
25434 {
25435 if (temp1)
25436 delete arg1;
25437 }
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxPyTreeCtrl *arg1 = 0 ;
25445 wxTreeItemId *arg2 = 0 ;
25446 wxGenericDragImage *result;
25447 PyObject * obj0 = 0 ;
25448 PyObject * obj1 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "treeCtrl",(char *) "id", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25455 if (arg1 == NULL) {
25456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25457 }
25458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25459 if (arg2 == NULL) {
25460 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25461 }
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxPyListCtrl *arg1 = 0 ;
25479 long arg2 ;
25480 wxGenericDragImage *result;
25481 PyObject * obj0 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "listCtrl",(char *) "id", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25488 if (arg1 == NULL) {
25489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25490 }
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25499 return resultobj;
25500 fail:
25501 return NULL;
25502 }
25503
25504
25505 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj;
25507 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25508 PyObject * obj0 = 0 ;
25509 char *kwnames[] = {
25510 (char *) "self", NULL
25511 };
25512
25513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 delete arg1;
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 Py_INCREF(Py_None); resultobj = Py_None;
25523 return resultobj;
25524 fail:
25525 return NULL;
25526 }
25527
25528
25529 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25530 PyObject *resultobj;
25531 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25532 wxBitmap *arg2 = (wxBitmap *) 0 ;
25533 PyObject * obj0 = 0 ;
25534 PyObject * obj1 = 0 ;
25535 char *kwnames[] = {
25536 (char *) "self",(char *) "bitmap", NULL
25537 };
25538
25539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 (arg1)->SetBackingBitmap(arg2);
25545
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
25549 Py_INCREF(Py_None); resultobj = Py_None;
25550 return resultobj;
25551 fail:
25552 return NULL;
25553 }
25554
25555
25556 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25557 PyObject *resultobj;
25558 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25559 wxPoint *arg2 = 0 ;
25560 wxWindow *arg3 = (wxWindow *) 0 ;
25561 bool arg4 = (bool) False ;
25562 wxRect *arg5 = (wxRect *) NULL ;
25563 bool result;
25564 wxPoint temp2 ;
25565 PyObject * obj0 = 0 ;
25566 PyObject * obj1 = 0 ;
25567 PyObject * obj2 = 0 ;
25568 PyObject * obj3 = 0 ;
25569 PyObject * obj4 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25576 {
25577 arg2 = &temp2;
25578 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25579 }
25580 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25581 if (obj3) {
25582 arg4 = PyInt_AsLong(obj3) ? true : false;
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 if (obj4) {
25586 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25587 }
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = PyInt_FromLong((long)result);
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25605 wxPoint *arg2 = 0 ;
25606 wxWindow *arg3 = (wxWindow *) 0 ;
25607 wxWindow *arg4 = (wxWindow *) 0 ;
25608 bool result;
25609 wxPoint temp2 ;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613 PyObject * obj3 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25620 {
25621 arg2 = &temp2;
25622 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25623 }
25624 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25625 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 resultobj = PyInt_FromLong((long)result);
25634 return resultobj;
25635 fail:
25636 return NULL;
25637 }
25638
25639
25640 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25641 PyObject *resultobj;
25642 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25643 bool result;
25644 PyObject * obj0 = 0 ;
25645 char *kwnames[] = {
25646 (char *) "self", NULL
25647 };
25648
25649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25651 {
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 result = (bool)(arg1)->EndDrag();
25654
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 resultobj = PyInt_FromLong((long)result);
25659 return resultobj;
25660 fail:
25661 return NULL;
25662 }
25663
25664
25665 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25666 PyObject *resultobj;
25667 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25668 wxPoint *arg2 = 0 ;
25669 bool result;
25670 wxPoint temp2 ;
25671 PyObject * obj0 = 0 ;
25672 PyObject * obj1 = 0 ;
25673 char *kwnames[] = {
25674 (char *) "self",(char *) "pt", NULL
25675 };
25676
25677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25679 {
25680 arg2 = &temp2;
25681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25682 }
25683 {
25684 PyThreadState* __tstate = wxPyBeginAllowThreads();
25685 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25686
25687 wxPyEndAllowThreads(__tstate);
25688 if (PyErr_Occurred()) SWIG_fail;
25689 }
25690 resultobj = PyInt_FromLong((long)result);
25691 return resultobj;
25692 fail:
25693 return NULL;
25694 }
25695
25696
25697 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25698 PyObject *resultobj;
25699 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25700 bool result;
25701 PyObject * obj0 = 0 ;
25702 char *kwnames[] = {
25703 (char *) "self", NULL
25704 };
25705
25706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 result = (bool)(arg1)->Show();
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 resultobj = PyInt_FromLong((long)result);
25716 return resultobj;
25717 fail:
25718 return NULL;
25719 }
25720
25721
25722 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25723 PyObject *resultobj;
25724 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25725 bool result;
25726 PyObject * obj0 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = (bool)(arg1)->Hide();
25736
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 resultobj = PyInt_FromLong((long)result);
25741 return resultobj;
25742 fail:
25743 return NULL;
25744 }
25745
25746
25747 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25748 PyObject *resultobj;
25749 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25750 wxPoint *arg2 = 0 ;
25751 wxRect result;
25752 wxPoint temp2 ;
25753 PyObject * obj0 = 0 ;
25754 PyObject * obj1 = 0 ;
25755 char *kwnames[] = {
25756 (char *) "self",(char *) "pos", NULL
25757 };
25758
25759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25761 {
25762 arg2 = &temp2;
25763 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25764 }
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 {
25773 wxRect * resultptr;
25774 resultptr = new wxRect((wxRect &) result);
25775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25776 }
25777 return resultobj;
25778 fail:
25779 return NULL;
25780 }
25781
25782
25783 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25786 wxDC *arg2 = 0 ;
25787 wxPoint *arg3 = 0 ;
25788 bool result;
25789 wxPoint temp3 ;
25790 PyObject * obj0 = 0 ;
25791 PyObject * obj1 = 0 ;
25792 PyObject * obj2 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "dc",(char *) "pos", NULL
25795 };
25796
25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25800 if (arg2 == NULL) {
25801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25802 }
25803 {
25804 arg3 = &temp3;
25805 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25806 }
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 resultobj = PyInt_FromLong((long)result);
25815 return resultobj;
25816 fail:
25817 return NULL;
25818 }
25819
25820
25821 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25822 PyObject *resultobj;
25823 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25824 wxDC *arg2 = 0 ;
25825 wxMemoryDC *arg3 = 0 ;
25826 wxRect *arg4 = 0 ;
25827 wxRect *arg5 = 0 ;
25828 bool result;
25829 wxRect temp4 ;
25830 wxRect temp5 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 PyObject * obj3 = 0 ;
25835 PyObject * obj4 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25843 if (arg2 == NULL) {
25844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25845 }
25846 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25847 if (arg3 == NULL) {
25848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25849 }
25850 {
25851 arg4 = &temp4;
25852 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25853 }
25854 {
25855 arg5 = &temp5;
25856 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25857 }
25858 {
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25861
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 resultobj = PyInt_FromLong((long)result);
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25873 PyObject *resultobj;
25874 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25875 wxPoint *arg2 = 0 ;
25876 wxPoint *arg3 = 0 ;
25877 bool arg4 ;
25878 bool arg5 ;
25879 bool result;
25880 wxPoint temp2 ;
25881 wxPoint temp3 ;
25882 PyObject * obj0 = 0 ;
25883 PyObject * obj1 = 0 ;
25884 PyObject * obj2 = 0 ;
25885 PyObject * obj3 = 0 ;
25886 PyObject * obj4 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25893 {
25894 arg2 = &temp2;
25895 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25896 }
25897 {
25898 arg3 = &temp3;
25899 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25900 }
25901 arg4 = PyInt_AsLong(obj3) ? true : false;
25902 if (PyErr_Occurred()) SWIG_fail;
25903 arg5 = PyInt_AsLong(obj4) ? true : false;
25904 if (PyErr_Occurred()) SWIG_fail;
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25908
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 resultobj = PyInt_FromLong((long)result);
25913 return resultobj;
25914 fail:
25915 return NULL;
25916 }
25917
25918
25919 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25920 PyObject *obj;
25921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25922 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25923 Py_INCREF(obj);
25924 return Py_BuildValue((char *)"");
25925 }
25926 static PyMethodDef SwigMethods[] = {
25927 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25933 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25948 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25959 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25968 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25986 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25999 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26003 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26009 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26013 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26020 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26039 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26048 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26049 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26077 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26130 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26135 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26146 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26158 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26169 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26186 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26192 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26217 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26224 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26244 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26250 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26259 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26261 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26266 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26268 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26273 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26278 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26308 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26353 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26358 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26370 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26422 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26449 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26518 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26530 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26538 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26545 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26561 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26633 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26655 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26660 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26681 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26689 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26694 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26696 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26704 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26706 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26724 { NULL, NULL }
26725 };
26726
26727
26728 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26729
26730 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26731 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26732 }
26733 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26734 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26735 }
26736 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26737 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26738 }
26739 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26740 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26741 }
26742 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26743 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26744 }
26745 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26746 return (void *)((wxSizer *) ((wxGridSizer *) x));
26747 }
26748 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26749 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26750 }
26751 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26752 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26753 }
26754 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26755 return (void *)((wxSizer *) ((wxPySizer *) x));
26756 }
26757 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26758 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26759 }
26760 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26762 }
26763 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26764 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26765 }
26766 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26767 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26768 }
26769 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26770 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26771 }
26772 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26773 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26774 }
26775 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26776 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26777 }
26778 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26779 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26780 }
26781 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26782 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26783 }
26784 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26785 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26786 }
26787 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26788 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26789 }
26790 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26791 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26792 }
26793 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26794 return (void *)((wxEvent *) ((wxPyEvent *) x));
26795 }
26796 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26798 }
26799 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26800 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26801 }
26802 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26803 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26804 }
26805 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26806 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26807 }
26808 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26809 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26810 }
26811 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26812 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26813 }
26814 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26815 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26816 }
26817 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26818 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26819 }
26820 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26821 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26822 }
26823 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26824 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26825 }
26826 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26827 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26828 }
26829 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26830 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26831 }
26832 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26833 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26834 }
26835 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26836 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26837 }
26838 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26839 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26840 }
26841 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26843 }
26844 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26845 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26846 }
26847 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26848 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26849 }
26850 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26851 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26852 }
26853 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26854 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26855 }
26856 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26857 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26858 }
26859 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26860 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26861 }
26862 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26864 }
26865 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26866 return (void *)((wxEvent *) ((wxShowEvent *) x));
26867 }
26868 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26869 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26870 }
26871 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26873 }
26874 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26875 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26876 }
26877 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26878 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26879 }
26880 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26881 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26882 }
26883 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26884 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26885 }
26886 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26887 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26888 }
26889 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26890 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26891 }
26892 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26893 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26894 }
26895 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26896 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26897 }
26898 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26899 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26900 }
26901 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26902 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26903 }
26904 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26905 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26906 }
26907 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26908 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26909 }
26910 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26911 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26912 }
26913 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26914 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26915 }
26916 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26917 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26918 }
26919 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26920 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26921 }
26922 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26923 return (void *)((wxControl *) ((wxComboBox *) x));
26924 }
26925 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26926 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26927 }
26928 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26929 return (void *)((wxControl *) ((wxStaticBox *) x));
26930 }
26931 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26932 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26933 }
26934 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26935 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26936 }
26937 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26938 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26939 }
26940 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26941 return (void *)((wxControl *) ((wxScrollBar *) x));
26942 }
26943 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26944 return (void *)((wxControl *) ((wxBookCtrl *) x));
26945 }
26946 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26947 return (void *)((wxControl *) ((wxRadioButton *) x));
26948 }
26949 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26950 return (void *)((wxControl *) ((wxToggleButton *) x));
26951 }
26952 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26953 return (void *)((wxControl *) ((wxGauge *) x));
26954 }
26955 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26956 return (void *)((wxControl *) ((wxToolBarBase *) x));
26957 }
26958 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26959 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26960 }
26961 static void *_p_wxButtonTo_p_wxControl(void *x) {
26962 return (void *)((wxControl *) ((wxButton *) x));
26963 }
26964 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26965 return (void *)((wxControl *) ((wxSpinButton *) x));
26966 }
26967 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26968 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26969 }
26970 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26971 return (void *)((wxControl *) ((wxControlWithItems *) x));
26972 }
26973 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26974 return (void *)((wxControl *) ((wxRadioBox *) x));
26975 }
26976 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26977 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26978 }
26979 static void *_p_wxListbookTo_p_wxControl(void *x) {
26980 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26981 }
26982 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26983 return (void *)((wxControl *) ((wxCheckBox *) x));
26984 }
26985 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26986 return (void *)((wxControl *) ((wxTextCtrl *) x));
26987 }
26988 static void *_p_wxListViewTo_p_wxControl(void *x) {
26989 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26990 }
26991 static void *_p_wxSliderTo_p_wxControl(void *x) {
26992 return (void *)((wxControl *) ((wxSlider *) x));
26993 }
26994 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26995 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26996 }
26997 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26998 return (void *)((wxControl *) ((wxPyControl *) x));
26999 }
27000 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27001 return (void *)((wxControl *) ((wxStaticLine *) x));
27002 }
27003 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27004 return (void *)((wxControl *) ((wxStaticText *) x));
27005 }
27006 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27007 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27008 }
27009 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27010 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27011 }
27012 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27013 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27014 }
27015 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27016 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27017 }
27018 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27019 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27020 }
27021 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27022 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27023 }
27024 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27025 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27026 }
27027 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27029 }
27030 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27031 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27032 }
27033 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27034 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27035 }
27036 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27037 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27038 }
27039 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27040 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27041 }
27042 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27043 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27044 }
27045 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27047 }
27048 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27050 }
27051 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27052 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27053 }
27054 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27055 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27056 }
27057 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27059 }
27060 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27062 }
27063 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27065 }
27066 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27068 }
27069 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27071 }
27072 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27073 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27074 }
27075 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27077 }
27078 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27080 }
27081 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27083 }
27084 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27086 }
27087 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27089 }
27090 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27092 }
27093 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27095 }
27096 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27098 }
27099 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27101 }
27102 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27104 }
27105 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27107 }
27108 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27110 }
27111 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27113 }
27114 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27116 }
27117 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27119 }
27120 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27122 }
27123 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27125 }
27126 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27128 }
27129 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27131 }
27132 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27134 }
27135 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27137 }
27138 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27140 }
27141 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27143 }
27144 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27146 }
27147 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27148 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27149 }
27150 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27151 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27152 }
27153 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27154 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27155 }
27156 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27157 return (void *)((wxButton *) ((wxBitmapButton *) x));
27158 }
27159 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27160 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27161 }
27162 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27163 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27164 }
27165 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27166 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27167 }
27168 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27169 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27170 }
27171 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27172 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27173 }
27174 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27175 return (void *)((wxObject *) ((wxSizerItem *) x));
27176 }
27177 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27178 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27179 }
27180 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27181 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27182 }
27183 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27184 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27185 }
27186 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27187 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27188 }
27189 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27190 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27191 }
27192 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27193 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27194 }
27195 static void *_p_wxSizerTo_p_wxObject(void *x) {
27196 return (void *)((wxObject *) ((wxSizer *) x));
27197 }
27198 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27199 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27200 }
27201 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27203 }
27204 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27206 }
27207 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27208 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27209 }
27210 static void *_p_wxEventTo_p_wxObject(void *x) {
27211 return (void *)((wxObject *) ((wxEvent *) x));
27212 }
27213 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27214 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27215 }
27216 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27217 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27218 }
27219 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27220 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27221 }
27222 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27224 }
27225 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27227 }
27228 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27230 }
27231 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27232 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27233 }
27234 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27235 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27236 }
27237 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27238 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27239 }
27240 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27241 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27242 }
27243 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27244 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27245 }
27246 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27247 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27248 }
27249 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27251 }
27252 static void *_p_wxControlTo_p_wxObject(void *x) {
27253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27254 }
27255 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27257 }
27258 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27260 }
27261 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27263 }
27264 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27266 }
27267 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27269 }
27270 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27271 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27272 }
27273 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27275 }
27276 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27277 return (void *)((wxObject *) ((wxFSFile *) x));
27278 }
27279 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27280 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27281 }
27282 static void *_p_wxListViewTo_p_wxObject(void *x) {
27283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27284 }
27285 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27287 }
27288 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27290 }
27291 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27292 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27293 }
27294 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27296 }
27297 static void *_p_wxListbookTo_p_wxObject(void *x) {
27298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27299 }
27300 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27301 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27302 }
27303 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27305 }
27306 static void *_p_wxSliderTo_p_wxObject(void *x) {
27307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27308 }
27309 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27310 return (void *)((wxObject *) ((wxMenuItem *) x));
27311 }
27312 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27313 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27314 }
27315 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27317 }
27318 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27319 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27320 }
27321 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27322 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27323 }
27324 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27325 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27326 }
27327 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27328 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27329 }
27330 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27331 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27332 }
27333 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27334 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27335 }
27336 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27338 }
27339 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27340 return (void *)((wxObject *) ((wxContextHelp *) x));
27341 }
27342 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27343 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27344 }
27345 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27346 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27347 }
27348 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27349 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27350 }
27351 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27352 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27353 }
27354 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27355 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27356 }
27357 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27358 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27359 }
27360 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27361 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27362 }
27363 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27364 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27365 }
27366 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27367 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27368 }
27369 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27370 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27371 }
27372 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27373 return (void *)((wxObject *) ((wxImageHandler *) x));
27374 }
27375 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27376 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27377 }
27378 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27379 return (void *)((wxObject *) ((wxEvtHandler *) x));
27380 }
27381 static void *_p_wxListEventTo_p_wxObject(void *x) {
27382 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27383 }
27384 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27386 }
27387 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27389 }
27390 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27392 }
27393 static void *_p_wxButtonTo_p_wxObject(void *x) {
27394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27395 }
27396 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27398 }
27399 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27401 }
27402 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27404 }
27405 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27406 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27407 }
27408 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27410 }
27411 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27413 }
27414 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27416 }
27417 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27418 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27419 }
27420 static void *_p_wxListItemTo_p_wxObject(void *x) {
27421 return (void *)((wxObject *) ((wxListItem *) x));
27422 }
27423 static void *_p_wxImageTo_p_wxObject(void *x) {
27424 return (void *)((wxObject *) ((wxImage *) x));
27425 }
27426 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27427 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27428 }
27429 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27430 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27431 }
27432 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27433 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27434 }
27435 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27437 }
27438 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27440 }
27441 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27443 }
27444 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27445 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27446 }
27447 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27448 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27449 }
27450 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27451 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27452 }
27453 static void *_p_wxWindowTo_p_wxObject(void *x) {
27454 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27455 }
27456 static void *_p_wxMenuTo_p_wxObject(void *x) {
27457 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27458 }
27459 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27461 }
27462 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27463 return (void *)((wxObject *) ((wxFileSystem *) x));
27464 }
27465 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27466 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27467 }
27468 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27469 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27470 }
27471 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27472 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27473 }
27474 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27475 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27476 }
27477 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27478 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27479 }
27480 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27481 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27482 }
27483 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27485 }
27486 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27488 }
27489 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27490 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27491 }
27492 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27494 }
27495 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27496 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27497 }
27498 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27499 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27500 }
27501 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27503 }
27504 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27506 }
27507 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27508 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27509 }
27510 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27512 }
27513 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27514 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27515 }
27516 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27517 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27518 }
27519 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27520 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27521 }
27522 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27523 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27524 }
27525 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27526 return (void *)((wxWindow *) ((wxMenuBar *) x));
27527 }
27528 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27529 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27530 }
27531 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27532 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27533 }
27534 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27535 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27536 }
27537 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27538 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27539 }
27540 static void *_p_wxControlTo_p_wxWindow(void *x) {
27541 return (void *)((wxWindow *) ((wxControl *) x));
27542 }
27543 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27544 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27545 }
27546 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27547 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27548 }
27549 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27550 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27551 }
27552 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27553 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27554 }
27555 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27556 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27557 }
27558 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27559 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27560 }
27561 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27562 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27563 }
27564 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27565 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27566 }
27567 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27568 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27569 }
27570 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27571 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27572 }
27573 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27574 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27575 }
27576 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27577 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27578 }
27579 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27580 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27581 }
27582 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27583 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27584 }
27585 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27586 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27587 }
27588 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27589 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27590 }
27591 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27592 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27593 }
27594 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27595 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27596 }
27597 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27598 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27599 }
27600 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27601 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27602 }
27603 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27604 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27605 }
27606 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27607 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27608 }
27609 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27610 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27611 }
27612 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27613 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27614 }
27615 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27616 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27617 }
27618 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27619 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27620 }
27621 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27622 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27623 }
27624 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27625 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27626 }
27627 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27628 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27629 }
27630 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27631 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27632 }
27633 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27634 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27635 }
27636 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27637 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27638 }
27639 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27640 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27641 }
27642 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27643 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27644 }
27645 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27646 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27647 }
27648 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27649 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27650 }
27651 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27652 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27653 }
27654 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27655 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27656 }
27657 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27658 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27659 }
27660 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27661 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27662 }
27663 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27664 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27665 }
27666 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27667 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27668 }
27669 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27670 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27671 }
27672 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27673 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27674 }
27675 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27676 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27677 }
27678 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27679 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27680 }
27681 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27682 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27683 }
27684 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27685 return (void *)((wxValidator *) ((wxPyValidator *) x));
27686 }
27687 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27688 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}};
27689 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}};
27690 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27691 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27692 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27693 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27694 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}};
27695 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27696 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27697 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27698 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}};
27699 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27700 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27701 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27702 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}};
27703 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27704 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27705 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27706 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27707 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27708 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27709 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27710 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27711 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27712 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27713 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27714 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27715 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27716 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27717 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27718 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27719 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}};
27720 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27721 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27722 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27723 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27724 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27725 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27726 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27727 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27728 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}};
27729 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27730 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27731 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27732 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}};
27733 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27734 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}};
27735 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27736 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27737 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27738 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27739 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27740 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27741 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27742 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27743 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27744 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27745 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27746 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27747 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27748 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27749 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27750 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27751 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27752 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27753 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27754 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}};
27755 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27756 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27757 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}};
27758 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27759 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27760 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27761 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27762 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}};
27763 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27764 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}};
27765 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27766 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27767 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27768 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27769 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27770
27771 static swig_type_info *swig_types_initial[] = {
27772 _swigt__p_wxTextUrlEvent,
27773 _swigt__p_wxBookCtrlEvent,
27774 _swigt__p_wxSizer,
27775 _swigt__p_wxTreeItemIdValue,
27776 _swigt__wxTreeItemIdValue,
27777 _swigt__p_wxCheckBox,
27778 _swigt__p_wxPyTreeCtrl,
27779 _swigt__p_wxEvent,
27780 _swigt__p_wxGenericDirCtrl,
27781 _swigt__p_bool,
27782 _swigt__p_wxPyTreeItemData,
27783 _swigt__p_wxItemContainer,
27784 _swigt__p_wxDirFilterListCtrl,
27785 _swigt__p_wxPyListCtrl,
27786 _swigt__p_wxStaticLine,
27787 _swigt__p_wxControl,
27788 _swigt__p_wxPyControl,
27789 _swigt__p_wxGauge,
27790 _swigt__p_wxToolBarBase,
27791 _swigt__p_wxFont,
27792 _swigt__p_wxToggleButton,
27793 _swigt__p_wxRadioButton,
27794 _swigt__p_wxChoice,
27795 _swigt__p_wxMemoryDC,
27796 _swigt__p_wxListItemAttr,
27797 _swigt__p_int,
27798 _swigt__p_wxSize,
27799 _swigt__p_wxDC,
27800 _swigt__p_wxListView,
27801 _swigt__p_wxIcon,
27802 _swigt__p_wxTextCtrl,
27803 _swigt__p_wxNotebook,
27804 _swigt__p_wxNotifyEvent,
27805 _swigt__p_wxArrayString,
27806 _swigt__p_wxListbook,
27807 _swigt__p_wxStaticBitmap,
27808 _swigt__p_wxSlider,
27809 _swigt__p_wxStaticBox,
27810 _swigt__p_wxArrayInt,
27811 _swigt__p_wxContextHelp,
27812 _swigt__p_long,
27813 _swigt__p_wxEvtHandler,
27814 _swigt__p_wxListEvent,
27815 _swigt__p_wxListBox,
27816 _swigt__p_wxCheckListBox,
27817 _swigt__p_wxBookCtrl,
27818 _swigt__p_wxSpinButton,
27819 _swigt__p_wxButton,
27820 _swigt__p_wxBitmapButton,
27821 _swigt__p_wxRect,
27822 _swigt__p_wxContextHelpButton,
27823 _swigt__p_wxRadioBox,
27824 _swigt__p_wxScrollBar,
27825 _swigt__p_wxTreeItemId,
27826 _swigt__p_wxComboBox,
27827 _swigt__p_wxHelpEvent,
27828 _swigt__p_wxListItem,
27829 _swigt__p_wxNotebookSizer,
27830 _swigt__p_wxGenericDragImage,
27831 _swigt__p_wxSpinCtrl,
27832 _swigt__p_wxImageList,
27833 _swigt__p_wxHelpProvider,
27834 _swigt__p_wxTextAttr,
27835 _swigt__p_wxSimpleHelpProvider,
27836 _swigt__p_wxPoint,
27837 _swigt__p_wxListbookEvent,
27838 _swigt__p_wxNotebookEvent,
27839 _swigt__p_wxObject,
27840 _swigt__p_wxCursor,
27841 _swigt__p_wxKeyEvent,
27842 _swigt__p_wxWindow,
27843 _swigt__p_wxString,
27844 _swigt__p_wxBitmap,
27845 _swigt__p_wxTreeEvent,
27846 _swigt__p_wxMouseEvent,
27847 _swigt__p_wxCommandEvent,
27848 _swigt__p_wxStaticText,
27849 _swigt__p_wxControlWithItems,
27850 _swigt__p_wxToolBarToolBase,
27851 _swigt__p_wxColour,
27852 _swigt__p_wxToolBar,
27853 _swigt__p_wxBookCtrlSizer,
27854 _swigt__p_wxValidator,
27855 0
27856 };
27857
27858
27859 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27860
27861 static swig_const_info swig_const_table[] = {
27862 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27863 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27864 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27865 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27866 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27867 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27868 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27869 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27870 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27871 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27872 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27873 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27874 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27875 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27876 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27877 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27878 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27879 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27880 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27881 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27882 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27883 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27884 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27885 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27886 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27887 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27888 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27889 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27890 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27891 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27892 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27893 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27894 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27895 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27896 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27897 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27898 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27899 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27900 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27901 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27902 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27903 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27904 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27905 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27906 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27907 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27908 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27909 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27910 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27911 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27912 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27913 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27914 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27915 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27916 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27917 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27918 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27919 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27920 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27921 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27922 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27923 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27924 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27925 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27926 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27927 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27928 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27929 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27930 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27931 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27932 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27933 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27934 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27935 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27936 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27937 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27938 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27939 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27940 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27941 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27942 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27943 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27944 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27945 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27946 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27947 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27948 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27949 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27950 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27951 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27952 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27953 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27954 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27955 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27956 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27957 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27958 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27959 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27960 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27961 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27962 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27963 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27964 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27965 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27966 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27967 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27968 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27969 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27970 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27971 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27972 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27973 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27974 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27975 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27976 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27977 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27978 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27979 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27980 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27981 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27982 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27983 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27984 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27985 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27986 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27987 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27988 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27989 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27990 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27991 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27992 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27993 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27994 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27995 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27996 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27997 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27998 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27999 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28000 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28001 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28002 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28003 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28004 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28005 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28006 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28007 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28008 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28009 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28010 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28011 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28012 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28013 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28014 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28015 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28016 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28017 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28018 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28019 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28020 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28021 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28022 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28023 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28024 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28112 {0}};
28113
28114 #ifdef __cplusplus
28115 }
28116 #endif
28117
28118 #ifdef __cplusplus
28119 extern "C"
28120 #endif
28121 SWIGEXPORT(void) SWIG_init(void) {
28122 static PyObject *SWIG_globals = 0;
28123 static int typeinit = 0;
28124 PyObject *m, *d;
28125 int i;
28126 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28127 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28128 d = PyModule_GetDict(m);
28129
28130 if (!typeinit) {
28131 for (i = 0; swig_types_initial[i]; i++) {
28132 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28133 }
28134 typeinit = 1;
28135 }
28136 SWIG_InstallConstants(d,swig_const_table);
28137
28138 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28139 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28140 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28141 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28142 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28143 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28144 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28145 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28146 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28147 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28165 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28166 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28167 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28168 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28169 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28170
28171 // Map renamed classes back to their common name for OOR
28172 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28173
28174 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28175 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28176 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28177 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28178 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28179 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28180 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28181 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28182 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28183 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28184 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28185 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28186 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28187 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28188 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28189 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28190 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28191 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28192 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28193 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28194
28195 // Map renamed classes back to their common name for OOR
28196 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28197 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28198
28199 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28200 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28201
28202 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28203
28204 }
28205