]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
215 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
216 #define SWIGTYPE_p_wxCheckBox swig_types[5]
217 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
220 #define SWIGTYPE_p_bool swig_types[9]
221 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
222 #define SWIGTYPE_p_wxItemContainer swig_types[11]
223 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
224 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
225 #define SWIGTYPE_p_wxStaticLine swig_types[14]
226 #define SWIGTYPE_p_wxControl swig_types[15]
227 #define SWIGTYPE_p_wxPyControl swig_types[16]
228 #define SWIGTYPE_p_wxGauge swig_types[17]
229 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
230 #define SWIGTYPE_p_wxFont swig_types[19]
231 #define SWIGTYPE_p_wxToggleButton swig_types[20]
232 #define SWIGTYPE_p_wxRadioButton swig_types[21]
233 #define SWIGTYPE_p_wxChoice swig_types[22]
234 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
235 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
236 #define SWIGTYPE_p_int swig_types[25]
237 #define SWIGTYPE_p_wxSize swig_types[26]
238 #define SWIGTYPE_p_wxDC swig_types[27]
239 #define SWIGTYPE_p_wxListView swig_types[28]
240 #define SWIGTYPE_p_wxIcon swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxListBox swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
265 #define SWIGTYPE_p_wxComboBox swig_types[54]
266 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
267 #define SWIGTYPE_p_wxListItem swig_types[56]
268 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
271 #define SWIGTYPE_p_wxImageList swig_types[60]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
273 #define SWIGTYPE_p_wxTextAttr swig_types[62]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxPoint swig_types[64]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
278 #define SWIGTYPE_p_wxObject swig_types[67]
279 #define SWIGTYPE_p_wxCursor swig_types[68]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
281 #define SWIGTYPE_p_wxWindow swig_types[70]
282 #define SWIGTYPE_p_wxString swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxStaticText swig_types[76]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
293 #define SWIGTYPE_p_wxValidator swig_types[82]
294 static swig_type_info *swig_types[84];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
303
304 #define SWIG_name "_controls"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311 DECLARE_DEF_STRING(ControlNameStr);
312
313
314
315 DECLARE_DEF_STRING(ButtonNameStr);
316
317
318 DECLARE_DEF_STRING(CheckBoxNameStr);
319
320
321 DECLARE_DEF_STRING(ChoiceNameStr);
322
323
324 DECLARE_DEF_STRING(ComboBoxNameStr);
325
326
327 DECLARE_DEF_STRING(GaugeNameStr);
328
329
330 DECLARE_DEF_STRING(StaticBitmapNameStr);
331 DECLARE_DEF_STRING(StaticBoxNameStr);
332 DECLARE_DEF_STRING(StaticTextNameStr);
333
334
335 #include <wx/checklst.h>
336
337 DECLARE_DEF_STRING(ListBoxNameStr);
338
339 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
340 if (clientData) {
341 wxPyClientData* data = new wxPyClientData(clientData);
342 self->Insert(item, pos, data);
343 } else
344 self->Insert(item, pos);
345 }
346 PyObject *wxListBox_GetSelections(wxListBox *self){
347 wxArrayInt lst;
348 self->GetSelections(lst);
349 PyObject *tup = PyTuple_New(lst.GetCount());
350 for(size_t i=0; i<lst.GetCount(); i++) {
351 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
352 }
353 return tup;
354 }
355
356 DECLARE_DEF_STRING(TextCtrlNameStr);
357
358
359 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
360 PyObject* o2;
361 PyObject* o3;
362
363 if (!target) {
364 target = o;
365 } else if (target == Py_None) {
366 Py_DECREF(Py_None);
367 target = o;
368 } else {
369 if (!PyTuple_Check(target)) {
370 o2 = target;
371 target = PyTuple_New(1);
372 PyTuple_SetItem(target, 0, o2);
373 }
374 o3 = PyTuple_New(1);
375 PyTuple_SetItem(o3, 0, o);
376
377 o2 = target;
378 target = PySequence_Concat(o2, o3);
379 Py_DECREF(o2);
380 Py_DECREF(o3);
381 }
382 return target;
383 }
384
385 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
386 self->AppendText(text);
387 }
388 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
389 return self->GetValue().Mid(from, to - from);
390 }
391
392 DECLARE_DEF_STRING(ScrollBarNameStr);
393
394
395 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
396 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
397 DECLARE_DEF_STRING(SpinCtrlNameStr);
398
399
400 DECLARE_DEF_STRING(RadioBoxNameStr);
401 DECLARE_DEF_STRING(RadioButtonNameStr);
402
403
404 #include <wx/slider.h>
405
406 DECLARE_DEF_STRING(SliderNameStr);
407
408
409 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
410 DECLARE_DEF_STRING(ToggleButtonNameStr);
411
412
413 #ifdef __WXMAC__
414 // implement dummy classes and such for wxMac
415
416 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
417
418 class wxToggleButton : public wxControl
419 {
420 public:
421 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
422 const wxPoint&, const wxSize&, long,
423 const wxValidator&, const wxString&)
424 { PyErr_SetNone(PyExc_NotImplementedError); }
425
426 wxToggleButton()
427 { PyErr_SetNone(PyExc_NotImplementedError); }
428 };
429 #endif
430
431
432 DECLARE_DEF_STRING(NOTEBOOK_NAME);
433
434
435 DECLARE_DEF_STRING(ToolBarNameStr);
436
437 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
438 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
439 if (udata) {
440 Py_INCREF(udata->m_obj);
441 return udata->m_obj;
442 } else {
443 Py_INCREF(Py_None);
444 return Py_None;
445 }
446 }
447 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
448 self->SetClientData(new wxPyUserData(clientData));
449 }
450 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){
451 wxPyUserData* udata = NULL;
452 if (clientData && clientData != Py_None)
453 udata = new wxPyUserData(clientData);
454 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
455 shortHelp, longHelp, udata);
456 }
457 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){
458 wxPyUserData* udata = NULL;
459 if (clientData && clientData != Py_None)
460 udata = new wxPyUserData(clientData);
461 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
462 shortHelp, longHelp, udata);
463 }
464 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
465 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
466 if (udata) {
467 Py_INCREF(udata->m_obj);
468 return udata->m_obj;
469 } else {
470 Py_INCREF(Py_None);
471 return Py_None;
472 }
473 }
474 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
475 self->SetToolClientData(id, new wxPyUserData(clientData));
476 }
477
478 #include <wx/listctrl.h>
479
480 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
481 DECLARE_DEF_STRING(ListCtrlNameStr);
482
483 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
484 // Python aware sorting function for wxPyListCtrl
485 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
486 int retval = 0;
487 PyObject* func = (PyObject*)funcPtr;
488 wxPyBeginBlockThreads();
489
490 PyObject* args = Py_BuildValue("(ii)", item1, item2);
491 PyObject* result = PyEval_CallObject(func, args);
492 Py_DECREF(args);
493 if (result) {
494 retval = PyInt_AsLong(result);
495 Py_DECREF(result);
496 }
497
498 wxPyEndBlockThreads();
499 return retval;
500 }
501
502 // C++ Version of a Python aware class
503 class wxPyListCtrl : public wxListCtrl {
504 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
505 public:
506 wxPyListCtrl() : wxListCtrl() {}
507 wxPyListCtrl(wxWindow* parent, wxWindowID id,
508 const wxPoint& pos,
509 const wxSize& size,
510 long style,
511 const wxValidator& validator,
512 const wxString& name) :
513 wxListCtrl(parent, id, pos, size, style, validator, name) {}
514
515 bool Create(wxWindow* parent, wxWindowID id,
516 const wxPoint& pos,
517 const wxSize& size,
518 long style,
519 const wxValidator& validator,
520 const wxString& name) {
521 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
522 }
523
524 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
525 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
526 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
527
528 PYPRIVATE;
529 };
530
531 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
532
533 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
534 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
535 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
536
537 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
538 wxListItem item;
539 item.SetMask( wxLIST_MASK_STATE |
540 wxLIST_MASK_TEXT |
541 wxLIST_MASK_IMAGE |
542 wxLIST_MASK_DATA |
543 wxLIST_SET_ITEM |
544 wxLIST_MASK_WIDTH |
545 wxLIST_MASK_FORMAT
546 );
547 if (self->GetColumn(col, item))
548 return new wxListItem(item);
549 else
550 return NULL;
551 }
552 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
553 wxListItem* info = new wxListItem;
554 info->m_itemId = itemId;
555 info->m_col = col;
556 info->m_mask = 0xFFFF;
557 self->GetItem(*info);
558 return info;
559 }
560 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
561 wxPoint pos;
562 self->GetItemPosition(item, pos);
563 return pos;
564 }
565 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
566 wxRect rect;
567 self->GetItemRect(item, rect, code);
568 return rect;
569 }
570 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
571 if (!PyCallable_Check(func))
572 return False;
573 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
574 }
575 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
576
577
578
579 return (wxWindow*)self->m_mainWin;
580
581 }
582
583 #include <wx/treectrl.h>
584 #include "wx/wxPython/pytree.h"
585
586 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
587 DECLARE_DEF_STRING(_TreeCtrlNameStr);
588
589 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
590 if (!other) return False;
591 return *self == *other;
592 }
593 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
594 if (!other) return True;
595 return *self != *other;
596 }
597 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
598 // C++ version of Python aware wxTreeCtrl
599 class wxPyTreeCtrl : public wxTreeCtrl {
600 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
601 public:
602 wxPyTreeCtrl() : wxTreeCtrl() {}
603 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
604 const wxPoint& pos,
605 const wxSize& size,
606 long style,
607 const wxValidator& validator,
608 const wxString& name) :
609 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
610
611 bool Create(wxWindow *parent, wxWindowID id,
612 const wxPoint& pos,
613 const wxSize& size,
614 long style,
615 const wxValidator& validator,
616 const wxString& name) {
617 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
618 }
619
620
621 int OnCompareItems(const wxTreeItemId& item1,
622 const wxTreeItemId& item2) {
623 int rval = 0;
624 bool found;
625 wxPyBeginBlockThreads();
626 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
627 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
628 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
629 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
630 Py_DECREF(o1);
631 Py_DECREF(o2);
632 }
633 wxPyEndBlockThreads();
634 if (! found)
635 rval = wxTreeCtrl::OnCompareItems(item1, item2);
636 return rval;
637 }
638 PYPRIVATE;
639 };
640
641 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
642
643
644 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
645 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
646 if (data == NULL) {
647 data = new wxPyTreeItemData();
648 data->SetId(item); // set the id
649 self->SetItemData(item, data);
650 }
651 return data;
652 }
653 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
654 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
655 if (data == NULL) {
656 data = new wxPyTreeItemData();
657 data->SetId(item); // set the id
658 self->SetItemData(item, data);
659 }
660 return data->GetData();
661 }
662 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
663 data->SetId(item); // set the id
664 self->SetItemData(item, data);
665 }
666 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
667 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
668 if (data == NULL) {
669 data = new wxPyTreeItemData(obj);
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 } else
673 data->SetData(obj);
674 }
675 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
676 wxPyBeginBlockThreads();
677 PyObject* rval = PyList_New(0);
678 wxArrayTreeItemIds array;
679 size_t num, x;
680 num = self->GetSelections(array);
681 for (x=0; x < num; x++) {
682 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
683 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
684 PyList_Append(rval, item);
685 }
686 wxPyEndBlockThreads();
687 return rval;
688 }
689 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
690 wxTreeItemIdValue cookie = 0;
691 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
692 wxPyBeginBlockThreads();
693 PyObject* tup = PyTuple_New(2);
694 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
695 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
696 wxPyEndBlockThreads();
697 return tup;
698 }
699 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
700 wxTreeItemId ritem = self->GetNextChild(item, cookie);
701 wxPyBeginBlockThreads();
702 PyObject* tup = PyTuple_New(2);
703 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
704 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
705 wxPyEndBlockThreads();
706 return tup;
707 }
708 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
709 wxRect rect;
710 if (self->GetBoundingRect(item, rect, textOnly)) {
711 wxPyBeginBlockThreads();
712 wxRect* r = new wxRect(rect);
713 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
714 wxPyEndBlockThreads();
715 return val;
716 }
717 else
718 RETURN_NONE();
719 }
720
721 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
722
723 // C++ version of Python aware wxControl
724 class wxPyControl : public wxControl
725 {
726 DECLARE_DYNAMIC_CLASS(wxPyControl)
727 public:
728 wxPyControl() : wxControl() {}
729 wxPyControl(wxWindow* parent, const wxWindowID id,
730 const wxPoint& pos = wxDefaultPosition,
731 const wxSize& size = wxDefaultSize,
732 long style = 0,
733 const wxValidator& validator=wxDefaultValidator,
734 const wxString& name = wxPyControlNameStr)
735 : wxControl(parent, id, pos, size, style, validator, name) {}
736
737
738 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
739 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
740 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
742
743 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
746
747 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
748 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
749
750 DEC_PYCALLBACK__(InitDialog);
751 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
752 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
753 DEC_PYCALLBACK_BOOL_(Validate);
754
755 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
757 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
758
759 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
760 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
761
762 PYPRIVATE;
763 };
764
765 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
766
767 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
768 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
769 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
771
772 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
775
776 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
777 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
778
779 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
780 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
781 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
782 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
783
784 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
785 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
786 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
787
788 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
790
791
792
793
794 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
795
796 #include <wx/generic/dragimgg.h>
797
798 #ifdef __cplusplus
799 extern "C" {
800 #endif
801 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
802 PyObject *resultobj;
803 wxWindow *arg1 = (wxWindow *) 0 ;
804 int arg2 ;
805 wxString *arg3 = 0 ;
806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
808 wxSize const &arg5_defvalue = wxDefaultSize ;
809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
810 long arg6 = (long) 0 ;
811 wxValidator const &arg7_defvalue = wxDefaultValidator ;
812 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
813 wxString const &arg8_defvalue = wxPyButtonNameStr ;
814 wxString *arg8 = (wxString *) &arg8_defvalue ;
815 wxButton *result;
816 bool temp3 = False ;
817 wxPoint temp4 ;
818 wxSize temp5 ;
819 bool temp8 = False ;
820 PyObject * obj0 = 0 ;
821 PyObject * obj2 = 0 ;
822 PyObject * obj3 = 0 ;
823 PyObject * obj4 = 0 ;
824 PyObject * obj6 = 0 ;
825 PyObject * obj7 = 0 ;
826 char *kwnames[] = {
827 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
828 };
829
830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
832 {
833 arg3 = wxString_in_helper(obj2);
834 if (arg3 == NULL) SWIG_fail;
835 temp3 = True;
836 }
837 if (obj3) {
838 {
839 arg4 = &temp4;
840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
841 }
842 }
843 if (obj4) {
844 {
845 arg5 = &temp5;
846 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
847 }
848 }
849 if (obj6) {
850 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
851 if (arg7 == NULL) {
852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
853 }
854 }
855 if (obj7) {
856 {
857 arg8 = wxString_in_helper(obj7);
858 if (arg8 == NULL) SWIG_fail;
859 temp8 = True;
860 }
861 }
862 {
863 PyThreadState* __tstate = wxPyBeginAllowThreads();
864 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
865
866 wxPyEndAllowThreads(__tstate);
867 if (PyErr_Occurred()) SWIG_fail;
868 }
869 {
870 resultobj = wxPyMake_wxObject(result);
871 }
872 {
873 if (temp3)
874 delete arg3;
875 }
876 {
877 if (temp8)
878 delete arg8;
879 }
880 return resultobj;
881 fail:
882 {
883 if (temp3)
884 delete arg3;
885 }
886 {
887 if (temp8)
888 delete arg8;
889 }
890 return NULL;
891 }
892
893
894 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject *resultobj;
896 wxButton *result;
897 char *kwnames[] = {
898 NULL
899 };
900
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
902 {
903 PyThreadState* __tstate = wxPyBeginAllowThreads();
904 result = (wxButton *)new wxButton();
905
906 wxPyEndAllowThreads(__tstate);
907 if (PyErr_Occurred()) SWIG_fail;
908 }
909 {
910 resultobj = wxPyMake_wxObject(result);
911 }
912 return resultobj;
913 fail:
914 return NULL;
915 }
916
917
918 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
919 PyObject *resultobj;
920 wxButton *arg1 = (wxButton *) 0 ;
921 wxWindow *arg2 = (wxWindow *) 0 ;
922 int arg3 ;
923 wxString *arg4 = 0 ;
924 wxPoint const &arg5_defvalue = wxDefaultPosition ;
925 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
926 wxSize const &arg6_defvalue = wxDefaultSize ;
927 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
928 long arg7 = (long) 0 ;
929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
931 wxString const &arg9_defvalue = wxPyButtonNameStr ;
932 wxString *arg9 = (wxString *) &arg9_defvalue ;
933 bool result;
934 bool temp4 = False ;
935 wxPoint temp5 ;
936 wxSize temp6 ;
937 bool temp9 = False ;
938 PyObject * obj0 = 0 ;
939 PyObject * obj1 = 0 ;
940 PyObject * obj3 = 0 ;
941 PyObject * obj4 = 0 ;
942 PyObject * obj5 = 0 ;
943 PyObject * obj7 = 0 ;
944 PyObject * obj8 = 0 ;
945 char *kwnames[] = {
946 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
947 };
948
949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
952 {
953 arg4 = wxString_in_helper(obj3);
954 if (arg4 == NULL) SWIG_fail;
955 temp4 = True;
956 }
957 if (obj4) {
958 {
959 arg5 = &temp5;
960 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
961 }
962 }
963 if (obj5) {
964 {
965 arg6 = &temp6;
966 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
967 }
968 }
969 if (obj7) {
970 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
971 if (arg8 == NULL) {
972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
973 }
974 }
975 if (obj8) {
976 {
977 arg9 = wxString_in_helper(obj8);
978 if (arg9 == NULL) SWIG_fail;
979 temp9 = True;
980 }
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 resultobj = PyInt_FromLong((long)result);
990 {
991 if (temp4)
992 delete arg4;
993 }
994 {
995 if (temp9)
996 delete arg9;
997 }
998 return resultobj;
999 fail:
1000 {
1001 if (temp4)
1002 delete arg4;
1003 }
1004 {
1005 if (temp9)
1006 delete arg9;
1007 }
1008 return NULL;
1009 }
1010
1011
1012 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject *resultobj;
1014 wxButton *arg1 = (wxButton *) 0 ;
1015 PyObject * obj0 = 0 ;
1016 char *kwnames[] = {
1017 (char *) "self", NULL
1018 };
1019
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1022 {
1023 PyThreadState* __tstate = wxPyBeginAllowThreads();
1024 (arg1)->SetDefault();
1025
1026 wxPyEndAllowThreads(__tstate);
1027 if (PyErr_Occurred()) SWIG_fail;
1028 }
1029 Py_INCREF(Py_None); resultobj = Py_None;
1030 return resultobj;
1031 fail:
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxSize result;
1039 char *kwnames[] = {
1040 NULL
1041 };
1042
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = wxButton::GetDefaultSize();
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 {
1052 wxSize * resultptr;
1053 resultptr = new wxSize((wxSize &) result);
1054 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1055 }
1056 return resultobj;
1057 fail:
1058 return NULL;
1059 }
1060
1061
1062 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1063 PyObject *obj;
1064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1065 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1066 Py_INCREF(obj);
1067 return Py_BuildValue((char *)"");
1068 }
1069 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1070 PyObject *resultobj;
1071 wxWindow *arg1 = (wxWindow *) 0 ;
1072 int arg2 ;
1073 wxBitmap *arg3 = 0 ;
1074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1076 wxSize const &arg5_defvalue = wxDefaultSize ;
1077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1078 long arg6 = (long) wxBU_AUTODRAW ;
1079 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1080 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1081 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1082 wxString *arg8 = (wxString *) &arg8_defvalue ;
1083 wxBitmapButton *result;
1084 wxPoint temp4 ;
1085 wxSize temp5 ;
1086 bool temp8 = False ;
1087 PyObject * obj0 = 0 ;
1088 PyObject * obj2 = 0 ;
1089 PyObject * obj3 = 0 ;
1090 PyObject * obj4 = 0 ;
1091 PyObject * obj6 = 0 ;
1092 PyObject * obj7 = 0 ;
1093 char *kwnames[] = {
1094 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1095 };
1096
1097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1099 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100 if (arg3 == NULL) {
1101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1102 }
1103 if (obj3) {
1104 {
1105 arg4 = &temp4;
1106 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1107 }
1108 }
1109 if (obj4) {
1110 {
1111 arg5 = &temp5;
1112 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1113 }
1114 }
1115 if (obj6) {
1116 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 if (arg7 == NULL) {
1118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1119 }
1120 }
1121 if (obj7) {
1122 {
1123 arg8 = wxString_in_helper(obj7);
1124 if (arg8 == NULL) SWIG_fail;
1125 temp8 = True;
1126 }
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 {
1136 resultobj = wxPyMake_wxObject(result);
1137 }
1138 {
1139 if (temp8)
1140 delete arg8;
1141 }
1142 return resultobj;
1143 fail:
1144 {
1145 if (temp8)
1146 delete arg8;
1147 }
1148 return NULL;
1149 }
1150
1151
1152 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject *resultobj;
1154 wxBitmapButton *result;
1155 char *kwnames[] = {
1156 NULL
1157 };
1158
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 result = (wxBitmapButton *)new wxBitmapButton();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 {
1168 resultobj = wxPyMake_wxObject(result);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173 }
1174
1175
1176 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1179 wxWindow *arg2 = (wxWindow *) 0 ;
1180 int arg3 ;
1181 wxBitmap *arg4 = 0 ;
1182 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1183 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1184 wxSize const &arg6_defvalue = wxDefaultSize ;
1185 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1186 long arg7 = (long) wxBU_AUTODRAW ;
1187 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1188 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1189 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1190 wxString *arg9 = (wxString *) &arg9_defvalue ;
1191 bool result;
1192 wxPoint temp5 ;
1193 wxSize temp6 ;
1194 bool temp9 = False ;
1195 PyObject * obj0 = 0 ;
1196 PyObject * obj1 = 0 ;
1197 PyObject * obj3 = 0 ;
1198 PyObject * obj4 = 0 ;
1199 PyObject * obj5 = 0 ;
1200 PyObject * obj7 = 0 ;
1201 PyObject * obj8 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1204 };
1205
1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1209 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210 if (arg4 == NULL) {
1211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1212 }
1213 if (obj4) {
1214 {
1215 arg5 = &temp5;
1216 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1217 }
1218 }
1219 if (obj5) {
1220 {
1221 arg6 = &temp6;
1222 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1223 }
1224 }
1225 if (obj7) {
1226 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1227 if (arg8 == NULL) {
1228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1229 }
1230 }
1231 if (obj8) {
1232 {
1233 arg9 = wxString_in_helper(obj8);
1234 if (arg9 == NULL) SWIG_fail;
1235 temp9 = True;
1236 }
1237 }
1238 {
1239 PyThreadState* __tstate = wxPyBeginAllowThreads();
1240 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1241
1242 wxPyEndAllowThreads(__tstate);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 resultobj = PyInt_FromLong((long)result);
1246 {
1247 if (temp9)
1248 delete arg9;
1249 }
1250 return resultobj;
1251 fail:
1252 {
1253 if (temp9)
1254 delete arg9;
1255 }
1256 return NULL;
1257 }
1258
1259
1260 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1261 PyObject *resultobj;
1262 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1263 wxBitmap result;
1264 PyObject * obj0 = 0 ;
1265 char *kwnames[] = {
1266 (char *) "self", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1271 {
1272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1273 result = (arg1)->GetBitmapLabel();
1274
1275 wxPyEndAllowThreads(__tstate);
1276 if (PyErr_Occurred()) SWIG_fail;
1277 }
1278 {
1279 wxBitmap * resultptr;
1280 resultptr = new wxBitmap((wxBitmap &) result);
1281 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1282 }
1283 return resultobj;
1284 fail:
1285 return NULL;
1286 }
1287
1288
1289 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1290 PyObject *resultobj;
1291 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1292 wxBitmap result;
1293 PyObject * obj0 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "self", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1300 {
1301 PyThreadState* __tstate = wxPyBeginAllowThreads();
1302 result = (arg1)->GetBitmapDisabled();
1303
1304 wxPyEndAllowThreads(__tstate);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 {
1308 wxBitmap * resultptr;
1309 resultptr = new wxBitmap((wxBitmap &) result);
1310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1311 }
1312 return resultobj;
1313 fail:
1314 return NULL;
1315 }
1316
1317
1318 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject *resultobj;
1320 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1321 wxBitmap result;
1322 PyObject * obj0 = 0 ;
1323 char *kwnames[] = {
1324 (char *) "self", NULL
1325 };
1326
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1329 {
1330 PyThreadState* __tstate = wxPyBeginAllowThreads();
1331 result = (arg1)->GetBitmapFocus();
1332
1333 wxPyEndAllowThreads(__tstate);
1334 if (PyErr_Occurred()) SWIG_fail;
1335 }
1336 {
1337 wxBitmap * resultptr;
1338 resultptr = new wxBitmap((wxBitmap &) result);
1339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1340 }
1341 return resultobj;
1342 fail:
1343 return NULL;
1344 }
1345
1346
1347 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject *resultobj;
1349 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1350 wxBitmap result;
1351 PyObject * obj0 = 0 ;
1352 char *kwnames[] = {
1353 (char *) "self", NULL
1354 };
1355
1356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 result = (arg1)->GetBitmapSelected();
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 {
1366 wxBitmap * resultptr;
1367 resultptr = new wxBitmap((wxBitmap &) result);
1368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1369 }
1370 return resultobj;
1371 fail:
1372 return NULL;
1373 }
1374
1375
1376 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1379 wxBitmap *arg2 = 0 ;
1380 PyObject * obj0 = 0 ;
1381 PyObject * obj1 = 0 ;
1382 char *kwnames[] = {
1383 (char *) "self",(char *) "bitmap", NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 if (arg2 == NULL) {
1390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1391 }
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 Py_INCREF(Py_None); resultobj = Py_None;
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1409 wxBitmap *arg2 = 0 ;
1410 PyObject * obj0 = 0 ;
1411 PyObject * obj1 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self",(char *) "bitmap", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 if (arg2 == NULL) {
1420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1421 }
1422 {
1423 PyThreadState* __tstate = wxPyBeginAllowThreads();
1424 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1425
1426 wxPyEndAllowThreads(__tstate);
1427 if (PyErr_Occurred()) SWIG_fail;
1428 }
1429 Py_INCREF(Py_None); resultobj = Py_None;
1430 return resultobj;
1431 fail:
1432 return NULL;
1433 }
1434
1435
1436 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject *resultobj;
1438 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1439 wxBitmap *arg2 = 0 ;
1440 PyObject * obj0 = 0 ;
1441 PyObject * obj1 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self",(char *) "bitmap", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1449 if (arg2 == NULL) {
1450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1451 }
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 Py_INCREF(Py_None); resultobj = Py_None;
1460 return resultobj;
1461 fail:
1462 return NULL;
1463 }
1464
1465
1466 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1469 wxBitmap *arg2 = 0 ;
1470 PyObject * obj0 = 0 ;
1471 PyObject * obj1 = 0 ;
1472 char *kwnames[] = {
1473 (char *) "self",(char *) "bitmap", NULL
1474 };
1475
1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1479 if (arg2 == NULL) {
1480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1481 }
1482 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1485
1486 wxPyEndAllowThreads(__tstate);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 Py_INCREF(Py_None); resultobj = Py_None;
1490 return resultobj;
1491 fail:
1492 return NULL;
1493 }
1494
1495
1496 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1497 PyObject *resultobj;
1498 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1499 int arg2 ;
1500 int arg3 ;
1501 PyObject * obj0 = 0 ;
1502 char *kwnames[] = {
1503 (char *) "self",(char *) "x",(char *) "y", NULL
1504 };
1505
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 (arg1)->SetMargins(arg2,arg3);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 Py_INCREF(Py_None); resultobj = Py_None;
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1525 int result;
1526 PyObject * obj0 = 0 ;
1527 char *kwnames[] = {
1528 (char *) "self", NULL
1529 };
1530
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 resultobj = PyInt_FromLong((long)result);
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1550 int result;
1551 PyObject * obj0 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "self", NULL
1554 };
1555
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1558 {
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 resultobj = PyInt_FromLong((long)result);
1566 return resultobj;
1567 fail:
1568 return NULL;
1569 }
1570
1571
1572 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1573 PyObject *obj;
1574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1575 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1576 Py_INCREF(obj);
1577 return Py_BuildValue((char *)"");
1578 }
1579 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxWindow *arg1 = (wxWindow *) 0 ;
1582 int arg2 ;
1583 wxString *arg3 = 0 ;
1584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1586 wxSize const &arg5_defvalue = wxDefaultSize ;
1587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1588 long arg6 = (long) 0 ;
1589 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1590 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1591 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1592 wxString *arg8 = (wxString *) &arg8_defvalue ;
1593 wxCheckBox *result;
1594 bool temp3 = False ;
1595 wxPoint temp4 ;
1596 wxSize temp5 ;
1597 bool temp8 = False ;
1598 PyObject * obj0 = 0 ;
1599 PyObject * obj2 = 0 ;
1600 PyObject * obj3 = 0 ;
1601 PyObject * obj4 = 0 ;
1602 PyObject * obj6 = 0 ;
1603 PyObject * obj7 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1610 {
1611 arg3 = wxString_in_helper(obj2);
1612 if (arg3 == NULL) SWIG_fail;
1613 temp3 = True;
1614 }
1615 if (obj3) {
1616 {
1617 arg4 = &temp4;
1618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1619 }
1620 }
1621 if (obj4) {
1622 {
1623 arg5 = &temp5;
1624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1625 }
1626 }
1627 if (obj6) {
1628 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if (arg7 == NULL) {
1630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1631 }
1632 }
1633 if (obj7) {
1634 {
1635 arg8 = wxString_in_helper(obj7);
1636 if (arg8 == NULL) SWIG_fail;
1637 temp8 = True;
1638 }
1639 }
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) SWIG_fail;
1646 }
1647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1648 {
1649 if (temp3)
1650 delete arg3;
1651 }
1652 {
1653 if (temp8)
1654 delete arg8;
1655 }
1656 return resultobj;
1657 fail:
1658 {
1659 if (temp3)
1660 delete arg3;
1661 }
1662 {
1663 if (temp8)
1664 delete arg8;
1665 }
1666 return NULL;
1667 }
1668
1669
1670 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject *resultobj;
1672 wxCheckBox *result;
1673 char *kwnames[] = {
1674 NULL
1675 };
1676
1677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 result = (wxCheckBox *)new wxCheckBox();
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1686 return resultobj;
1687 fail:
1688 return NULL;
1689 }
1690
1691
1692 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1695 wxWindow *arg2 = (wxWindow *) 0 ;
1696 int arg3 ;
1697 wxString *arg4 = 0 ;
1698 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1699 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1700 wxSize const &arg6_defvalue = wxDefaultSize ;
1701 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1702 long arg7 = (long) 0 ;
1703 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1704 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1705 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1706 wxString *arg9 = (wxString *) &arg9_defvalue ;
1707 bool result;
1708 bool temp4 = False ;
1709 wxPoint temp5 ;
1710 wxSize temp6 ;
1711 bool temp9 = False ;
1712 PyObject * obj0 = 0 ;
1713 PyObject * obj1 = 0 ;
1714 PyObject * obj3 = 0 ;
1715 PyObject * obj4 = 0 ;
1716 PyObject * obj5 = 0 ;
1717 PyObject * obj7 = 0 ;
1718 PyObject * obj8 = 0 ;
1719 char *kwnames[] = {
1720 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1721 };
1722
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1726 {
1727 arg4 = wxString_in_helper(obj3);
1728 if (arg4 == NULL) SWIG_fail;
1729 temp4 = True;
1730 }
1731 if (obj4) {
1732 {
1733 arg5 = &temp5;
1734 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1735 }
1736 }
1737 if (obj5) {
1738 {
1739 arg6 = &temp6;
1740 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1741 }
1742 }
1743 if (obj7) {
1744 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1745 if (arg8 == NULL) {
1746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1747 }
1748 }
1749 if (obj8) {
1750 {
1751 arg9 = wxString_in_helper(obj8);
1752 if (arg9 == NULL) SWIG_fail;
1753 temp9 = True;
1754 }
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 resultobj = PyInt_FromLong((long)result);
1764 {
1765 if (temp4)
1766 delete arg4;
1767 }
1768 {
1769 if (temp9)
1770 delete arg9;
1771 }
1772 return resultobj;
1773 fail:
1774 {
1775 if (temp4)
1776 delete arg4;
1777 }
1778 {
1779 if (temp9)
1780 delete arg9;
1781 }
1782 return NULL;
1783 }
1784
1785
1786 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1787 PyObject *resultobj;
1788 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1789 bool result;
1790 PyObject * obj0 = 0 ;
1791 char *kwnames[] = {
1792 (char *) "self", NULL
1793 };
1794
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 result = (bool)(arg1)->GetValue();
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 resultobj = PyInt_FromLong((long)result);
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1812 PyObject *resultobj;
1813 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1814 bool result;
1815 PyObject * obj0 = 0 ;
1816 char *kwnames[] = {
1817 (char *) "self", NULL
1818 };
1819
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = (bool)(arg1)->IsChecked();
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 resultobj = PyInt_FromLong((long)result);
1830 return resultobj;
1831 fail:
1832 return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1837 PyObject *resultobj;
1838 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1839 bool arg2 ;
1840 PyObject * obj0 = 0 ;
1841 PyObject * obj1 = 0 ;
1842 char *kwnames[] = {
1843 (char *) "self",(char *) "state", NULL
1844 };
1845
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1848 arg2 = PyInt_AsLong(obj1) ? true : false;
1849 if (PyErr_Occurred()) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 (arg1)->SetValue(arg2);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 Py_INCREF(Py_None); resultobj = Py_None;
1858 return resultobj;
1859 fail:
1860 return NULL;
1861 }
1862
1863
1864 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1867 int result;
1868 PyObject * obj0 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = PyInt_FromLong((long)result);
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1892 int arg2 ;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self",(char *) "state", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1917 bool result;
1918 PyObject * obj0 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 resultobj = PyInt_FromLong((long)result);
1933 return resultobj;
1934 fail:
1935 return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1942 bool result;
1943 PyObject * obj0 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 resultobj = PyInt_FromLong((long)result);
1958 return resultobj;
1959 fail:
1960 return NULL;
1961 }
1962
1963
1964 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1965 PyObject *obj;
1966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1967 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1968 Py_INCREF(obj);
1969 return Py_BuildValue((char *)"");
1970 }
1971 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject *resultobj;
1973 wxWindow *arg1 = (wxWindow *) 0 ;
1974 int arg2 ;
1975 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1976 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1977 wxSize const &arg4_defvalue = wxDefaultSize ;
1978 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1979 int arg5 = (int) 0 ;
1980 wxString *arg6 = (wxString *) NULL ;
1981 long arg7 = (long) 0 ;
1982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1984 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1985 wxString *arg9 = (wxString *) &arg9_defvalue ;
1986 wxChoice *result;
1987 wxPoint temp3 ;
1988 wxSize temp4 ;
1989 bool temp8 = False ;
1990 PyObject * obj0 = 0 ;
1991 PyObject * obj2 = 0 ;
1992 PyObject * obj3 = 0 ;
1993 PyObject * obj4 = 0 ;
1994 PyObject * obj6 = 0 ;
1995 PyObject * obj7 = 0 ;
1996 char *kwnames[] = {
1997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
1998 };
1999
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002 if (obj2) {
2003 {
2004 arg3 = &temp3;
2005 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2006 }
2007 }
2008 if (obj3) {
2009 {
2010 arg4 = &temp4;
2011 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2012 }
2013 }
2014 if (obj4) {
2015 {
2016 arg5 = PyList_Size(obj4);
2017 arg6 = wxString_LIST_helper(obj4);
2018 if (arg6 == NULL) SWIG_fail;
2019 }
2020 }
2021 if (obj6) {
2022 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2023 if (arg8 == NULL) {
2024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2025 }
2026 }
2027 if (obj7) {
2028 {
2029 arg9 = wxString_in_helper(obj7);
2030 if (arg9 == NULL) SWIG_fail;
2031 temp8 = True;
2032 }
2033 }
2034 {
2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
2036 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2037
2038 wxPyEndAllowThreads(__tstate);
2039 if (PyErr_Occurred()) SWIG_fail;
2040 }
2041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2042 {
2043 if (arg6) delete [] arg6;
2044 }
2045 {
2046 if (temp8)
2047 delete arg9;
2048 }
2049 return resultobj;
2050 fail:
2051 {
2052 if (arg6) delete [] arg6;
2053 }
2054 {
2055 if (temp8)
2056 delete arg9;
2057 }
2058 return NULL;
2059 }
2060
2061
2062 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxChoice *result;
2065 char *kwnames[] = {
2066 NULL
2067 };
2068
2069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2070 {
2071 PyThreadState* __tstate = wxPyBeginAllowThreads();
2072 result = (wxChoice *)new wxChoice();
2073
2074 wxPyEndAllowThreads(__tstate);
2075 if (PyErr_Occurred()) SWIG_fail;
2076 }
2077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2078 return resultobj;
2079 fail:
2080 return NULL;
2081 }
2082
2083
2084 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxChoice *arg1 = (wxChoice *) 0 ;
2087 wxWindow *arg2 = (wxWindow *) 0 ;
2088 int arg3 ;
2089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2091 wxSize const &arg5_defvalue = wxDefaultSize ;
2092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2093 int arg6 = (int) 0 ;
2094 wxString *arg7 = (wxString *) NULL ;
2095 long arg8 = (long) 0 ;
2096 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2097 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2098 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2099 wxString *arg10 = (wxString *) &arg10_defvalue ;
2100 bool result;
2101 wxPoint temp4 ;
2102 wxSize temp5 ;
2103 bool temp9 = False ;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 PyObject * obj3 = 0 ;
2107 PyObject * obj4 = 0 ;
2108 PyObject * obj5 = 0 ;
2109 PyObject * obj7 = 0 ;
2110 PyObject * obj8 = 0 ;
2111 char *kwnames[] = {
2112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2118 if (obj3) {
2119 {
2120 arg4 = &temp4;
2121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2122 }
2123 }
2124 if (obj4) {
2125 {
2126 arg5 = &temp5;
2127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2128 }
2129 }
2130 if (obj5) {
2131 {
2132 arg6 = PyList_Size(obj5);
2133 arg7 = wxString_LIST_helper(obj5);
2134 if (arg7 == NULL) SWIG_fail;
2135 }
2136 }
2137 if (obj7) {
2138 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2139 if (arg9 == NULL) {
2140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2141 }
2142 }
2143 if (obj8) {
2144 {
2145 arg10 = wxString_in_helper(obj8);
2146 if (arg10 == NULL) SWIG_fail;
2147 temp9 = True;
2148 }
2149 }
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 resultobj = PyInt_FromLong((long)result);
2158 {
2159 if (arg7) delete [] arg7;
2160 }
2161 {
2162 if (temp9)
2163 delete arg10;
2164 }
2165 return resultobj;
2166 fail:
2167 {
2168 if (arg7) delete [] arg7;
2169 }
2170 {
2171 if (temp9)
2172 delete arg10;
2173 }
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxChoice *arg1 = (wxChoice *) 0 ;
2181 int result;
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2189 {
2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
2191 result = (int)(arg1)->GetColumns();
2192
2193 wxPyEndAllowThreads(__tstate);
2194 if (PyErr_Occurred()) SWIG_fail;
2195 }
2196 resultobj = PyInt_FromLong((long)result);
2197 return resultobj;
2198 fail:
2199 return NULL;
2200 }
2201
2202
2203 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxChoice *arg1 = (wxChoice *) 0 ;
2206 int arg2 = (int) (int)1 ;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self",(char *) "n", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 (arg1)->SetColumns(arg2);
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 Py_INCREF(Py_None); resultobj = Py_None;
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxChoice *arg1 = (wxChoice *) 0 ;
2231 int arg2 ;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self",(char *) "n", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 (arg1)->SetSelection(arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxChoice *arg1 = (wxChoice *) 0 ;
2256 wxString *arg2 = 0 ;
2257 bool temp2 = False ;
2258 PyObject * obj0 = 0 ;
2259 PyObject * obj1 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self",(char *) "string", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2266 {
2267 arg2 = wxString_in_helper(obj1);
2268 if (arg2 == NULL) SWIG_fail;
2269 temp2 = True;
2270 }
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->SetStringSelection((wxString const &)*arg2);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 {
2280 if (temp2)
2281 delete arg2;
2282 }
2283 return resultobj;
2284 fail:
2285 {
2286 if (temp2)
2287 delete arg2;
2288 }
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 wxChoice *arg1 = (wxChoice *) 0 ;
2296 int arg2 ;
2297 wxString *arg3 = 0 ;
2298 bool temp3 = False ;
2299 PyObject * obj0 = 0 ;
2300 PyObject * obj2 = 0 ;
2301 char *kwnames[] = {
2302 (char *) "self",(char *) "n",(char *) "s", NULL
2303 };
2304
2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2307 {
2308 arg3 = wxString_in_helper(obj2);
2309 if (arg3 == NULL) SWIG_fail;
2310 temp3 = True;
2311 }
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 (arg1)->SetString(arg2,(wxString const &)*arg3);
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2319 Py_INCREF(Py_None); resultobj = Py_None;
2320 {
2321 if (temp3)
2322 delete arg3;
2323 }
2324 return resultobj;
2325 fail:
2326 {
2327 if (temp3)
2328 delete arg3;
2329 }
2330 return NULL;
2331 }
2332
2333
2334 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2335 PyObject *obj;
2336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2337 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2338 Py_INCREF(obj);
2339 return Py_BuildValue((char *)"");
2340 }
2341 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxWindow *arg1 = (wxWindow *) 0 ;
2344 int arg2 ;
2345 wxString const &arg3_defvalue = wxPyEmptyString ;
2346 wxString *arg3 = (wxString *) &arg3_defvalue ;
2347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2349 wxSize const &arg5_defvalue = wxDefaultSize ;
2350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2351 int arg6 = (int) 0 ;
2352 wxString *arg7 = (wxString *) NULL ;
2353 long arg8 = (long) 0 ;
2354 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2355 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2356 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2357 wxString *arg10 = (wxString *) &arg10_defvalue ;
2358 wxComboBox *result;
2359 bool temp3 = False ;
2360 wxPoint temp4 ;
2361 wxSize temp5 ;
2362 bool temp9 = False ;
2363 PyObject * obj0 = 0 ;
2364 PyObject * obj2 = 0 ;
2365 PyObject * obj3 = 0 ;
2366 PyObject * obj4 = 0 ;
2367 PyObject * obj5 = 0 ;
2368 PyObject * obj7 = 0 ;
2369 PyObject * obj8 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2376 if (obj2) {
2377 {
2378 arg3 = wxString_in_helper(obj2);
2379 if (arg3 == NULL) SWIG_fail;
2380 temp3 = True;
2381 }
2382 }
2383 if (obj3) {
2384 {
2385 arg4 = &temp4;
2386 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2387 }
2388 }
2389 if (obj4) {
2390 {
2391 arg5 = &temp5;
2392 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2393 }
2394 }
2395 if (obj5) {
2396 {
2397 arg6 = PyList_Size(obj5);
2398 arg7 = wxString_LIST_helper(obj5);
2399 if (arg7 == NULL) SWIG_fail;
2400 }
2401 }
2402 if (obj7) {
2403 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2404 if (arg9 == NULL) {
2405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2406 }
2407 }
2408 if (obj8) {
2409 {
2410 arg10 = wxString_in_helper(obj8);
2411 if (arg10 == NULL) SWIG_fail;
2412 temp9 = True;
2413 }
2414 }
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2423 {
2424 if (temp3)
2425 delete arg3;
2426 }
2427 {
2428 if (arg7) delete [] arg7;
2429 }
2430 {
2431 if (temp9)
2432 delete arg10;
2433 }
2434 return resultobj;
2435 fail:
2436 {
2437 if (temp3)
2438 delete arg3;
2439 }
2440 {
2441 if (arg7) delete [] arg7;
2442 }
2443 {
2444 if (temp9)
2445 delete arg10;
2446 }
2447 return NULL;
2448 }
2449
2450
2451 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2452 PyObject *resultobj;
2453 wxComboBox *result;
2454 char *kwnames[] = {
2455 NULL
2456 };
2457
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2459 {
2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
2461 result = (wxComboBox *)new wxComboBox();
2462
2463 wxPyEndAllowThreads(__tstate);
2464 if (PyErr_Occurred()) SWIG_fail;
2465 }
2466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2467 return resultobj;
2468 fail:
2469 return NULL;
2470 }
2471
2472
2473 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxComboBox *arg1 = (wxComboBox *) 0 ;
2476 wxWindow *arg2 = (wxWindow *) 0 ;
2477 int arg3 ;
2478 wxString const &arg4_defvalue = wxPyEmptyString ;
2479 wxString *arg4 = (wxString *) &arg4_defvalue ;
2480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2482 wxSize const &arg6_defvalue = wxDefaultSize ;
2483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2484 int arg7 = (int) 0 ;
2485 wxString *arg8 = (wxString *) NULL ;
2486 long arg9 = (long) 0 ;
2487 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2488 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2489 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2490 wxString *arg11 = (wxString *) &arg11_defvalue ;
2491 bool result;
2492 bool temp4 = False ;
2493 wxPoint temp5 ;
2494 wxSize temp6 ;
2495 bool temp10 = False ;
2496 PyObject * obj0 = 0 ;
2497 PyObject * obj1 = 0 ;
2498 PyObject * obj3 = 0 ;
2499 PyObject * obj4 = 0 ;
2500 PyObject * obj5 = 0 ;
2501 PyObject * obj6 = 0 ;
2502 PyObject * obj8 = 0 ;
2503 PyObject * obj9 = 0 ;
2504 char *kwnames[] = {
2505 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2506 };
2507
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 if (obj3) {
2512 {
2513 arg4 = wxString_in_helper(obj3);
2514 if (arg4 == NULL) SWIG_fail;
2515 temp4 = True;
2516 }
2517 }
2518 if (obj4) {
2519 {
2520 arg5 = &temp5;
2521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2522 }
2523 }
2524 if (obj5) {
2525 {
2526 arg6 = &temp6;
2527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2528 }
2529 }
2530 if (obj6) {
2531 {
2532 arg7 = PyList_Size(obj6);
2533 arg8 = wxString_LIST_helper(obj6);
2534 if (arg8 == NULL) SWIG_fail;
2535 }
2536 }
2537 if (obj8) {
2538 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2539 if (arg10 == NULL) {
2540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2541 }
2542 }
2543 if (obj9) {
2544 {
2545 arg11 = wxString_in_helper(obj9);
2546 if (arg11 == NULL) SWIG_fail;
2547 temp10 = True;
2548 }
2549 }
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 resultobj = PyInt_FromLong((long)result);
2558 {
2559 if (temp4)
2560 delete arg4;
2561 }
2562 {
2563 if (arg8) delete [] arg8;
2564 }
2565 {
2566 if (temp10)
2567 delete arg11;
2568 }
2569 return resultobj;
2570 fail:
2571 {
2572 if (temp4)
2573 delete arg4;
2574 }
2575 {
2576 if (arg8) delete [] arg8;
2577 }
2578 {
2579 if (temp10)
2580 delete arg11;
2581 }
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxComboBox *arg1 = (wxComboBox *) 0 ;
2589 wxString result;
2590 PyObject * obj0 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "self", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = ((wxComboBox const *)arg1)->GetValue();
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 {
2605 #if wxUSE_UNICODE
2606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2607 #else
2608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2609 #endif
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxComboBox *arg1 = (wxComboBox *) 0 ;
2620 wxString *arg2 = 0 ;
2621 bool temp2 = False ;
2622 PyObject * obj0 = 0 ;
2623 PyObject * obj1 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self",(char *) "value", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 {
2631 arg2 = wxString_in_helper(obj1);
2632 if (arg2 == NULL) SWIG_fail;
2633 temp2 = True;
2634 }
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 (arg1)->SetValue((wxString const &)*arg2);
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 Py_INCREF(Py_None); resultobj = Py_None;
2643 {
2644 if (temp2)
2645 delete arg2;
2646 }
2647 return resultobj;
2648 fail:
2649 {
2650 if (temp2)
2651 delete arg2;
2652 }
2653 return NULL;
2654 }
2655
2656
2657 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxComboBox *arg1 = (wxComboBox *) 0 ;
2660 PyObject * obj0 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "self", NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 (arg1)->Copy();
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxComboBox *arg1 = (wxComboBox *) 0 ;
2684 PyObject * obj0 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 (arg1)->Cut();
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 Py_INCREF(Py_None); resultobj = Py_None;
2699 return resultobj;
2700 fail:
2701 return NULL;
2702 }
2703
2704
2705 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject *resultobj;
2707 wxComboBox *arg1 = (wxComboBox *) 0 ;
2708 PyObject * obj0 = 0 ;
2709 char *kwnames[] = {
2710 (char *) "self", NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 (arg1)->Paste();
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) SWIG_fail;
2721 }
2722 Py_INCREF(Py_None); resultobj = Py_None;
2723 return resultobj;
2724 fail:
2725 return NULL;
2726 }
2727
2728
2729 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxComboBox *arg1 = (wxComboBox *) 0 ;
2732 long arg2 ;
2733 PyObject * obj0 = 0 ;
2734 char *kwnames[] = {
2735 (char *) "self",(char *) "pos", NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 (arg1)->SetInsertionPoint(arg2);
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 Py_INCREF(Py_None); resultobj = Py_None;
2748 return resultobj;
2749 fail:
2750 return NULL;
2751 }
2752
2753
2754 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxComboBox *arg1 = (wxComboBox *) 0 ;
2757 long result;
2758 PyObject * obj0 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 resultobj = PyInt_FromLong((long)result);
2773 return resultobj;
2774 fail:
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxComboBox *arg1 = (wxComboBox *) 0 ;
2782 long result;
2783 PyObject * obj0 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
2792 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
2797 resultobj = PyInt_FromLong((long)result);
2798 return resultobj;
2799 fail:
2800 return NULL;
2801 }
2802
2803
2804 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2805 PyObject *resultobj;
2806 wxComboBox *arg1 = (wxComboBox *) 0 ;
2807 long arg2 ;
2808 long arg3 ;
2809 wxString *arg4 = 0 ;
2810 bool temp4 = False ;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj3 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 {
2820 arg4 = wxString_in_helper(obj3);
2821 if (arg4 == NULL) SWIG_fail;
2822 temp4 = True;
2823 }
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 Py_INCREF(Py_None); resultobj = Py_None;
2832 {
2833 if (temp4)
2834 delete arg4;
2835 }
2836 return resultobj;
2837 fail:
2838 {
2839 if (temp4)
2840 delete arg4;
2841 }
2842 return NULL;
2843 }
2844
2845
2846 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject *resultobj;
2848 wxComboBox *arg1 = (wxComboBox *) 0 ;
2849 int arg2 ;
2850 PyObject * obj0 = 0 ;
2851 char *kwnames[] = {
2852 (char *) "self",(char *) "n", NULL
2853 };
2854
2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetSelection(arg2);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxComboBox *arg1 = (wxComboBox *) 0 ;
2874 long arg2 ;
2875 long arg3 ;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "from",(char *) "to", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 (arg1)->SetSelection(arg2,arg3);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxComboBox *arg1 = (wxComboBox *) 0 ;
2900 bool arg2 ;
2901 PyObject * obj0 = 0 ;
2902 PyObject * obj1 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self",(char *) "editable", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909 arg2 = PyInt_AsLong(obj1) ? true : false;
2910 if (PyErr_Occurred()) SWIG_fail;
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->SetEditable(arg2);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 return resultobj;
2920 fail:
2921 return NULL;
2922 }
2923
2924
2925 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxComboBox *arg1 = (wxComboBox *) 0 ;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->SetInsertionPointEnd();
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxComboBox *arg1 = (wxComboBox *) 0 ;
2952 long arg2 ;
2953 long arg3 ;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "from",(char *) "to", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 (arg1)->Remove(arg2,arg3);
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 Py_INCREF(Py_None); resultobj = Py_None;
2969 return resultobj;
2970 fail:
2971 return NULL;
2972 }
2973
2974
2975 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2976 PyObject *obj;
2977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2978 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2979 Py_INCREF(obj);
2980 return Py_BuildValue((char *)"");
2981 }
2982 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxWindow *arg1 = (wxWindow *) 0 ;
2985 int arg2 ;
2986 int arg3 ;
2987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2989 wxSize const &arg5_defvalue = wxDefaultSize ;
2990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2991 long arg6 = (long) wxGA_HORIZONTAL ;
2992 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2993 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2994 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2995 wxString *arg8 = (wxString *) &arg8_defvalue ;
2996 wxGauge *result;
2997 wxPoint temp4 ;
2998 wxSize temp5 ;
2999 bool temp8 = False ;
3000 PyObject * obj0 = 0 ;
3001 PyObject * obj3 = 0 ;
3002 PyObject * obj4 = 0 ;
3003 PyObject * obj6 = 0 ;
3004 PyObject * obj7 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 if (obj3) {
3012 {
3013 arg4 = &temp4;
3014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3015 }
3016 }
3017 if (obj4) {
3018 {
3019 arg5 = &temp5;
3020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3021 }
3022 }
3023 if (obj6) {
3024 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3025 if (arg7 == NULL) {
3026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3027 }
3028 }
3029 if (obj7) {
3030 {
3031 arg8 = wxString_in_helper(obj7);
3032 if (arg8 == NULL) SWIG_fail;
3033 temp8 = True;
3034 }
3035 }
3036 {
3037 PyThreadState* __tstate = wxPyBeginAllowThreads();
3038 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3039
3040 wxPyEndAllowThreads(__tstate);
3041 if (PyErr_Occurred()) SWIG_fail;
3042 }
3043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3044 {
3045 if (temp8)
3046 delete arg8;
3047 }
3048 return resultobj;
3049 fail:
3050 {
3051 if (temp8)
3052 delete arg8;
3053 }
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxGauge *result;
3061 char *kwnames[] = {
3062 NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 result = (wxGauge *)new wxGauge();
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxGauge *arg1 = (wxGauge *) 0 ;
3083 wxWindow *arg2 = (wxWindow *) 0 ;
3084 int arg3 ;
3085 int arg4 ;
3086 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3087 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3088 wxSize const &arg6_defvalue = wxDefaultSize ;
3089 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3090 long arg7 = (long) wxGA_HORIZONTAL ;
3091 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3092 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3093 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3094 wxString *arg9 = (wxString *) &arg9_defvalue ;
3095 bool result;
3096 wxPoint temp5 ;
3097 wxSize temp6 ;
3098 bool temp9 = False ;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 PyObject * obj4 = 0 ;
3102 PyObject * obj5 = 0 ;
3103 PyObject * obj7 = 0 ;
3104 PyObject * obj8 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 if (obj4) {
3113 {
3114 arg5 = &temp5;
3115 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3116 }
3117 }
3118 if (obj5) {
3119 {
3120 arg6 = &temp6;
3121 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3122 }
3123 }
3124 if (obj7) {
3125 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if (arg8 == NULL) {
3127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3128 }
3129 }
3130 if (obj8) {
3131 {
3132 arg9 = wxString_in_helper(obj8);
3133 if (arg9 == NULL) SWIG_fail;
3134 temp9 = True;
3135 }
3136 }
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 resultobj = PyInt_FromLong((long)result);
3145 {
3146 if (temp9)
3147 delete arg9;
3148 }
3149 return resultobj;
3150 fail:
3151 {
3152 if (temp9)
3153 delete arg9;
3154 }
3155 return NULL;
3156 }
3157
3158
3159 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject *resultobj;
3161 wxGauge *arg1 = (wxGauge *) 0 ;
3162 int arg2 ;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self",(char *) "range", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 (arg1)->SetRange(arg2);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxGauge *arg1 = (wxGauge *) 0 ;
3187 int result;
3188 PyObject * obj0 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (int)((wxGauge const *)arg1)->GetRange();
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 resultobj = PyInt_FromLong((long)result);
3203 return resultobj;
3204 fail:
3205 return NULL;
3206 }
3207
3208
3209 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject *resultobj;
3211 wxGauge *arg1 = (wxGauge *) 0 ;
3212 int arg2 ;
3213 PyObject * obj0 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self",(char *) "pos", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 (arg1)->SetValue(arg2);
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 Py_INCREF(Py_None); resultobj = Py_None;
3228 return resultobj;
3229 fail:
3230 return NULL;
3231 }
3232
3233
3234 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3235 PyObject *resultobj;
3236 wxGauge *arg1 = (wxGauge *) 0 ;
3237 int result;
3238 PyObject * obj0 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 result = (int)((wxGauge const *)arg1)->GetValue();
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 resultobj = PyInt_FromLong((long)result);
3253 return resultobj;
3254 fail:
3255 return NULL;
3256 }
3257
3258
3259 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject *resultobj;
3261 wxGauge *arg1 = (wxGauge *) 0 ;
3262 bool result;
3263 PyObject * obj0 = 0 ;
3264 char *kwnames[] = {
3265 (char *) "self", NULL
3266 };
3267
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (bool)((wxGauge const *)arg1)->IsVertical();
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 resultobj = PyInt_FromLong((long)result);
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxGauge *arg1 = (wxGauge *) 0 ;
3287 int arg2 ;
3288 PyObject * obj0 = 0 ;
3289 char *kwnames[] = {
3290 (char *) "self",(char *) "w", NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 (arg1)->SetShadowWidth(arg2);
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 Py_INCREF(Py_None); resultobj = Py_None;
3303 return resultobj;
3304 fail:
3305 return NULL;
3306 }
3307
3308
3309 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj;
3311 wxGauge *arg1 = (wxGauge *) 0 ;
3312 int result;
3313 PyObject * obj0 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "self", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 resultobj = PyInt_FromLong((long)result);
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxGauge *arg1 = (wxGauge *) 0 ;
3337 int arg2 ;
3338 PyObject * obj0 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "self",(char *) "w", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 (arg1)->SetBezelFace(arg2);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
3353 return resultobj;
3354 fail:
3355 return NULL;
3356 }
3357
3358
3359 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxGauge *arg1 = (wxGauge *) 0 ;
3362 int result;
3363 PyObject * obj0 = 0 ;
3364 char *kwnames[] = {
3365 (char *) "self", NULL
3366 };
3367
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
3377 resultobj = PyInt_FromLong((long)result);
3378 return resultobj;
3379 fail:
3380 return NULL;
3381 }
3382
3383
3384 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3385 PyObject *obj;
3386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3387 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3388 Py_INCREF(obj);
3389 return Py_BuildValue((char *)"");
3390 }
3391 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxWindow *arg1 = (wxWindow *) 0 ;
3394 int arg2 ;
3395 wxString *arg3 = 0 ;
3396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3398 wxSize const &arg5_defvalue = wxDefaultSize ;
3399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3400 long arg6 = (long) 0 ;
3401 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3402 wxString *arg7 = (wxString *) &arg7_defvalue ;
3403 wxStaticBox *result;
3404 bool temp3 = False ;
3405 wxPoint temp4 ;
3406 wxSize temp5 ;
3407 bool temp7 = False ;
3408 PyObject * obj0 = 0 ;
3409 PyObject * obj2 = 0 ;
3410 PyObject * obj3 = 0 ;
3411 PyObject * obj4 = 0 ;
3412 PyObject * obj6 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3419 {
3420 arg3 = wxString_in_helper(obj2);
3421 if (arg3 == NULL) SWIG_fail;
3422 temp3 = True;
3423 }
3424 if (obj3) {
3425 {
3426 arg4 = &temp4;
3427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3428 }
3429 }
3430 if (obj4) {
3431 {
3432 arg5 = &temp5;
3433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3434 }
3435 }
3436 if (obj6) {
3437 {
3438 arg7 = wxString_in_helper(obj6);
3439 if (arg7 == NULL) SWIG_fail;
3440 temp7 = True;
3441 }
3442 }
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 {
3451 resultobj = wxPyMake_wxObject(result);
3452 }
3453 {
3454 if (temp3)
3455 delete arg3;
3456 }
3457 {
3458 if (temp7)
3459 delete arg7;
3460 }
3461 return resultobj;
3462 fail:
3463 {
3464 if (temp3)
3465 delete arg3;
3466 }
3467 {
3468 if (temp7)
3469 delete arg7;
3470 }
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxStaticBox *result;
3478 char *kwnames[] = {
3479 NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (wxStaticBox *)new wxStaticBox();
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 {
3491 resultobj = wxPyMake_wxObject(result);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject *resultobj;
3501 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3502 wxWindow *arg2 = (wxWindow *) 0 ;
3503 int arg3 ;
3504 wxString *arg4 = 0 ;
3505 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3506 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3507 wxSize const &arg6_defvalue = wxDefaultSize ;
3508 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3509 long arg7 = (long) 0 ;
3510 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3511 wxString *arg8 = (wxString *) &arg8_defvalue ;
3512 bool result;
3513 bool temp4 = False ;
3514 wxPoint temp5 ;
3515 wxSize temp6 ;
3516 bool temp8 = False ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 PyObject * obj3 = 0 ;
3520 PyObject * obj4 = 0 ;
3521 PyObject * obj5 = 0 ;
3522 PyObject * obj7 = 0 ;
3523 char *kwnames[] = {
3524 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3525 };
3526
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 {
3531 arg4 = wxString_in_helper(obj3);
3532 if (arg4 == NULL) SWIG_fail;
3533 temp4 = True;
3534 }
3535 if (obj4) {
3536 {
3537 arg5 = &temp5;
3538 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3539 }
3540 }
3541 if (obj5) {
3542 {
3543 arg6 = &temp6;
3544 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3545 }
3546 }
3547 if (obj7) {
3548 {
3549 arg8 = wxString_in_helper(obj7);
3550 if (arg8 == NULL) SWIG_fail;
3551 temp8 = True;
3552 }
3553 }
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 resultobj = PyInt_FromLong((long)result);
3562 {
3563 if (temp4)
3564 delete arg4;
3565 }
3566 {
3567 if (temp8)
3568 delete arg8;
3569 }
3570 return resultobj;
3571 fail:
3572 {
3573 if (temp4)
3574 delete arg4;
3575 }
3576 {
3577 if (temp8)
3578 delete arg8;
3579 }
3580 return NULL;
3581 }
3582
3583
3584 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3585 PyObject *obj;
3586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3587 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3588 Py_INCREF(obj);
3589 return Py_BuildValue((char *)"");
3590 }
3591 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxWindow *arg1 = (wxWindow *) 0 ;
3594 int arg2 ;
3595 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3596 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3597 wxSize const &arg4_defvalue = wxDefaultSize ;
3598 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3599 long arg5 = (long) wxLI_HORIZONTAL ;
3600 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3601 wxString *arg6 = (wxString *) &arg6_defvalue ;
3602 wxStaticLine *result;
3603 wxPoint temp3 ;
3604 wxSize temp4 ;
3605 bool temp6 = False ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj2 = 0 ;
3608 PyObject * obj3 = 0 ;
3609 PyObject * obj5 = 0 ;
3610 char *kwnames[] = {
3611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3616 if (obj2) {
3617 {
3618 arg3 = &temp3;
3619 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3620 }
3621 }
3622 if (obj3) {
3623 {
3624 arg4 = &temp4;
3625 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3626 }
3627 }
3628 if (obj5) {
3629 {
3630 arg6 = wxString_in_helper(obj5);
3631 if (arg6 == NULL) SWIG_fail;
3632 temp6 = True;
3633 }
3634 }
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3643 {
3644 if (temp6)
3645 delete arg6;
3646 }
3647 return resultobj;
3648 fail:
3649 {
3650 if (temp6)
3651 delete arg6;
3652 }
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxStaticLine *result;
3660 char *kwnames[] = {
3661 NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 result = (wxStaticLine *)new wxStaticLine();
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3673 return resultobj;
3674 fail:
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3682 wxWindow *arg2 = (wxWindow *) 0 ;
3683 int arg3 ;
3684 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3685 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3686 wxSize const &arg5_defvalue = wxDefaultSize ;
3687 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3688 long arg6 = (long) wxLI_HORIZONTAL ;
3689 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3690 wxString *arg7 = (wxString *) &arg7_defvalue ;
3691 bool result;
3692 wxPoint temp4 ;
3693 wxSize temp5 ;
3694 bool temp7 = False ;
3695 PyObject * obj0 = 0 ;
3696 PyObject * obj1 = 0 ;
3697 PyObject * obj3 = 0 ;
3698 PyObject * obj4 = 0 ;
3699 PyObject * obj6 = 0 ;
3700 char *kwnames[] = {
3701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3702 };
3703
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 if (obj3) {
3708 {
3709 arg4 = &temp4;
3710 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3711 }
3712 }
3713 if (obj4) {
3714 {
3715 arg5 = &temp5;
3716 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3717 }
3718 }
3719 if (obj6) {
3720 {
3721 arg7 = wxString_in_helper(obj6);
3722 if (arg7 == NULL) SWIG_fail;
3723 temp7 = True;
3724 }
3725 }
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
3728 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 resultobj = PyInt_FromLong((long)result);
3734 {
3735 if (temp7)
3736 delete arg7;
3737 }
3738 return resultobj;
3739 fail:
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return NULL;
3745 }
3746
3747
3748 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj;
3750 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3751 bool result;
3752 PyObject * obj0 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3759 {
3760 PyThreadState* __tstate = wxPyBeginAllowThreads();
3761 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3762
3763 wxPyEndAllowThreads(__tstate);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 resultobj = PyInt_FromLong((long)result);
3767 return resultobj;
3768 fail:
3769 return NULL;
3770 }
3771
3772
3773 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 int result;
3776 char *kwnames[] = {
3777 NULL
3778 };
3779
3780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 result = (int)wxStaticLine::GetDefaultSize();
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
3788 resultobj = PyInt_FromLong((long)result);
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3796 PyObject *obj;
3797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3798 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3799 Py_INCREF(obj);
3800 return Py_BuildValue((char *)"");
3801 }
3802 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxWindow *arg1 = (wxWindow *) 0 ;
3805 int arg2 ;
3806 wxString *arg3 = 0 ;
3807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3809 wxSize const &arg5_defvalue = wxDefaultSize ;
3810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3811 long arg6 = (long) 0 ;
3812 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3813 wxString *arg7 = (wxString *) &arg7_defvalue ;
3814 wxStaticText *result;
3815 bool temp3 = False ;
3816 wxPoint temp4 ;
3817 wxSize temp5 ;
3818 bool temp7 = False ;
3819 PyObject * obj0 = 0 ;
3820 PyObject * obj2 = 0 ;
3821 PyObject * obj3 = 0 ;
3822 PyObject * obj4 = 0 ;
3823 PyObject * obj6 = 0 ;
3824 char *kwnames[] = {
3825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3826 };
3827
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3830 {
3831 arg3 = wxString_in_helper(obj2);
3832 if (arg3 == NULL) SWIG_fail;
3833 temp3 = True;
3834 }
3835 if (obj3) {
3836 {
3837 arg4 = &temp4;
3838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3839 }
3840 }
3841 if (obj4) {
3842 {
3843 arg5 = &temp5;
3844 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3845 }
3846 }
3847 if (obj6) {
3848 {
3849 arg7 = wxString_in_helper(obj6);
3850 if (arg7 == NULL) SWIG_fail;
3851 temp7 = True;
3852 }
3853 }
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3862 {
3863 if (temp3)
3864 delete arg3;
3865 }
3866 {
3867 if (temp7)
3868 delete arg7;
3869 }
3870 return resultobj;
3871 fail:
3872 {
3873 if (temp3)
3874 delete arg3;
3875 }
3876 {
3877 if (temp7)
3878 delete arg7;
3879 }
3880 return NULL;
3881 }
3882
3883
3884 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj;
3886 wxStaticText *result;
3887 char *kwnames[] = {
3888 NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxStaticText *)new wxStaticText();
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxStaticText *arg1 = (wxStaticText *) 0 ;
3909 wxWindow *arg2 = (wxWindow *) 0 ;
3910 int arg3 ;
3911 wxString *arg4 = 0 ;
3912 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3913 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3914 wxSize const &arg6_defvalue = wxDefaultSize ;
3915 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3916 long arg7 = (long) 0 ;
3917 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3918 wxString *arg8 = (wxString *) &arg8_defvalue ;
3919 bool result;
3920 bool temp4 = False ;
3921 wxPoint temp5 ;
3922 wxSize temp6 ;
3923 bool temp8 = False ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 PyObject * obj3 = 0 ;
3927 PyObject * obj4 = 0 ;
3928 PyObject * obj5 = 0 ;
3929 PyObject * obj7 = 0 ;
3930 char *kwnames[] = {
3931 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3932 };
3933
3934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3937 {
3938 arg4 = wxString_in_helper(obj3);
3939 if (arg4 == NULL) SWIG_fail;
3940 temp4 = True;
3941 }
3942 if (obj4) {
3943 {
3944 arg5 = &temp5;
3945 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3946 }
3947 }
3948 if (obj5) {
3949 {
3950 arg6 = &temp6;
3951 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3952 }
3953 }
3954 if (obj7) {
3955 {
3956 arg8 = wxString_in_helper(obj7);
3957 if (arg8 == NULL) SWIG_fail;
3958 temp8 = True;
3959 }
3960 }
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 resultobj = PyInt_FromLong((long)result);
3969 {
3970 if (temp4)
3971 delete arg4;
3972 }
3973 {
3974 if (temp8)
3975 delete arg8;
3976 }
3977 return resultobj;
3978 fail:
3979 {
3980 if (temp4)
3981 delete arg4;
3982 }
3983 {
3984 if (temp8)
3985 delete arg8;
3986 }
3987 return NULL;
3988 }
3989
3990
3991 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3992 PyObject *obj;
3993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3994 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3995 Py_INCREF(obj);
3996 return Py_BuildValue((char *)"");
3997 }
3998 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj;
4000 wxWindow *arg1 = (wxWindow *) 0 ;
4001 int arg2 ;
4002 wxBitmap *arg3 = 0 ;
4003 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4004 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4005 wxSize const &arg5_defvalue = wxDefaultSize ;
4006 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4007 long arg6 = (long) 0 ;
4008 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4009 wxString *arg7 = (wxString *) &arg7_defvalue ;
4010 wxStaticBitmap *result;
4011 wxPoint temp4 ;
4012 wxSize temp5 ;
4013 bool temp7 = False ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj2 = 0 ;
4016 PyObject * obj3 = 0 ;
4017 PyObject * obj4 = 0 ;
4018 PyObject * obj6 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4025 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4026 if (arg3 == NULL) {
4027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4028 }
4029 if (obj3) {
4030 {
4031 arg4 = &temp4;
4032 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4033 }
4034 }
4035 if (obj4) {
4036 {
4037 arg5 = &temp5;
4038 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4039 }
4040 }
4041 if (obj6) {
4042 {
4043 arg7 = wxString_in_helper(obj6);
4044 if (arg7 == NULL) SWIG_fail;
4045 temp7 = True;
4046 }
4047 }
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4056 {
4057 if (temp7)
4058 delete arg7;
4059 }
4060 return resultobj;
4061 fail:
4062 {
4063 if (temp7)
4064 delete arg7;
4065 }
4066 return NULL;
4067 }
4068
4069
4070 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject *resultobj;
4072 wxStaticBitmap *result;
4073 char *kwnames[] = {
4074 NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 result = (wxStaticBitmap *)new wxStaticBitmap();
4081
4082 wxPyEndAllowThreads(__tstate);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4095 wxWindow *arg2 = (wxWindow *) 0 ;
4096 int arg3 ;
4097 wxBitmap *arg4 = 0 ;
4098 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4099 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4100 wxSize const &arg6_defvalue = wxDefaultSize ;
4101 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4102 long arg7 = (long) 0 ;
4103 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4104 wxString *arg8 = (wxString *) &arg8_defvalue ;
4105 bool result;
4106 wxPoint temp5 ;
4107 wxSize temp6 ;
4108 bool temp8 = False ;
4109 PyObject * obj0 = 0 ;
4110 PyObject * obj1 = 0 ;
4111 PyObject * obj3 = 0 ;
4112 PyObject * obj4 = 0 ;
4113 PyObject * obj5 = 0 ;
4114 PyObject * obj7 = 0 ;
4115 char *kwnames[] = {
4116 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4117 };
4118
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 if (arg4 == NULL) {
4124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4125 }
4126 if (obj4) {
4127 {
4128 arg5 = &temp5;
4129 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4130 }
4131 }
4132 if (obj5) {
4133 {
4134 arg6 = &temp6;
4135 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4136 }
4137 }
4138 if (obj7) {
4139 {
4140 arg8 = wxString_in_helper(obj7);
4141 if (arg8 == NULL) SWIG_fail;
4142 temp8 = True;
4143 }
4144 }
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 resultobj = PyInt_FromLong((long)result);
4153 {
4154 if (temp8)
4155 delete arg8;
4156 }
4157 return resultobj;
4158 fail:
4159 {
4160 if (temp8)
4161 delete arg8;
4162 }
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4170 wxBitmap result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (arg1)->GetBitmap();
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 {
4186 wxBitmap * resultptr;
4187 resultptr = new wxBitmap((wxBitmap &) result);
4188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4189 }
4190 return resultobj;
4191 fail:
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4199 wxBitmap *arg2 = 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "bitmap", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 if (arg2 == NULL) {
4210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 Py_INCREF(Py_None); resultobj = Py_None;
4220 return resultobj;
4221 fail:
4222 return NULL;
4223 }
4224
4225
4226 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject *resultobj;
4228 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4229 wxIcon *arg2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self",(char *) "icon", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 if (arg2 == NULL) {
4240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4241 }
4242 {
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 (arg1)->SetIcon((wxIcon const &)*arg2);
4245
4246 wxPyEndAllowThreads(__tstate);
4247 if (PyErr_Occurred()) SWIG_fail;
4248 }
4249 Py_INCREF(Py_None); resultobj = Py_None;
4250 return resultobj;
4251 fail:
4252 return NULL;
4253 }
4254
4255
4256 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4257 PyObject *obj;
4258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4259 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4260 Py_INCREF(obj);
4261 return Py_BuildValue((char *)"");
4262 }
4263 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj;
4265 wxWindow *arg1 = (wxWindow *) 0 ;
4266 int arg2 ;
4267 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4268 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4269 wxSize const &arg4_defvalue = wxDefaultSize ;
4270 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4271 int arg5 = (int) 0 ;
4272 wxString *arg6 = (wxString *) NULL ;
4273 long arg7 = (long) 0 ;
4274 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4275 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4276 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4277 wxString *arg9 = (wxString *) &arg9_defvalue ;
4278 wxListBox *result;
4279 wxPoint temp3 ;
4280 wxSize temp4 ;
4281 bool temp8 = False ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj2 = 0 ;
4284 PyObject * obj3 = 0 ;
4285 PyObject * obj4 = 0 ;
4286 PyObject * obj6 = 0 ;
4287 PyObject * obj7 = 0 ;
4288 char *kwnames[] = {
4289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4294 if (obj2) {
4295 {
4296 arg3 = &temp3;
4297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4298 }
4299 }
4300 if (obj3) {
4301 {
4302 arg4 = &temp4;
4303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4304 }
4305 }
4306 if (obj4) {
4307 {
4308 arg5 = PyList_Size(obj4);
4309 arg6 = wxString_LIST_helper(obj4);
4310 if (arg6 == NULL) SWIG_fail;
4311 }
4312 }
4313 if (obj6) {
4314 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315 if (arg8 == NULL) {
4316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4317 }
4318 }
4319 if (obj7) {
4320 {
4321 arg9 = wxString_in_helper(obj7);
4322 if (arg9 == NULL) SWIG_fail;
4323 temp8 = True;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4334 {
4335 if (arg6) delete [] arg6;
4336 }
4337 {
4338 if (temp8)
4339 delete arg9;
4340 }
4341 return resultobj;
4342 fail:
4343 {
4344 if (arg6) delete [] arg6;
4345 }
4346 {
4347 if (temp8)
4348 delete arg9;
4349 }
4350 return NULL;
4351 }
4352
4353
4354 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxListBox *result;
4357 char *kwnames[] = {
4358 NULL
4359 };
4360
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (wxListBox *)new wxListBox();
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxListBox *arg1 = (wxListBox *) 0 ;
4379 wxWindow *arg2 = (wxWindow *) 0 ;
4380 int arg3 ;
4381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4383 wxSize const &arg5_defvalue = wxDefaultSize ;
4384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4385 int arg6 = (int) 0 ;
4386 wxString *arg7 = (wxString *) NULL ;
4387 long arg8 = (long) 0 ;
4388 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4389 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4390 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4391 wxString *arg10 = (wxString *) &arg10_defvalue ;
4392 bool result;
4393 wxPoint temp4 ;
4394 wxSize temp5 ;
4395 bool temp9 = False ;
4396 PyObject * obj0 = 0 ;
4397 PyObject * obj1 = 0 ;
4398 PyObject * obj3 = 0 ;
4399 PyObject * obj4 = 0 ;
4400 PyObject * obj5 = 0 ;
4401 PyObject * obj7 = 0 ;
4402 PyObject * obj8 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 if (obj3) {
4411 {
4412 arg4 = &temp4;
4413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4414 }
4415 }
4416 if (obj4) {
4417 {
4418 arg5 = &temp5;
4419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4420 }
4421 }
4422 if (obj5) {
4423 {
4424 arg6 = PyList_Size(obj5);
4425 arg7 = wxString_LIST_helper(obj5);
4426 if (arg7 == NULL) SWIG_fail;
4427 }
4428 }
4429 if (obj7) {
4430 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4431 if (arg9 == NULL) {
4432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4433 }
4434 }
4435 if (obj8) {
4436 {
4437 arg10 = wxString_in_helper(obj8);
4438 if (arg10 == NULL) SWIG_fail;
4439 temp9 = True;
4440 }
4441 }
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 resultobj = PyInt_FromLong((long)result);
4450 {
4451 if (arg7) delete [] arg7;
4452 }
4453 {
4454 if (temp9)
4455 delete arg10;
4456 }
4457 return resultobj;
4458 fail:
4459 {
4460 if (arg7) delete [] arg7;
4461 }
4462 {
4463 if (temp9)
4464 delete arg10;
4465 }
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxListBox *arg1 = (wxListBox *) 0 ;
4473 wxString *arg2 = 0 ;
4474 int arg3 ;
4475 PyObject *arg4 = (PyObject *) NULL ;
4476 bool temp2 = False ;
4477 PyObject * obj0 = 0 ;
4478 PyObject * obj1 = 0 ;
4479 PyObject * obj3 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4486 {
4487 arg2 = wxString_in_helper(obj1);
4488 if (arg2 == NULL) SWIG_fail;
4489 temp2 = True;
4490 }
4491 if (obj3) {
4492 arg4 = obj3;
4493 }
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 Py_INCREF(Py_None); resultobj = Py_None;
4502 {
4503 if (temp2)
4504 delete arg2;
4505 }
4506 return resultobj;
4507 fail:
4508 {
4509 if (temp2)
4510 delete arg2;
4511 }
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxListBox *arg1 = (wxListBox *) 0 ;
4519 wxArrayString *arg2 = 0 ;
4520 int arg3 ;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self",(char *) "items",(char *) "pos", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4529 {
4530 if (! PySequence_Check(obj1)) {
4531 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4532 SWIG_fail;
4533 }
4534 arg2 = new wxArrayString;
4535 int i, len=PySequence_Length(obj1);
4536 for (i=0; i<len; i++) {
4537 PyObject* item = PySequence_GetItem(obj1, i);
4538 #if wxUSE_UNICODE
4539 PyObject* str = PyObject_Unicode(item);
4540 #else
4541 PyObject* str = PyObject_Str(item);
4542 #endif
4543 arg2->Add(Py2wxString(str));
4544 Py_DECREF(item);
4545 Py_DECREF(str);
4546 }
4547 }
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 Py_INCREF(Py_None); resultobj = Py_None;
4556 {
4557 if (arg2) delete arg2;
4558 }
4559 return resultobj;
4560 fail:
4561 {
4562 if (arg2) delete arg2;
4563 }
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxListBox *arg1 = (wxListBox *) 0 ;
4571 wxArrayString *arg2 = 0 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "items", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4580 {
4581 if (! PySequence_Check(obj1)) {
4582 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4583 SWIG_fail;
4584 }
4585 arg2 = new wxArrayString;
4586 int i, len=PySequence_Length(obj1);
4587 for (i=0; i<len; i++) {
4588 PyObject* item = PySequence_GetItem(obj1, i);
4589 #if wxUSE_UNICODE
4590 PyObject* str = PyObject_Unicode(item);
4591 #else
4592 PyObject* str = PyObject_Str(item);
4593 #endif
4594 arg2->Add(Py2wxString(str));
4595 Py_DECREF(item);
4596 Py_DECREF(str);
4597 }
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->Set((wxArrayString const &)*arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 {
4608 if (arg2) delete arg2;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (arg2) delete arg2;
4614 }
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxListBox *arg1 = (wxListBox *) 0 ;
4622 int arg2 ;
4623 bool result;
4624 PyObject * obj0 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self",(char *) "n", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = PyInt_FromLong((long)result);
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxListBox *arg1 = (wxListBox *) 0 ;
4648 int arg2 ;
4649 bool arg3 = (bool) True ;
4650 PyObject * obj0 = 0 ;
4651 PyObject * obj2 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self",(char *) "n",(char *) "select", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4658 if (obj2) {
4659 arg3 = PyInt_AsLong(obj2) ? true : false;
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->SetSelection(arg2,arg3);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxListBox *arg1 = (wxListBox *) 0 ;
4679 int arg2 ;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "n", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 (arg1)->Select(arg2);
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 Py_INCREF(Py_None); resultobj = Py_None;
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxListBox *arg1 = (wxListBox *) 0 ;
4704 int arg2 ;
4705 PyObject * obj0 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self",(char *) "n", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 (arg1)->Deselect(arg2);
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 Py_INCREF(Py_None); resultobj = Py_None;
4720 return resultobj;
4721 fail:
4722 return NULL;
4723 }
4724
4725
4726 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4727 PyObject *resultobj;
4728 wxListBox *arg1 = (wxListBox *) 0 ;
4729 int arg2 = (int) -1 ;
4730 PyObject * obj0 = 0 ;
4731 char *kwnames[] = {
4732 (char *) "self",(char *) "itemToLeaveSelected", NULL
4733 };
4734
4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->DeselectAll(arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxListBox *arg1 = (wxListBox *) 0 ;
4754 wxString *arg2 = 0 ;
4755 bool arg3 = (bool) True ;
4756 bool result;
4757 bool temp2 = False ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "s",(char *) "select", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 {
4768 arg2 = wxString_in_helper(obj1);
4769 if (arg2 == NULL) SWIG_fail;
4770 temp2 = True;
4771 }
4772 if (obj2) {
4773 arg3 = PyInt_AsLong(obj2) ? true : false;
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 resultobj = PyInt_FromLong((long)result);
4784 {
4785 if (temp2)
4786 delete arg2;
4787 }
4788 return resultobj;
4789 fail:
4790 {
4791 if (temp2)
4792 delete arg2;
4793 }
4794 return NULL;
4795 }
4796
4797
4798 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxListBox *arg1 = (wxListBox *) 0 ;
4801 PyObject *result;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (PyObject *)wxListBox_GetSelections(arg1);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 resultobj = result;
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxListBox *arg1 = (wxListBox *) 0 ;
4826 int arg2 ;
4827 PyObject * obj0 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "self",(char *) "n", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 (arg1)->SetFirstItem(arg2);
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 Py_INCREF(Py_None); resultobj = Py_None;
4842 return resultobj;
4843 fail:
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxListBox *arg1 = (wxListBox *) 0 ;
4851 wxString *arg2 = 0 ;
4852 bool temp2 = False ;
4853 PyObject * obj0 = 0 ;
4854 PyObject * obj1 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "s", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 arg2 = wxString_in_helper(obj1);
4863 if (arg2 == NULL) SWIG_fail;
4864 temp2 = True;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->SetFirstItem((wxString const &)*arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 {
4875 if (temp2)
4876 delete arg2;
4877 }
4878 return resultobj;
4879 fail:
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return NULL;
4885 }
4886
4887
4888 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj;
4890 wxListBox *arg1 = (wxListBox *) 0 ;
4891 int arg2 ;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "n", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->EnsureVisible(arg2);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxListBox *arg1 = (wxListBox *) 0 ;
4916 wxString *arg2 = 0 ;
4917 bool temp2 = False ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "s", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 {
4927 arg2 = wxString_in_helper(obj1);
4928 if (arg2 == NULL) SWIG_fail;
4929 temp2 = True;
4930 }
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 {
4940 if (temp2)
4941 delete arg2;
4942 }
4943 return resultobj;
4944 fail:
4945 {
4946 if (temp2)
4947 delete arg2;
4948 }
4949 return NULL;
4950 }
4951
4952
4953 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxListBox *arg1 = (wxListBox *) 0 ;
4956 bool result;
4957 PyObject * obj0 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (bool)((wxListBox const *)arg1)->IsSorted();
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = PyInt_FromLong((long)result);
4972 return resultobj;
4973 fail:
4974 return NULL;
4975 }
4976
4977
4978 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4979 PyObject *obj;
4980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4981 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4982 Py_INCREF(obj);
4983 return Py_BuildValue((char *)"");
4984 }
4985 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxWindow *arg1 = (wxWindow *) 0 ;
4988 int arg2 ;
4989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4991 wxSize const &arg4_defvalue = wxDefaultSize ;
4992 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4993 int arg5 = (int) 0 ;
4994 wxString *arg6 = (wxString *) NULL ;
4995 long arg7 = (long) 0 ;
4996 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4997 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4998 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4999 wxString *arg9 = (wxString *) &arg9_defvalue ;
5000 wxCheckListBox *result;
5001 wxPoint temp3 ;
5002 wxSize temp4 ;
5003 bool temp8 = False ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj2 = 0 ;
5006 PyObject * obj3 = 0 ;
5007 PyObject * obj4 = 0 ;
5008 PyObject * obj6 = 0 ;
5009 PyObject * obj7 = 0 ;
5010 char *kwnames[] = {
5011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5012 };
5013
5014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5016 if (obj2) {
5017 {
5018 arg3 = &temp3;
5019 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5020 }
5021 }
5022 if (obj3) {
5023 {
5024 arg4 = &temp4;
5025 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5026 }
5027 }
5028 if (obj4) {
5029 {
5030 arg5 = PyList_Size(obj4);
5031 arg6 = wxString_LIST_helper(obj4);
5032 if (arg6 == NULL) SWIG_fail;
5033 }
5034 }
5035 if (obj6) {
5036 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 if (arg8 == NULL) {
5038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5039 }
5040 }
5041 if (obj7) {
5042 {
5043 arg9 = wxString_in_helper(obj7);
5044 if (arg9 == NULL) SWIG_fail;
5045 temp8 = True;
5046 }
5047 }
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5056 {
5057 if (arg6) delete [] arg6;
5058 }
5059 {
5060 if (temp8)
5061 delete arg9;
5062 }
5063 return resultobj;
5064 fail:
5065 {
5066 if (arg6) delete [] arg6;
5067 }
5068 {
5069 if (temp8)
5070 delete arg9;
5071 }
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxCheckListBox *result;
5079 char *kwnames[] = {
5080 NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 result = (wxCheckListBox *)new wxCheckListBox();
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj;
5100 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5101 wxWindow *arg2 = (wxWindow *) 0 ;
5102 int arg3 ;
5103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5105 wxSize const &arg5_defvalue = wxDefaultSize ;
5106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5107 int arg6 = (int) 0 ;
5108 wxString *arg7 = (wxString *) NULL ;
5109 long arg8 = (long) 0 ;
5110 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5111 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5112 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5113 wxString *arg10 = (wxString *) &arg10_defvalue ;
5114 bool result;
5115 wxPoint temp4 ;
5116 wxSize temp5 ;
5117 bool temp9 = False ;
5118 PyObject * obj0 = 0 ;
5119 PyObject * obj1 = 0 ;
5120 PyObject * obj3 = 0 ;
5121 PyObject * obj4 = 0 ;
5122 PyObject * obj5 = 0 ;
5123 PyObject * obj7 = 0 ;
5124 PyObject * obj8 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5132 if (obj3) {
5133 {
5134 arg4 = &temp4;
5135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5136 }
5137 }
5138 if (obj4) {
5139 {
5140 arg5 = &temp5;
5141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5142 }
5143 }
5144 if (obj5) {
5145 {
5146 arg6 = PyList_Size(obj5);
5147 arg7 = wxString_LIST_helper(obj5);
5148 if (arg7 == NULL) SWIG_fail;
5149 }
5150 }
5151 if (obj7) {
5152 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 if (arg9 == NULL) {
5154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5155 }
5156 }
5157 if (obj8) {
5158 {
5159 arg10 = wxString_in_helper(obj8);
5160 if (arg10 == NULL) SWIG_fail;
5161 temp9 = True;
5162 }
5163 }
5164 {
5165 PyThreadState* __tstate = wxPyBeginAllowThreads();
5166 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5167
5168 wxPyEndAllowThreads(__tstate);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 resultobj = PyInt_FromLong((long)result);
5172 {
5173 if (arg7) delete [] arg7;
5174 }
5175 {
5176 if (temp9)
5177 delete arg10;
5178 }
5179 return resultobj;
5180 fail:
5181 {
5182 if (arg7) delete [] arg7;
5183 }
5184 {
5185 if (temp9)
5186 delete arg10;
5187 }
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5195 int arg2 ;
5196 bool result;
5197 PyObject * obj0 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "index", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (bool)(arg1)->IsChecked(arg2);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = PyInt_FromLong((long)result);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5221 int arg2 ;
5222 int arg3 = (int) True ;
5223 PyObject * obj0 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "index",(char *) "check", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 (arg1)->Check(arg2,arg3);
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 Py_INCREF(Py_None); resultobj = Py_None;
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj;
5246 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5247 wxPoint *arg2 = 0 ;
5248 int result;
5249 wxPoint temp2 ;
5250 PyObject * obj0 = 0 ;
5251 PyObject * obj1 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self",(char *) "pt", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5258 {
5259 arg2 = &temp2;
5260 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = PyInt_FromLong((long)result);
5270 return resultobj;
5271 fail:
5272 return NULL;
5273 }
5274
5275
5276 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5279 int arg2 ;
5280 int arg3 ;
5281 int result;
5282 PyObject * obj0 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "x",(char *) "y", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = PyInt_FromLong((long)result);
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5304 PyObject *obj;
5305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5306 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5307 Py_INCREF(obj);
5308 return Py_BuildValue((char *)"");
5309 }
5310 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5311 PyObject *resultobj;
5312 wxTextAttr *result;
5313
5314 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (wxTextAttr *)new wxTextAttr();
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5330 PyObject *resultobj;
5331 wxColour *arg1 = 0 ;
5332 wxColour const &arg2_defvalue = wxNullColour ;
5333 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5334 wxFont const &arg3_defvalue = wxNullFont ;
5335 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5336 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5337 wxTextAttr *result;
5338 wxColour temp1 ;
5339 wxColour temp2 ;
5340 PyObject * obj0 = 0 ;
5341 PyObject * obj1 = 0 ;
5342 PyObject * obj2 = 0 ;
5343
5344 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5345 {
5346 arg1 = &temp1;
5347 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5348 }
5349 if (obj1) {
5350 {
5351 arg2 = &temp2;
5352 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5353 }
5354 }
5355 if (obj2) {
5356 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5357 if (arg3 == NULL) {
5358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5359 }
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5376 int argc;
5377 PyObject *argv[5];
5378 int ii;
5379
5380 argc = PyObject_Length(args);
5381 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5382 argv[ii] = PyTuple_GetItem(args,ii);
5383 }
5384 if (argc == 0) {
5385 return _wrap_new_TextAttr__SWIG_0(self,args);
5386 }
5387 if ((argc >= 1) && (argc <= 4)) {
5388 int _v;
5389 {
5390 _v = wxColour_typecheck(argv[0]);
5391 }
5392 if (_v) {
5393 if (argc <= 1) {
5394 return _wrap_new_TextAttr__SWIG_1(self,args);
5395 }
5396 {
5397 _v = wxColour_typecheck(argv[1]);
5398 }
5399 if (_v) {
5400 if (argc <= 2) {
5401 return _wrap_new_TextAttr__SWIG_1(self,args);
5402 }
5403 {
5404 void *ptr;
5405 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5406 _v = 0;
5407 PyErr_Clear();
5408 } else {
5409 _v = 1;
5410 }
5411 }
5412 if (_v) {
5413 if (argc <= 3) {
5414 return _wrap_new_TextAttr__SWIG_1(self,args);
5415 }
5416 {
5417 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5418 }
5419 if (_v) {
5420 return _wrap_new_TextAttr__SWIG_1(self,args);
5421 }
5422 }
5423 }
5424 }
5425 }
5426
5427 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->Init();
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 Py_INCREF(Py_None); resultobj = Py_None;
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5459 wxColour *arg2 = 0 ;
5460 wxColour temp2 ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "colText", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5469 {
5470 arg2 = &temp2;
5471 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->SetTextColour((wxColour const &)*arg2);
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_SetBackgroundColour(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 *) "colBack", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",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)->SetBackgroundColour((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_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5521 wxFont *arg2 = 0 ;
5522 long arg3 = (long) wxTEXT_ATTR_FONT ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "font",(char *) "flags", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5532 if (arg2 == NULL) {
5533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5534 }
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetFont((wxFont const &)*arg2,arg3);
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_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5552 int arg2 ;
5553 PyObject * obj0 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "alignment", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571 }
5572
5573
5574 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj;
5576 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5577 wxArrayInt *arg2 = 0 ;
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "self",(char *) "tabs", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5586 {
5587 if (! PySequence_Check(obj1)) {
5588 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5589 SWIG_fail;
5590 }
5591 arg2 = new wxArrayInt;
5592 int i, len=PySequence_Length(obj1);
5593 for (i=0; i<len; i++) {
5594 PyObject* item = PySequence_GetItem(obj1, i);
5595 PyObject* number = PyNumber_Int(item);
5596 arg2->Add(PyInt_AS_LONG(number));
5597 Py_DECREF(item);
5598 Py_DECREF(number);
5599 }
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 {
5610 if (arg2) delete arg2;
5611 }
5612 return resultobj;
5613 fail:
5614 {
5615 if (arg2) delete arg2;
5616 }
5617 return NULL;
5618 }
5619
5620
5621 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject *resultobj;
5623 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5624 int arg2 ;
5625 PyObject * obj0 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "indent", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetLeftIndent(arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 return resultobj;
5641 fail:
5642 return NULL;
5643 }
5644
5645
5646 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5647 PyObject *resultobj;
5648 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5649 int arg2 ;
5650 PyObject * obj0 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self",(char *) "indent", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5657 {
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 (arg1)->SetRightIndent(arg2);
5660
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 Py_INCREF(Py_None); resultobj = Py_None;
5665 return resultobj;
5666 fail:
5667 return NULL;
5668 }
5669
5670
5671 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj;
5673 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5674 long arg2 ;
5675 PyObject * obj0 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "flags", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->SetFlags(arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5699 bool result;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = PyInt_FromLong((long)result);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5724 bool result;
5725 PyObject * obj0 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 resultobj = PyInt_FromLong((long)result);
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5749 bool result;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = PyInt_FromLong((long)result);
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5774 bool result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 resultobj = PyInt_FromLong((long)result);
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5799 bool result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 resultobj = PyInt_FromLong((long)result);
5815 return resultobj;
5816 fail:
5817 return NULL;
5818 }
5819
5820
5821 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj;
5823 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5824 bool result;
5825 PyObject * obj0 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 resultobj = PyInt_FromLong((long)result);
5840 return resultobj;
5841 fail:
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5849 bool result;
5850 PyObject * obj0 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = PyInt_FromLong((long)result);
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5874 long arg2 ;
5875 bool result;
5876 PyObject * obj0 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self",(char *) "flag", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = PyInt_FromLong((long)result);
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5900 wxColour *result;
5901 PyObject * obj0 = 0 ;
5902 char *kwnames[] = {
5903 (char *) "self", NULL
5904 };
5905
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 {
5911 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5912 result = (wxColour *) &_result_ref;
5913 }
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5928 wxColour *result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 {
5939 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5940 result = (wxColour *) &_result_ref;
5941 }
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5956 wxFont *result;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 {
5967 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5968 result = (wxFont *) &_result_ref;
5969 }
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj;
5983 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5984 int result;
5985 PyObject * obj0 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
5991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = PyInt_FromLong((long)result);
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6009 wxArrayInt *result;
6010 PyObject * obj0 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 {
6020 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6021 result = (wxArrayInt *) &_result_ref;
6022 }
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 {
6028 resultobj = PyList_New(0);
6029 size_t idx;
6030 for (idx = 0; idx < result->GetCount(); idx += 1) {
6031 PyObject* val = PyInt_FromLong( result->Item(idx) );
6032 PyList_Append(resultobj, val);
6033 Py_DECREF(val);
6034 }
6035 }
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6045 long result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = PyInt_FromLong((long)result);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6070 long result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 resultobj = PyInt_FromLong((long)result);
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject *resultobj;
6094 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6095 long result;
6096 PyObject * obj0 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 resultobj = PyInt_FromLong((long)result);
6111 return resultobj;
6112 fail:
6113 return NULL;
6114 }
6115
6116
6117 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6120 bool result;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = PyInt_FromLong((long)result);
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxTextAttr *arg1 = 0 ;
6145 wxTextAttr *arg2 = 0 ;
6146 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6147 wxTextAttr result;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6157 if (arg1 == NULL) {
6158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6159 }
6160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6161 if (arg2 == NULL) {
6162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6163 }
6164 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 {
6173 wxTextAttr * resultptr;
6174 resultptr = new wxTextAttr((wxTextAttr &) result);
6175 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6184 PyObject *obj;
6185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6186 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6187 Py_INCREF(obj);
6188 return Py_BuildValue((char *)"");
6189 }
6190 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxWindow *arg1 = (wxWindow *) 0 ;
6193 int arg2 ;
6194 wxString const &arg3_defvalue = wxPyEmptyString ;
6195 wxString *arg3 = (wxString *) &arg3_defvalue ;
6196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6198 wxSize const &arg5_defvalue = wxDefaultSize ;
6199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6200 long arg6 = (long) 0 ;
6201 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6202 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6203 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6204 wxString *arg8 = (wxString *) &arg8_defvalue ;
6205 wxTextCtrl *result;
6206 bool temp3 = False ;
6207 wxPoint temp4 ;
6208 wxSize temp5 ;
6209 bool temp8 = False ;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj2 = 0 ;
6212 PyObject * obj3 = 0 ;
6213 PyObject * obj4 = 0 ;
6214 PyObject * obj6 = 0 ;
6215 PyObject * obj7 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6222 if (obj2) {
6223 {
6224 arg3 = wxString_in_helper(obj2);
6225 if (arg3 == NULL) SWIG_fail;
6226 temp3 = True;
6227 }
6228 }
6229 if (obj3) {
6230 {
6231 arg4 = &temp4;
6232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6233 }
6234 }
6235 if (obj4) {
6236 {
6237 arg5 = &temp5;
6238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6239 }
6240 }
6241 if (obj6) {
6242 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243 if (arg7 == NULL) {
6244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6245 }
6246 }
6247 if (obj7) {
6248 {
6249 arg8 = wxString_in_helper(obj7);
6250 if (arg8 == NULL) SWIG_fail;
6251 temp8 = True;
6252 }
6253 }
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 {
6262 resultobj = wxPyMake_wxObject(result);
6263 }
6264 {
6265 if (temp3)
6266 delete arg3;
6267 }
6268 {
6269 if (temp8)
6270 delete arg8;
6271 }
6272 return resultobj;
6273 fail:
6274 {
6275 if (temp3)
6276 delete arg3;
6277 }
6278 {
6279 if (temp8)
6280 delete arg8;
6281 }
6282 return NULL;
6283 }
6284
6285
6286 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject *resultobj;
6288 wxTextCtrl *result;
6289 char *kwnames[] = {
6290 NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (wxTextCtrl *)new wxTextCtrl();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
6302 resultobj = wxPyMake_wxObject(result);
6303 }
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6313 wxWindow *arg2 = (wxWindow *) 0 ;
6314 int arg3 ;
6315 wxString const &arg4_defvalue = wxPyEmptyString ;
6316 wxString *arg4 = (wxString *) &arg4_defvalue ;
6317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6319 wxSize const &arg6_defvalue = wxDefaultSize ;
6320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6321 long arg7 = (long) 0 ;
6322 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6323 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6324 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6325 wxString *arg9 = (wxString *) &arg9_defvalue ;
6326 bool result;
6327 bool temp4 = False ;
6328 wxPoint temp5 ;
6329 wxSize temp6 ;
6330 bool temp9 = False ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 PyObject * obj3 = 0 ;
6334 PyObject * obj4 = 0 ;
6335 PyObject * obj5 = 0 ;
6336 PyObject * obj7 = 0 ;
6337 PyObject * obj8 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 if (obj3) {
6346 {
6347 arg4 = wxString_in_helper(obj3);
6348 if (arg4 == NULL) SWIG_fail;
6349 temp4 = True;
6350 }
6351 }
6352 if (obj4) {
6353 {
6354 arg5 = &temp5;
6355 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6356 }
6357 }
6358 if (obj5) {
6359 {
6360 arg6 = &temp6;
6361 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6362 }
6363 }
6364 if (obj7) {
6365 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6366 if (arg8 == NULL) {
6367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6368 }
6369 }
6370 if (obj8) {
6371 {
6372 arg9 = wxString_in_helper(obj8);
6373 if (arg9 == NULL) SWIG_fail;
6374 temp9 = True;
6375 }
6376 }
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6380
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 resultobj = PyInt_FromLong((long)result);
6385 {
6386 if (temp4)
6387 delete arg4;
6388 }
6389 {
6390 if (temp9)
6391 delete arg9;
6392 }
6393 return resultobj;
6394 fail:
6395 {
6396 if (temp4)
6397 delete arg4;
6398 }
6399 {
6400 if (temp9)
6401 delete arg9;
6402 }
6403 return NULL;
6404 }
6405
6406
6407 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6410 wxString result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = ((wxTextCtrl const *)arg1)->GetValue();
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 {
6426 #if wxUSE_UNICODE
6427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6428 #else
6429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6430 #endif
6431 }
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6441 wxString *arg2 = 0 ;
6442 bool temp2 = False ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "value", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 arg2 = wxString_in_helper(obj1);
6453 if (arg2 == NULL) SWIG_fail;
6454 temp2 = True;
6455 }
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 (arg1)->SetValue((wxString const &)*arg2);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 Py_INCREF(Py_None); resultobj = Py_None;
6464 {
6465 if (temp2)
6466 delete arg2;
6467 }
6468 return resultobj;
6469 fail:
6470 {
6471 if (temp2)
6472 delete arg2;
6473 }
6474 return NULL;
6475 }
6476
6477
6478 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject *resultobj;
6480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6481 long arg2 ;
6482 long arg3 ;
6483 wxString result;
6484 PyObject * obj0 = 0 ;
6485 char *kwnames[] = {
6486 (char *) "self",(char *) "from",(char *) "to", NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 {
6499 #if wxUSE_UNICODE
6500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6501 #else
6502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6503 #endif
6504 }
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6514 long arg2 ;
6515 int result;
6516 PyObject * obj0 = 0 ;
6517 char *kwnames[] = {
6518 (char *) "self",(char *) "lineNo", NULL
6519 };
6520
6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = PyInt_FromLong((long)result);
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6540 long arg2 ;
6541 wxString result;
6542 PyObject * obj0 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self",(char *) "lineNo", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 {
6557 #if wxUSE_UNICODE
6558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6559 #else
6560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6561 #endif
6562 }
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6572 int result;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) 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 = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 resultobj = PyInt_FromLong((long)result);
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6597 bool result;
6598 PyObject * obj0 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "self", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = PyInt_FromLong((long)result);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6622 bool result;
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 resultobj = PyInt_FromLong((long)result);
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6647 bool result;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 resultobj = PyInt_FromLong((long)result);
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6672 bool result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = PyInt_FromLong((long)result);
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6697 long *arg2 = (long *) 0 ;
6698 long *arg3 = (long *) 0 ;
6699 long temp2 ;
6700 long temp3 ;
6701 PyObject * obj0 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self", NULL
6704 };
6705
6706 arg2 = &temp2;
6707 arg3 = &temp3;
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 Py_INCREF(Py_None); resultobj = Py_None;
6718 {
6719 PyObject *o = PyInt_FromLong((long) (*arg2));
6720 resultobj = t_output_helper(resultobj,o);
6721 }
6722 {
6723 PyObject *o = PyInt_FromLong((long) (*arg3));
6724 resultobj = t_output_helper(resultobj,o);
6725 }
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6735 wxString result;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 {
6751 #if wxUSE_UNICODE
6752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6753 #else
6754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6755 #endif
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 (arg1)->Clear();
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 Py_INCREF(Py_None); resultobj = Py_None;
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6790 long arg2 ;
6791 long arg3 ;
6792 wxString *arg4 = 0 ;
6793 bool temp4 = False ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj3 = 0 ;
6796 char *kwnames[] = {
6797 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6798 };
6799
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6802 {
6803 arg4 = wxString_in_helper(obj3);
6804 if (arg4 == NULL) SWIG_fail;
6805 temp4 = True;
6806 }
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 {
6816 if (temp4)
6817 delete arg4;
6818 }
6819 return resultobj;
6820 fail:
6821 {
6822 if (temp4)
6823 delete arg4;
6824 }
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6832 long arg2 ;
6833 long arg3 ;
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "from",(char *) "to", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 (arg1)->Remove(arg2,arg3);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 Py_INCREF(Py_None); resultobj = Py_None;
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6858 wxString *arg2 = 0 ;
6859 bool result;
6860 bool temp2 = False ;
6861 PyObject * obj0 = 0 ;
6862 PyObject * obj1 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self",(char *) "file", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6869 {
6870 arg2 = wxString_in_helper(obj1);
6871 if (arg2 == NULL) SWIG_fail;
6872 temp2 = True;
6873 }
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 resultobj = PyInt_FromLong((long)result);
6882 {
6883 if (temp2)
6884 delete arg2;
6885 }
6886 return resultobj;
6887 fail:
6888 {
6889 if (temp2)
6890 delete arg2;
6891 }
6892 return NULL;
6893 }
6894
6895
6896 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6899 wxString const &arg2_defvalue = wxPyEmptyString ;
6900 wxString *arg2 = (wxString *) &arg2_defvalue ;
6901 bool result;
6902 bool temp2 = False ;
6903 PyObject * obj0 = 0 ;
6904 PyObject * obj1 = 0 ;
6905 char *kwnames[] = {
6906 (char *) "self",(char *) "file", NULL
6907 };
6908
6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6911 if (obj1) {
6912 {
6913 arg2 = wxString_in_helper(obj1);
6914 if (arg2 == NULL) SWIG_fail;
6915 temp2 = True;
6916 }
6917 }
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 resultobj = PyInt_FromLong((long)result);
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return resultobj;
6931 fail:
6932 {
6933 if (temp2)
6934 delete arg2;
6935 }
6936 return NULL;
6937 }
6938
6939
6940 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj;
6942 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 (arg1)->MarkDirty();
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 Py_INCREF(Py_None); resultobj = Py_None;
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->DiscardEdits();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6991 unsigned long arg2 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "len", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7000 arg2 = (unsigned long) PyInt_AsLong(obj1);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 (arg1)->SetMaxLength(arg2);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7019 wxString *arg2 = 0 ;
7020 bool temp2 = False ;
7021 PyObject * obj0 = 0 ;
7022 PyObject * obj1 = 0 ;
7023 char *kwnames[] = {
7024 (char *) "self",(char *) "text", NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7029 {
7030 arg2 = wxString_in_helper(obj1);
7031 if (arg2 == NULL) SWIG_fail;
7032 temp2 = True;
7033 }
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 (arg1)->WriteText((wxString const &)*arg2);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 Py_INCREF(Py_None); resultobj = Py_None;
7042 {
7043 if (temp2)
7044 delete arg2;
7045 }
7046 return resultobj;
7047 fail:
7048 {
7049 if (temp2)
7050 delete arg2;
7051 }
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7059 wxString *arg2 = 0 ;
7060 bool temp2 = False ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "text", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7069 {
7070 arg2 = wxString_in_helper(obj1);
7071 if (arg2 == NULL) SWIG_fail;
7072 temp2 = True;
7073 }
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 (arg1)->AppendText((wxString const &)*arg2);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 Py_INCREF(Py_None); resultobj = Py_None;
7082 {
7083 if (temp2)
7084 delete arg2;
7085 }
7086 return resultobj;
7087 fail:
7088 {
7089 if (temp2)
7090 delete arg2;
7091 }
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7099 wxKeyEvent *arg2 = 0 ;
7100 bool result;
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self",(char *) "event", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 if (arg2 == NULL) {
7111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = PyInt_FromLong((long)result);
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7130 long arg2 ;
7131 long arg3 ;
7132 wxTextAttr *arg4 = 0 ;
7133 bool result;
7134 PyObject * obj0 = 0 ;
7135 PyObject * obj3 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7142 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7143 if (arg4 == NULL) {
7144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7145 }
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = PyInt_FromLong((long)result);
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7163 long arg2 ;
7164 wxTextAttr *arg3 = 0 ;
7165 bool result;
7166 PyObject * obj0 = 0 ;
7167 PyObject * obj2 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "position",(char *) "style", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 if (arg3 == NULL) {
7176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7177 }
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 resultobj = PyInt_FromLong((long)result);
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7195 wxTextAttr *arg2 = 0 ;
7196 bool result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "style", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if (arg2 == NULL) {
7207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
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_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7226 wxTextAttr *result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 {
7237 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7238 result = (wxTextAttr *) &_result_ref;
7239 }
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7245 return resultobj;
7246 fail:
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7254 long arg2 ;
7255 long arg3 ;
7256 long result;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self",(char *) "x",(char *) "y", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 resultobj = PyInt_FromLong((long)result);
7272 return resultobj;
7273 fail:
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7281 long arg2 ;
7282 long *arg3 = (long *) 0 ;
7283 long *arg4 = (long *) 0 ;
7284 long temp3 ;
7285 long temp4 ;
7286 PyObject * obj0 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self",(char *) "pos", NULL
7289 };
7290
7291 arg3 = &temp3;
7292 arg4 = &temp4;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) 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 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 Py_INCREF(Py_None); resultobj = Py_None;
7303 {
7304 PyObject *o = PyInt_FromLong((long) (*arg3));
7305 resultobj = t_output_helper(resultobj,o);
7306 }
7307 {
7308 PyObject *o = PyInt_FromLong((long) (*arg4));
7309 resultobj = t_output_helper(resultobj,o);
7310 }
7311 return resultobj;
7312 fail:
7313 return NULL;
7314 }
7315
7316
7317 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7320 long arg2 ;
7321 PyObject * obj0 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "pos", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 (arg1)->ShowPosition(arg2);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 Py_INCREF(Py_None); resultobj = Py_None;
7336 return resultobj;
7337 fail:
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7345 PyObject * obj0 = 0 ;
7346 char *kwnames[] = {
7347 (char *) "self", NULL
7348 };
7349
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 (arg1)->Copy();
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 Py_INCREF(Py_None); resultobj = Py_None;
7360 return resultobj;
7361 fail:
7362 return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7369 PyObject * obj0 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 (arg1)->Cut();
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 Py_INCREF(Py_None); resultobj = Py_None;
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7393 PyObject * obj0 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->Paste();
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 Py_INCREF(Py_None); resultobj = Py_None;
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7417 bool result;
7418 PyObject * obj0 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 resultobj = PyInt_FromLong((long)result);
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7442 bool result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 resultobj = PyInt_FromLong((long)result);
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj;
7466 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7467 bool result;
7468 PyObject * obj0 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7475 {
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7478
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 resultobj = PyInt_FromLong((long)result);
7483 return resultobj;
7484 fail:
7485 return NULL;
7486 }
7487
7488
7489 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj;
7491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7492 PyObject * obj0 = 0 ;
7493 char *kwnames[] = {
7494 (char *) "self", NULL
7495 };
7496
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->Undo();
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7516 PyObject * obj0 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "self", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 (arg1)->Redo();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 Py_INCREF(Py_None); resultobj = Py_None;
7531 return resultobj;
7532 fail:
7533 return NULL;
7534 }
7535
7536
7537 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj;
7539 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7540 bool result;
7541 PyObject * obj0 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 resultobj = PyInt_FromLong((long)result);
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7565 bool result;
7566 PyObject * obj0 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "self", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 resultobj = PyInt_FromLong((long)result);
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject *resultobj;
7589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7590 long arg2 ;
7591 PyObject * obj0 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "pos", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 (arg1)->SetInsertionPoint(arg2);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 Py_INCREF(Py_None); resultobj = Py_None;
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7615 PyObject * obj0 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->SetInsertionPointEnd();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj;
7638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7639 long result;
7640 PyObject * obj0 = 0 ;
7641 char *kwnames[] = {
7642 (char *) "self", NULL
7643 };
7644
7645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 resultobj = PyInt_FromLong((long)result);
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7664 long result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = PyInt_FromLong((long)result);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 long arg2 ;
7690 long arg3 ;
7691 PyObject * obj0 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "from",(char *) "to", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->SetSelection(arg2,arg3);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7715 PyObject * obj0 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 (arg1)->SelectAll();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 Py_INCREF(Py_None); resultobj = Py_None;
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7739 bool arg2 ;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 char *kwnames[] = {
7743 (char *) "self",(char *) "editable", NULL
7744 };
7745
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7748 arg2 = PyInt_AsLong(obj1) ? true : false;
7749 if (PyErr_Occurred()) SWIG_fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 (arg1)->SetEditable(arg2);
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 Py_INCREF(Py_None); resultobj = Py_None;
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7767 wxString *arg2 = 0 ;
7768 bool temp2 = False ;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "text", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7777 {
7778 arg2 = wxString_in_helper(obj1);
7779 if (arg2 == NULL) SWIG_fail;
7780 temp2 = True;
7781 }
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 Py_INCREF(Py_None); resultobj = Py_None;
7790 {
7791 if (temp2)
7792 delete arg2;
7793 }
7794 return resultobj;
7795 fail:
7796 {
7797 if (temp2)
7798 delete arg2;
7799 }
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7807 long arg2 ;
7808 long arg3 ;
7809 wxString result;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self",(char *) "from",(char *) "to", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 #if wxUSE_UNICODE
7826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7827 #else
7828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7829 #endif
7830 }
7831 return resultobj;
7832 fail:
7833 return NULL;
7834 }
7835
7836
7837 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7838 PyObject *obj;
7839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7840 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7841 Py_INCREF(obj);
7842 return Py_BuildValue((char *)"");
7843 }
7844 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 int arg1 ;
7847 wxMouseEvent *arg2 = 0 ;
7848 long arg3 ;
7849 long arg4 ;
7850 wxTextUrlEvent *result;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7858 if (arg2 == NULL) {
7859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7878 wxMouseEvent *result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 {
7889 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7890 result = (wxMouseEvent *) &_result_ref;
7891 }
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7906 long result;
7907 PyObject * obj0 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 resultobj = PyInt_FromLong((long)result);
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7931 long result;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 resultobj = PyInt_FromLong((long)result);
7947 return resultobj;
7948 fail:
7949 return NULL;
7950 }
7951
7952
7953 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7954 PyObject *obj;
7955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7957 Py_INCREF(obj);
7958 return Py_BuildValue((char *)"");
7959 }
7960 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxWindow *arg1 = (wxWindow *) 0 ;
7963 int arg2 = (int) -1 ;
7964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7966 wxSize const &arg4_defvalue = wxDefaultSize ;
7967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7968 long arg5 = (long) wxSB_HORIZONTAL ;
7969 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7970 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7971 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7972 wxString *arg7 = (wxString *) &arg7_defvalue ;
7973 wxScrollBar *result;
7974 wxPoint temp3 ;
7975 wxSize temp4 ;
7976 bool temp7 = False ;
7977 PyObject * obj0 = 0 ;
7978 PyObject * obj2 = 0 ;
7979 PyObject * obj3 = 0 ;
7980 PyObject * obj5 = 0 ;
7981 PyObject * obj6 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7988 if (obj2) {
7989 {
7990 arg3 = &temp3;
7991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7992 }
7993 }
7994 if (obj3) {
7995 {
7996 arg4 = &temp4;
7997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7998 }
7999 }
8000 if (obj5) {
8001 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8002 if (arg6 == NULL) {
8003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8004 }
8005 }
8006 if (obj6) {
8007 {
8008 arg7 = wxString_in_helper(obj6);
8009 if (arg7 == NULL) SWIG_fail;
8010 temp7 = True;
8011 }
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8021 {
8022 if (temp7)
8023 delete arg7;
8024 }
8025 return resultobj;
8026 fail:
8027 {
8028 if (temp7)
8029 delete arg7;
8030 }
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxScrollBar *result;
8038 char *kwnames[] = {
8039 NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (wxScrollBar *)new wxScrollBar();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8060 wxWindow *arg2 = (wxWindow *) 0 ;
8061 int arg3 = (int) -1 ;
8062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8064 wxSize const &arg5_defvalue = wxDefaultSize ;
8065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8066 long arg6 = (long) wxSB_HORIZONTAL ;
8067 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8068 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8069 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8070 wxString *arg8 = (wxString *) &arg8_defvalue ;
8071 bool result;
8072 wxPoint temp4 ;
8073 wxSize temp5 ;
8074 bool temp8 = False ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 PyObject * obj3 = 0 ;
8078 PyObject * obj4 = 0 ;
8079 PyObject * obj6 = 0 ;
8080 PyObject * obj7 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8088 if (obj3) {
8089 {
8090 arg4 = &temp4;
8091 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8092 }
8093 }
8094 if (obj4) {
8095 {
8096 arg5 = &temp5;
8097 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8098 }
8099 }
8100 if (obj6) {
8101 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8102 if (arg7 == NULL) {
8103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8104 }
8105 }
8106 if (obj7) {
8107 {
8108 arg8 = wxString_in_helper(obj7);
8109 if (arg8 == NULL) SWIG_fail;
8110 temp8 = True;
8111 }
8112 }
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 resultobj = PyInt_FromLong((long)result);
8121 {
8122 if (temp8)
8123 delete arg8;
8124 }
8125 return resultobj;
8126 fail:
8127 {
8128 if (temp8)
8129 delete arg8;
8130 }
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8138 int result;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 resultobj = PyInt_FromLong((long)result);
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8163 int result;
8164 PyObject * obj0 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = PyInt_FromLong((long)result);
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8188 int result;
8189 PyObject * obj0 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = PyInt_FromLong((long)result);
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8213 int result;
8214 PyObject * obj0 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (int)((wxScrollBar const *)arg1)->GetRange();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 resultobj = PyInt_FromLong((long)result);
8229 return resultobj;
8230 fail:
8231 return NULL;
8232 }
8233
8234
8235 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8238 bool result;
8239 PyObject * obj0 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 resultobj = PyInt_FromLong((long)result);
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8263 int arg2 ;
8264 PyObject * obj0 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self",(char *) "viewStart", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 (arg1)->SetThumbPosition(arg2);
8274
8275 wxPyEndAllowThreads(__tstate);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 }
8278 Py_INCREF(Py_None); resultobj = Py_None;
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8288 int arg2 ;
8289 int arg3 ;
8290 int arg4 ;
8291 int arg5 ;
8292 bool arg6 = (bool) True ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj5 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 if (obj5) {
8302 arg6 = PyInt_AsLong(obj5) ? true : false;
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 Py_INCREF(Py_None); resultobj = Py_None;
8313 return resultobj;
8314 fail:
8315 return NULL;
8316 }
8317
8318
8319 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8320 PyObject *obj;
8321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8322 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8323 Py_INCREF(obj);
8324 return Py_BuildValue((char *)"");
8325 }
8326 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxWindow *arg1 = (wxWindow *) 0 ;
8329 int arg2 = (int) -1 ;
8330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8332 wxSize const &arg4_defvalue = wxDefaultSize ;
8333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8334 long arg5 = (long) wxSP_HORIZONTAL ;
8335 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8336 wxString *arg6 = (wxString *) &arg6_defvalue ;
8337 wxSpinButton *result;
8338 wxPoint temp3 ;
8339 wxSize temp4 ;
8340 bool temp6 = False ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj2 = 0 ;
8343 PyObject * obj3 = 0 ;
8344 PyObject * obj5 = 0 ;
8345 char *kwnames[] = {
8346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8347 };
8348
8349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8351 if (obj2) {
8352 {
8353 arg3 = &temp3;
8354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8355 }
8356 }
8357 if (obj3) {
8358 {
8359 arg4 = &temp4;
8360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8361 }
8362 }
8363 if (obj5) {
8364 {
8365 arg6 = wxString_in_helper(obj5);
8366 if (arg6 == NULL) SWIG_fail;
8367 temp6 = True;
8368 }
8369 }
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8378 {
8379 if (temp6)
8380 delete arg6;
8381 }
8382 return resultobj;
8383 fail:
8384 {
8385 if (temp6)
8386 delete arg6;
8387 }
8388 return NULL;
8389 }
8390
8391
8392 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxSpinButton *result;
8395 char *kwnames[] = {
8396 NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 result = (wxSpinButton *)new wxSpinButton();
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8408 return resultobj;
8409 fail:
8410 return NULL;
8411 }
8412
8413
8414 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8417 wxWindow *arg2 = (wxWindow *) 0 ;
8418 int arg3 = (int) -1 ;
8419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8421 wxSize const &arg5_defvalue = wxDefaultSize ;
8422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8423 long arg6 = (long) wxSP_HORIZONTAL ;
8424 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8425 wxString *arg7 = (wxString *) &arg7_defvalue ;
8426 bool result;
8427 wxPoint temp4 ;
8428 wxSize temp5 ;
8429 bool temp7 = False ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 PyObject * obj3 = 0 ;
8433 PyObject * obj4 = 0 ;
8434 PyObject * obj6 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8442 if (obj3) {
8443 {
8444 arg4 = &temp4;
8445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8446 }
8447 }
8448 if (obj4) {
8449 {
8450 arg5 = &temp5;
8451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8452 }
8453 }
8454 if (obj6) {
8455 {
8456 arg7 = wxString_in_helper(obj6);
8457 if (arg7 == NULL) SWIG_fail;
8458 temp7 = True;
8459 }
8460 }
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 resultobj = PyInt_FromLong((long)result);
8469 {
8470 if (temp7)
8471 delete arg7;
8472 }
8473 return resultobj;
8474 fail:
8475 {
8476 if (temp7)
8477 delete arg7;
8478 }
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8486 int result;
8487 PyObject * obj0 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (int)((wxSpinButton const *)arg1)->GetValue();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = PyInt_FromLong((long)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 result = (int)((wxSpinButton const *)arg1)->GetMin();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 resultobj = PyInt_FromLong((long)result);
8527 return resultobj;
8528 fail:
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8536 int result;
8537 PyObject * obj0 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "self", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (int)((wxSpinButton const *)arg1)->GetMax();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = PyInt_FromLong((long)result);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8561 int arg2 ;
8562 PyObject * obj0 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "val", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 (arg1)->SetValue(arg2);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 Py_INCREF(Py_None); resultobj = Py_None;
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj;
8585 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8586 int arg2 ;
8587 PyObject * obj0 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "minVal", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->SetMin(arg2);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8611 int arg2 ;
8612 PyObject * obj0 = 0 ;
8613 char *kwnames[] = {
8614 (char *) "self",(char *) "maxVal", NULL
8615 };
8616
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 (arg1)->SetMax(arg2);
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 Py_INCREF(Py_None); resultobj = Py_None;
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj;
8635 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8636 int arg2 ;
8637 int arg3 ;
8638 PyObject * obj0 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 (arg1)->SetRange(arg2,arg3);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 }
8652 Py_INCREF(Py_None); resultobj = Py_None;
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8662 bool result;
8663 PyObject * obj0 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = PyInt_FromLong((long)result);
8678 return resultobj;
8679 fail:
8680 return NULL;
8681 }
8682
8683
8684 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8685 PyObject *obj;
8686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8687 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8688 Py_INCREF(obj);
8689 return Py_BuildValue((char *)"");
8690 }
8691 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject *resultobj;
8693 wxWindow *arg1 = (wxWindow *) 0 ;
8694 int arg2 = (int) -1 ;
8695 wxString const &arg3_defvalue = wxPyEmptyString ;
8696 wxString *arg3 = (wxString *) &arg3_defvalue ;
8697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8699 wxSize const &arg5_defvalue = wxDefaultSize ;
8700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8701 long arg6 = (long) wxSP_ARROW_KEYS ;
8702 int arg7 = (int) 0 ;
8703 int arg8 = (int) 100 ;
8704 int arg9 = (int) 0 ;
8705 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8706 wxString *arg10 = (wxString *) &arg10_defvalue ;
8707 wxSpinCtrl *result;
8708 bool temp3 = False ;
8709 wxPoint temp4 ;
8710 wxSize temp5 ;
8711 bool temp10 = False ;
8712 PyObject * obj0 = 0 ;
8713 PyObject * obj2 = 0 ;
8714 PyObject * obj3 = 0 ;
8715 PyObject * obj4 = 0 ;
8716 PyObject * obj9 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8723 if (obj2) {
8724 {
8725 arg3 = wxString_in_helper(obj2);
8726 if (arg3 == NULL) SWIG_fail;
8727 temp3 = True;
8728 }
8729 }
8730 if (obj3) {
8731 {
8732 arg4 = &temp4;
8733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8734 }
8735 }
8736 if (obj4) {
8737 {
8738 arg5 = &temp5;
8739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8740 }
8741 }
8742 if (obj9) {
8743 {
8744 arg10 = wxString_in_helper(obj9);
8745 if (arg10 == NULL) SWIG_fail;
8746 temp10 = True;
8747 }
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8757 {
8758 if (temp3)
8759 delete arg3;
8760 }
8761 {
8762 if (temp10)
8763 delete arg10;
8764 }
8765 return resultobj;
8766 fail:
8767 {
8768 if (temp3)
8769 delete arg3;
8770 }
8771 {
8772 if (temp10)
8773 delete arg10;
8774 }
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxSpinCtrl *result;
8782 char *kwnames[] = {
8783 NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 result = (wxSpinCtrl *)new wxSpinCtrl();
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8804 wxWindow *arg2 = (wxWindow *) 0 ;
8805 int arg3 = (int) -1 ;
8806 wxString const &arg4_defvalue = wxPyEmptyString ;
8807 wxString *arg4 = (wxString *) &arg4_defvalue ;
8808 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8809 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8810 wxSize const &arg6_defvalue = wxDefaultSize ;
8811 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8812 long arg7 = (long) wxSP_ARROW_KEYS ;
8813 int arg8 = (int) 0 ;
8814 int arg9 = (int) 100 ;
8815 int arg10 = (int) 0 ;
8816 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8817 wxString *arg11 = (wxString *) &arg11_defvalue ;
8818 bool result;
8819 bool temp4 = False ;
8820 wxPoint temp5 ;
8821 wxSize temp6 ;
8822 bool temp11 = False ;
8823 PyObject * obj0 = 0 ;
8824 PyObject * obj1 = 0 ;
8825 PyObject * obj3 = 0 ;
8826 PyObject * obj4 = 0 ;
8827 PyObject * obj5 = 0 ;
8828 PyObject * obj10 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8836 if (obj3) {
8837 {
8838 arg4 = wxString_in_helper(obj3);
8839 if (arg4 == NULL) SWIG_fail;
8840 temp4 = True;
8841 }
8842 }
8843 if (obj4) {
8844 {
8845 arg5 = &temp5;
8846 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8847 }
8848 }
8849 if (obj5) {
8850 {
8851 arg6 = &temp6;
8852 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8853 }
8854 }
8855 if (obj10) {
8856 {
8857 arg11 = wxString_in_helper(obj10);
8858 if (arg11 == NULL) SWIG_fail;
8859 temp11 = True;
8860 }
8861 }
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8865
8866 wxPyEndAllowThreads(__tstate);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 resultobj = PyInt_FromLong((long)result);
8870 {
8871 if (temp4)
8872 delete arg4;
8873 }
8874 {
8875 if (temp11)
8876 delete arg11;
8877 }
8878 return resultobj;
8879 fail:
8880 {
8881 if (temp4)
8882 delete arg4;
8883 }
8884 {
8885 if (temp11)
8886 delete arg11;
8887 }
8888 return NULL;
8889 }
8890
8891
8892 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj;
8894 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8895 int result;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = PyInt_FromLong((long)result);
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8920 int arg2 ;
8921 PyObject * obj0 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "value", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->SetValue(arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8945 wxString *arg2 = 0 ;
8946 bool temp2 = False ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "text", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 {
8956 arg2 = wxString_in_helper(obj1);
8957 if (arg2 == NULL) SWIG_fail;
8958 temp2 = True;
8959 }
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->SetValue((wxString const &)*arg2);
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 {
8969 if (temp2)
8970 delete arg2;
8971 }
8972 return resultobj;
8973 fail:
8974 {
8975 if (temp2)
8976 delete arg2;
8977 }
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8985 int arg2 ;
8986 int arg3 ;
8987 PyObject * obj0 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->SetRange(arg2,arg3);
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9011 int result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = PyInt_FromLong((long)result);
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9036 int result;
9037 PyObject * obj0 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 resultobj = PyInt_FromLong((long)result);
9052 return resultobj;
9053 fail:
9054 return NULL;
9055 }
9056
9057
9058 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9061 long arg2 ;
9062 long arg3 ;
9063 PyObject * obj0 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "self",(char *) "from",(char *) "to", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->SetSelection(arg2,arg3);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9085 PyObject *obj;
9086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9087 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9088 Py_INCREF(obj);
9089 return Py_BuildValue((char *)"");
9090 }
9091 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxWindow *arg1 = (wxWindow *) 0 ;
9094 int arg2 ;
9095 wxString *arg3 = 0 ;
9096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9098 wxSize const &arg5_defvalue = wxDefaultSize ;
9099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9100 int arg6 = (int) 0 ;
9101 wxString *arg7 = (wxString *) NULL ;
9102 int arg8 = (int) 0 ;
9103 long arg9 = (long) wxRA_HORIZONTAL ;
9104 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9105 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9106 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9107 wxString *arg11 = (wxString *) &arg11_defvalue ;
9108 wxRadioBox *result;
9109 bool temp3 = False ;
9110 wxPoint temp4 ;
9111 wxSize temp5 ;
9112 bool temp10 = False ;
9113 PyObject * obj0 = 0 ;
9114 PyObject * obj2 = 0 ;
9115 PyObject * obj3 = 0 ;
9116 PyObject * obj4 = 0 ;
9117 PyObject * obj5 = 0 ;
9118 PyObject * obj8 = 0 ;
9119 PyObject * obj9 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 {
9127 arg3 = wxString_in_helper(obj2);
9128 if (arg3 == NULL) SWIG_fail;
9129 temp3 = True;
9130 }
9131 if (obj3) {
9132 {
9133 arg4 = &temp4;
9134 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9135 }
9136 }
9137 if (obj4) {
9138 {
9139 arg5 = &temp5;
9140 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9141 }
9142 }
9143 if (obj5) {
9144 {
9145 arg6 = PyList_Size(obj5);
9146 arg7 = wxString_LIST_helper(obj5);
9147 if (arg7 == NULL) SWIG_fail;
9148 }
9149 }
9150 if (obj8) {
9151 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152 if (arg10 == NULL) {
9153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9154 }
9155 }
9156 if (obj9) {
9157 {
9158 arg11 = wxString_in_helper(obj9);
9159 if (arg11 == NULL) SWIG_fail;
9160 temp10 = True;
9161 }
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 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);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9171 {
9172 if (temp3)
9173 delete arg3;
9174 }
9175 {
9176 if (arg7) delete [] arg7;
9177 }
9178 {
9179 if (temp10)
9180 delete arg11;
9181 }
9182 return resultobj;
9183 fail:
9184 {
9185 if (temp3)
9186 delete arg3;
9187 }
9188 {
9189 if (arg7) delete [] arg7;
9190 }
9191 {
9192 if (temp10)
9193 delete arg11;
9194 }
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxRadioBox *result;
9202 char *kwnames[] = {
9203 NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (wxRadioBox *)new wxRadioBox();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9224 wxWindow *arg2 = (wxWindow *) 0 ;
9225 int arg3 ;
9226 wxString *arg4 = 0 ;
9227 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9228 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9229 wxSize const &arg6_defvalue = wxDefaultSize ;
9230 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9231 int arg7 = (int) 0 ;
9232 wxString *arg8 = (wxString *) NULL ;
9233 int arg9 = (int) 0 ;
9234 long arg10 = (long) wxRA_HORIZONTAL ;
9235 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9236 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9237 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9238 wxString *arg12 = (wxString *) &arg12_defvalue ;
9239 bool result;
9240 bool temp4 = False ;
9241 wxPoint temp5 ;
9242 wxSize temp6 ;
9243 bool temp11 = False ;
9244 PyObject * obj0 = 0 ;
9245 PyObject * obj1 = 0 ;
9246 PyObject * obj3 = 0 ;
9247 PyObject * obj4 = 0 ;
9248 PyObject * obj5 = 0 ;
9249 PyObject * obj6 = 0 ;
9250 PyObject * obj9 = 0 ;
9251 PyObject * obj10 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9259 {
9260 arg4 = wxString_in_helper(obj3);
9261 if (arg4 == NULL) SWIG_fail;
9262 temp4 = True;
9263 }
9264 if (obj4) {
9265 {
9266 arg5 = &temp5;
9267 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9268 }
9269 }
9270 if (obj5) {
9271 {
9272 arg6 = &temp6;
9273 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9274 }
9275 }
9276 if (obj6) {
9277 {
9278 arg7 = PyList_Size(obj6);
9279 arg8 = wxString_LIST_helper(obj6);
9280 if (arg8 == NULL) SWIG_fail;
9281 }
9282 }
9283 if (obj9) {
9284 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9285 if (arg11 == NULL) {
9286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9287 }
9288 }
9289 if (obj10) {
9290 {
9291 arg12 = wxString_in_helper(obj10);
9292 if (arg12 == NULL) SWIG_fail;
9293 temp11 = True;
9294 }
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 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);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = PyInt_FromLong((long)result);
9304 {
9305 if (temp4)
9306 delete arg4;
9307 }
9308 {
9309 if (arg8) delete [] arg8;
9310 }
9311 {
9312 if (temp11)
9313 delete arg12;
9314 }
9315 return resultobj;
9316 fail:
9317 {
9318 if (temp4)
9319 delete arg4;
9320 }
9321 {
9322 if (arg8) delete [] arg8;
9323 }
9324 {
9325 if (temp11)
9326 delete arg12;
9327 }
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9335 int arg2 ;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "n", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 (arg1)->SetSelection(arg2);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 Py_INCREF(Py_None); resultobj = Py_None;
9351 return resultobj;
9352 fail:
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9360 int result;
9361 PyObject * obj0 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "self", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 resultobj = PyInt_FromLong((long)result);
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9385 wxString result;
9386 PyObject * obj0 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 {
9401 #if wxUSE_UNICODE
9402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9403 #else
9404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9405 #endif
9406 }
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9416 wxString *arg2 = 0 ;
9417 bool result;
9418 bool temp2 = False ;
9419 PyObject * obj0 = 0 ;
9420 PyObject * obj1 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self",(char *) "s", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427 {
9428 arg2 = wxString_in_helper(obj1);
9429 if (arg2 == NULL) SWIG_fail;
9430 temp2 = True;
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = PyInt_FromLong((long)result);
9440 {
9441 if (temp2)
9442 delete arg2;
9443 }
9444 return resultobj;
9445 fail:
9446 {
9447 if (temp2)
9448 delete arg2;
9449 }
9450 return NULL;
9451 }
9452
9453
9454 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9455 PyObject *resultobj;
9456 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (int)((wxRadioBox const *)arg1)->GetCount();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = PyInt_FromLong((long)result);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9482 wxString *arg2 = 0 ;
9483 int result;
9484 bool temp2 = False ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 char *kwnames[] = {
9488 (char *) "self",(char *) "s", NULL
9489 };
9490
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493 {
9494 arg2 = wxString_in_helper(obj1);
9495 if (arg2 == NULL) SWIG_fail;
9496 temp2 = True;
9497 }
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 resultobj = PyInt_FromLong((long)result);
9506 {
9507 if (temp2)
9508 delete arg2;
9509 }
9510 return resultobj;
9511 fail:
9512 {
9513 if (temp2)
9514 delete arg2;
9515 }
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9523 int arg2 ;
9524 wxString result;
9525 PyObject * obj0 = 0 ;
9526 char *kwnames[] = {
9527 (char *) "self",(char *) "n", NULL
9528 };
9529
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 {
9540 #if wxUSE_UNICODE
9541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9542 #else
9543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9544 #endif
9545 }
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9555 int arg2 ;
9556 wxString *arg3 = 0 ;
9557 bool temp3 = False ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj2 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self",(char *) "n",(char *) "label", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 arg3 = wxString_in_helper(obj2);
9568 if (arg3 == NULL) SWIG_fail;
9569 temp3 = True;
9570 }
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 (arg1)->SetString(arg2,(wxString const &)*arg3);
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 {
9580 if (temp3)
9581 delete arg3;
9582 }
9583 return resultobj;
9584 fail:
9585 {
9586 if (temp3)
9587 delete arg3;
9588 }
9589 return NULL;
9590 }
9591
9592
9593 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj;
9595 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9596 int arg2 ;
9597 bool arg3 = (bool) True ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj2 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "n",(char *) "enable", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9606 if (obj2) {
9607 arg3 = PyInt_AsLong(obj2) ? true : false;
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 (arg1)->Enable(arg2,arg3);
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 Py_INCREF(Py_None); resultobj = Py_None;
9618 return resultobj;
9619 fail:
9620 return NULL;
9621 }
9622
9623
9624 static PyObject *_wrap_RadioBox_ShowItem(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 *) "show", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",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)->Show(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_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9658 int result;
9659 PyObject * obj0 = 0 ;
9660 char *kwnames[] = {
9661 (char *) "self", NULL
9662 };
9663
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = PyInt_FromLong((long)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9683 int result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = PyInt_FromLong((long)result);
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9708 int arg2 ;
9709 int arg3 ;
9710 long arg4 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = PyInt_FromLong((long)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9734 PyObject *obj;
9735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9736 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9737 Py_INCREF(obj);
9738 return Py_BuildValue((char *)"");
9739 }
9740 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxWindow *arg1 = (wxWindow *) 0 ;
9743 int arg2 ;
9744 wxString *arg3 = 0 ;
9745 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9746 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9747 wxSize const &arg5_defvalue = wxDefaultSize ;
9748 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9749 long arg6 = (long) 0 ;
9750 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9751 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9752 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9753 wxString *arg8 = (wxString *) &arg8_defvalue ;
9754 wxRadioButton *result;
9755 bool temp3 = False ;
9756 wxPoint temp4 ;
9757 wxSize temp5 ;
9758 bool temp8 = False ;
9759 PyObject * obj0 = 0 ;
9760 PyObject * obj2 = 0 ;
9761 PyObject * obj3 = 0 ;
9762 PyObject * obj4 = 0 ;
9763 PyObject * obj6 = 0 ;
9764 PyObject * obj7 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 {
9772 arg3 = wxString_in_helper(obj2);
9773 if (arg3 == NULL) SWIG_fail;
9774 temp3 = True;
9775 }
9776 if (obj3) {
9777 {
9778 arg4 = &temp4;
9779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9780 }
9781 }
9782 if (obj4) {
9783 {
9784 arg5 = &temp5;
9785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9786 }
9787 }
9788 if (obj6) {
9789 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9790 if (arg7 == NULL) {
9791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9792 }
9793 }
9794 if (obj7) {
9795 {
9796 arg8 = wxString_in_helper(obj7);
9797 if (arg8 == NULL) SWIG_fail;
9798 temp8 = True;
9799 }
9800 }
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9809 {
9810 if (temp3)
9811 delete arg3;
9812 }
9813 {
9814 if (temp8)
9815 delete arg8;
9816 }
9817 return resultobj;
9818 fail:
9819 {
9820 if (temp3)
9821 delete arg3;
9822 }
9823 {
9824 if (temp8)
9825 delete arg8;
9826 }
9827 return NULL;
9828 }
9829
9830
9831 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxRadioButton *result;
9834 char *kwnames[] = {
9835 NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (wxRadioButton *)new wxRadioButton();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9856 wxWindow *arg2 = (wxWindow *) 0 ;
9857 int arg3 ;
9858 wxString *arg4 = 0 ;
9859 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9860 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9861 wxSize const &arg6_defvalue = wxDefaultSize ;
9862 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9863 long arg7 = (long) 0 ;
9864 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9865 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9866 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9867 wxString *arg9 = (wxString *) &arg9_defvalue ;
9868 bool result;
9869 bool temp4 = False ;
9870 wxPoint temp5 ;
9871 wxSize temp6 ;
9872 bool temp9 = False ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 PyObject * obj3 = 0 ;
9876 PyObject * obj4 = 0 ;
9877 PyObject * obj5 = 0 ;
9878 PyObject * obj7 = 0 ;
9879 PyObject * obj8 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 {
9888 arg4 = wxString_in_helper(obj3);
9889 if (arg4 == NULL) SWIG_fail;
9890 temp4 = True;
9891 }
9892 if (obj4) {
9893 {
9894 arg5 = &temp5;
9895 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9896 }
9897 }
9898 if (obj5) {
9899 {
9900 arg6 = &temp6;
9901 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9902 }
9903 }
9904 if (obj7) {
9905 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9906 if (arg8 == NULL) {
9907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9908 }
9909 }
9910 if (obj8) {
9911 {
9912 arg9 = wxString_in_helper(obj8);
9913 if (arg9 == NULL) SWIG_fail;
9914 temp9 = True;
9915 }
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 resultobj = PyInt_FromLong((long)result);
9925 {
9926 if (temp4)
9927 delete arg4;
9928 }
9929 {
9930 if (temp9)
9931 delete arg9;
9932 }
9933 return resultobj;
9934 fail:
9935 {
9936 if (temp4)
9937 delete arg4;
9938 }
9939 {
9940 if (temp9)
9941 delete arg9;
9942 }
9943 return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9950 bool result;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (bool)(arg1)->GetValue();
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 resultobj = PyInt_FromLong((long)result);
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9975 bool arg2 ;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "value", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9984 arg2 = PyInt_AsLong(obj1) ? true : false;
9985 if (PyErr_Occurred()) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 (arg1)->SetValue(arg2);
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 Py_INCREF(Py_None); resultobj = Py_None;
9994 return resultobj;
9995 fail:
9996 return NULL;
9997 }
9998
9999
10000 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10001 PyObject *obj;
10002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10003 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10004 Py_INCREF(obj);
10005 return Py_BuildValue((char *)"");
10006 }
10007 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxWindow *arg1 = (wxWindow *) 0 ;
10010 int arg2 ;
10011 int arg3 ;
10012 int arg4 ;
10013 int arg5 ;
10014 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10015 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10016 wxSize const &arg7_defvalue = wxDefaultSize ;
10017 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10018 long arg8 = (long) wxSL_HORIZONTAL ;
10019 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10020 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10021 wxString const &arg10_defvalue = wxPySliderNameStr ;
10022 wxString *arg10 = (wxString *) &arg10_defvalue ;
10023 wxSlider *result;
10024 wxPoint temp6 ;
10025 wxSize temp7 ;
10026 bool temp10 = False ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj5 = 0 ;
10029 PyObject * obj6 = 0 ;
10030 PyObject * obj8 = 0 ;
10031 PyObject * obj9 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10038 if (obj5) {
10039 {
10040 arg6 = &temp6;
10041 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10042 }
10043 }
10044 if (obj6) {
10045 {
10046 arg7 = &temp7;
10047 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10048 }
10049 }
10050 if (obj8) {
10051 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10052 if (arg9 == NULL) {
10053 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10054 }
10055 }
10056 if (obj9) {
10057 {
10058 arg10 = wxString_in_helper(obj9);
10059 if (arg10 == NULL) SWIG_fail;
10060 temp10 = True;
10061 }
10062 }
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10071 {
10072 if (temp10)
10073 delete arg10;
10074 }
10075 return resultobj;
10076 fail:
10077 {
10078 if (temp10)
10079 delete arg10;
10080 }
10081 return NULL;
10082 }
10083
10084
10085 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxSlider *result;
10088 char *kwnames[] = {
10089 NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
10095 result = (wxSlider *)new wxSlider();
10096
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10108 PyObject *resultobj;
10109 wxSlider *arg1 = (wxSlider *) 0 ;
10110 wxWindow *arg2 = (wxWindow *) 0 ;
10111 int arg3 ;
10112 int arg4 ;
10113 int arg5 ;
10114 int arg6 ;
10115 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10116 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10117 wxSize const &arg8_defvalue = wxDefaultSize ;
10118 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10119 long arg9 = (long) wxSL_HORIZONTAL ;
10120 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10121 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10122 wxString const &arg11_defvalue = wxPySliderNameStr ;
10123 wxString *arg11 = (wxString *) &arg11_defvalue ;
10124 bool result;
10125 wxPoint temp7 ;
10126 wxSize temp8 ;
10127 bool temp11 = False ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 PyObject * obj6 = 0 ;
10131 PyObject * obj7 = 0 ;
10132 PyObject * obj9 = 0 ;
10133 PyObject * obj10 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10141 if (obj6) {
10142 {
10143 arg7 = &temp7;
10144 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10145 }
10146 }
10147 if (obj7) {
10148 {
10149 arg8 = &temp8;
10150 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10151 }
10152 }
10153 if (obj9) {
10154 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10155 if (arg10 == NULL) {
10156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10157 }
10158 }
10159 if (obj10) {
10160 {
10161 arg11 = wxString_in_helper(obj10);
10162 if (arg11 == NULL) SWIG_fail;
10163 temp11 = True;
10164 }
10165 }
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 resultobj = PyInt_FromLong((long)result);
10174 {
10175 if (temp11)
10176 delete arg11;
10177 }
10178 return resultobj;
10179 fail:
10180 {
10181 if (temp11)
10182 delete arg11;
10183 }
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxSlider *arg1 = (wxSlider *) 0 ;
10191 int result;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (int)((wxSlider const *)arg1)->GetValue();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = PyInt_FromLong((long)result);
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxSlider *arg1 = (wxSlider *) 0 ;
10216 int arg2 ;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self",(char *) "value", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetValue(arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxSlider *arg1 = (wxSlider *) 0 ;
10241 int arg2 ;
10242 int arg3 ;
10243 PyObject * obj0 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 (arg1)->SetRange(arg2,arg3);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 Py_INCREF(Py_None); resultobj = Py_None;
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxSlider *arg1 = (wxSlider *) 0 ;
10267 int result;
10268 PyObject * obj0 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (int)((wxSlider const *)arg1)->GetMin();
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = PyInt_FromLong((long)result);
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxSlider *arg1 = (wxSlider *) 0 ;
10292 int result;
10293 PyObject * obj0 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (int)((wxSlider const *)arg1)->GetMax();
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 resultobj = PyInt_FromLong((long)result);
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxSlider *arg1 = (wxSlider *) 0 ;
10317 int arg2 ;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self",(char *) "minValue", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 (arg1)->SetMin(arg2);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 Py_INCREF(Py_None); resultobj = Py_None;
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxSlider *arg1 = (wxSlider *) 0 ;
10342 int arg2 ;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self",(char *) "maxValue", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 (arg1)->SetMax(arg2);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 Py_INCREF(Py_None); resultobj = Py_None;
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxSlider *arg1 = (wxSlider *) 0 ;
10367 int arg2 ;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self",(char *) "lineSize", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->SetLineSize(arg2);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxSlider *arg1 = (wxSlider *) 0 ;
10392 int arg2 ;
10393 PyObject * obj0 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self",(char *) "pageSize", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 (arg1)->SetPageSize(arg2);
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 Py_INCREF(Py_None); resultobj = Py_None;
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxSlider *arg1 = (wxSlider *) 0 ;
10417 int result;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 result = (int)((wxSlider const *)arg1)->GetLineSize();
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 resultobj = PyInt_FromLong((long)result);
10433 return resultobj;
10434 fail:
10435 return NULL;
10436 }
10437
10438
10439 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj;
10441 wxSlider *arg1 = (wxSlider *) 0 ;
10442 int result;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (int)((wxSlider const *)arg1)->GetPageSize();
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 resultobj = PyInt_FromLong((long)result);
10458 return resultobj;
10459 fail:
10460 return NULL;
10461 }
10462
10463
10464 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10465 PyObject *resultobj;
10466 wxSlider *arg1 = (wxSlider *) 0 ;
10467 int arg2 ;
10468 PyObject * obj0 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "lenPixels", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SetThumbLength(arg2);
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 Py_INCREF(Py_None); resultobj = Py_None;
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxSlider *arg1 = (wxSlider *) 0 ;
10492 int result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = PyInt_FromLong((long)result);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxSlider *arg1 = (wxSlider *) 0 ;
10517 int arg2 ;
10518 int arg3 ;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self",(char *) "n",(char *) "pos", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->SetTickFreq(arg2,arg3);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxSlider *arg1 = (wxSlider *) 0 ;
10543 int result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 resultobj = PyInt_FromLong((long)result);
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxSlider *arg1 = (wxSlider *) 0 ;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10575 {
10576 PyThreadState* __tstate = wxPyBeginAllowThreads();
10577 (arg1)->ClearTicks();
10578
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 Py_INCREF(Py_None); resultobj = Py_None;
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj;
10591 wxSlider *arg1 = (wxSlider *) 0 ;
10592 int arg2 ;
10593 PyObject * obj0 = 0 ;
10594 char *kwnames[] = {
10595 (char *) "self",(char *) "tickPos", NULL
10596 };
10597
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetTick(arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 Py_INCREF(Py_None); resultobj = Py_None;
10608 return resultobj;
10609 fail:
10610 return NULL;
10611 }
10612
10613
10614 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj;
10616 wxSlider *arg1 = (wxSlider *) 0 ;
10617 PyObject * obj0 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "self", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->ClearSel();
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxSlider *arg1 = (wxSlider *) 0 ;
10641 int result;
10642 PyObject * obj0 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = PyInt_FromLong((long)result);
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxSlider *arg1 = (wxSlider *) 0 ;
10666 int result;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 result = (int)((wxSlider const *)arg1)->GetSelStart();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 resultobj = PyInt_FromLong((long)result);
10682 return resultobj;
10683 fail:
10684 return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxSlider *arg1 = (wxSlider *) 0 ;
10691 int arg2 ;
10692 int arg3 ;
10693 PyObject * obj0 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "min",(char *) "max", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->SetSelection(arg2,arg3);
10703
10704 wxPyEndAllowThreads(__tstate);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 Py_INCREF(Py_None); resultobj = Py_None;
10708 return resultobj;
10709 fail:
10710 return NULL;
10711 }
10712
10713
10714 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10715 PyObject *obj;
10716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10717 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10718 Py_INCREF(obj);
10719 return Py_BuildValue((char *)"");
10720 }
10721 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxWindow *arg1 = (wxWindow *) 0 ;
10724 int arg2 ;
10725 wxString *arg3 = 0 ;
10726 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10727 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10728 wxSize const &arg5_defvalue = wxDefaultSize ;
10729 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10730 long arg6 = (long) 0 ;
10731 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10732 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10733 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10734 wxString *arg8 = (wxString *) &arg8_defvalue ;
10735 wxToggleButton *result;
10736 bool temp3 = False ;
10737 wxPoint temp4 ;
10738 wxSize temp5 ;
10739 bool temp8 = False ;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj2 = 0 ;
10742 PyObject * obj3 = 0 ;
10743 PyObject * obj4 = 0 ;
10744 PyObject * obj6 = 0 ;
10745 PyObject * obj7 = 0 ;
10746 char *kwnames[] = {
10747 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10748 };
10749
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10752 {
10753 arg3 = wxString_in_helper(obj2);
10754 if (arg3 == NULL) SWIG_fail;
10755 temp3 = True;
10756 }
10757 if (obj3) {
10758 {
10759 arg4 = &temp4;
10760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10761 }
10762 }
10763 if (obj4) {
10764 {
10765 arg5 = &temp5;
10766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10767 }
10768 }
10769 if (obj6) {
10770 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10771 if (arg7 == NULL) {
10772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10773 }
10774 }
10775 if (obj7) {
10776 {
10777 arg8 = wxString_in_helper(obj7);
10778 if (arg8 == NULL) SWIG_fail;
10779 temp8 = True;
10780 }
10781 }
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10790 {
10791 if (temp3)
10792 delete arg3;
10793 }
10794 {
10795 if (temp8)
10796 delete arg8;
10797 }
10798 return resultobj;
10799 fail:
10800 {
10801 if (temp3)
10802 delete arg3;
10803 }
10804 {
10805 if (temp8)
10806 delete arg8;
10807 }
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxToggleButton *result;
10815 char *kwnames[] = {
10816 NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (wxToggleButton *)new wxToggleButton();
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
10835 PyObject *obj;
10836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10837 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
10838 Py_INCREF(obj);
10839 return Py_BuildValue((char *)"");
10840 }
10841 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj;
10843 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10844 size_t result;
10845 PyObject * obj0 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 resultobj = PyInt_FromLong((long)result);
10860 return resultobj;
10861 fail:
10862 return NULL;
10863 }
10864
10865
10866 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10869 size_t arg2 ;
10870 wxWindow *result;
10871 PyObject * obj0 = 0 ;
10872 PyObject * obj1 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self",(char *) "n", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 arg2 = (size_t) PyInt_AsLong(obj1);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (wxWindow *)(arg1)->GetPage(arg2);
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889 resultobj = wxPyMake_wxObject(result);
10890 }
10891 return resultobj;
10892 fail:
10893 return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10900 int result;
10901 PyObject * obj0 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
10907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = PyInt_FromLong((long)result);
10916 return resultobj;
10917 fail:
10918 return NULL;
10919 }
10920
10921
10922 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10925 size_t arg2 ;
10926 wxString *arg3 = 0 ;
10927 bool result;
10928 bool temp3 = False ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 PyObject * obj2 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self",(char *) "n",(char *) "strText", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 arg2 = (size_t) PyInt_AsLong(obj1);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 {
10941 arg3 = wxString_in_helper(obj2);
10942 if (arg3 == NULL) SWIG_fail;
10943 temp3 = True;
10944 }
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = PyInt_FromLong((long)result);
10953 {
10954 if (temp3)
10955 delete arg3;
10956 }
10957 return resultobj;
10958 fail:
10959 {
10960 if (temp3)
10961 delete arg3;
10962 }
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10970 size_t arg2 ;
10971 wxString result;
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "n", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 arg2 = (size_t) PyInt_AsLong(obj1);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 {
10990 #if wxUSE_UNICODE
10991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10992 #else
10993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10994 #endif
10995 }
10996 return resultobj;
10997 fail:
10998 return NULL;
10999 }
11000
11001
11002 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11005 wxImageList *arg2 = (wxImageList *) 0 ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "imageList", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 (arg1)->SetImageList(arg2);
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 Py_INCREF(Py_None); resultobj = Py_None;
11023 return resultobj;
11024 fail:
11025 return NULL;
11026 }
11027
11028
11029 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11030 PyObject *resultobj;
11031 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11032 wxImageList *arg2 = (wxImageList *) 0 ;
11033 PyObject * obj0 = 0 ;
11034 PyObject * obj1 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self",(char *) "imageList", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 (arg1)->AssignImageList(arg2);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 Py_INCREF(Py_None); resultobj = Py_None;
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11059 wxImageList *result;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11070
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 {
11075 resultobj = wxPyMake_wxObject(result);
11076 }
11077 return resultobj;
11078 fail:
11079 return NULL;
11080 }
11081
11082
11083 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11086 size_t arg2 ;
11087 int result;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "self",(char *) "n", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11096 arg2 = (size_t) PyInt_AsLong(obj1);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 resultobj = PyInt_FromLong((long)result);
11106 return resultobj;
11107 fail:
11108 return NULL;
11109 }
11110
11111
11112 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj;
11114 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11115 size_t arg2 ;
11116 int arg3 ;
11117 bool result;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "n",(char *) "imageId", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 arg2 = (size_t) PyInt_AsLong(obj1);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = PyInt_FromLong((long)result);
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11145 wxSize *arg2 = 0 ;
11146 wxSize temp2 ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "size", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 {
11156 arg2 = &temp2;
11157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11158 }
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 (arg1)->SetPageSize((wxSize const &)*arg2);
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 Py_INCREF(Py_None); resultobj = Py_None;
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj;
11175 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11176 wxSize *arg2 = 0 ;
11177 wxSize result;
11178 wxSize temp2 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 char *kwnames[] = {
11182 (char *) "self",(char *) "sizePage", NULL
11183 };
11184
11185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11187 {
11188 arg2 = &temp2;
11189 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11190 }
11191 {
11192 PyThreadState* __tstate = wxPyBeginAllowThreads();
11193 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11194
11195 wxPyEndAllowThreads(__tstate);
11196 if (PyErr_Occurred()) SWIG_fail;
11197 }
11198 {
11199 wxSize * resultptr;
11200 resultptr = new wxSize((wxSize &) result);
11201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11202 }
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11212 size_t arg2 ;
11213 bool result;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self",(char *) "n", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11222 arg2 = (size_t) PyInt_AsLong(obj1);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)(arg1)->DeletePage(arg2);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = PyInt_FromLong((long)result);
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11241 size_t arg2 ;
11242 bool result;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "n", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 arg2 = (size_t) PyInt_AsLong(obj1);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 result = (bool)(arg1)->RemovePage(arg2);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 resultobj = PyInt_FromLong((long)result);
11261 return resultobj;
11262 fail:
11263 return NULL;
11264 }
11265
11266
11267 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj;
11269 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11270 bool result;
11271 PyObject * obj0 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "self", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (bool)(arg1)->DeleteAllPages();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = PyInt_FromLong((long)result);
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11295 wxWindow *arg2 = (wxWindow *) 0 ;
11296 wxString *arg3 = 0 ;
11297 bool arg4 = (bool) False ;
11298 int arg5 = (int) -1 ;
11299 bool result;
11300 bool temp3 = False ;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 PyObject * obj2 = 0 ;
11304 PyObject * obj3 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 {
11313 arg3 = wxString_in_helper(obj2);
11314 if (arg3 == NULL) SWIG_fail;
11315 temp3 = True;
11316 }
11317 if (obj3) {
11318 arg4 = PyInt_AsLong(obj3) ? true : false;
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = PyInt_FromLong((long)result);
11329 {
11330 if (temp3)
11331 delete arg3;
11332 }
11333 return resultobj;
11334 fail:
11335 {
11336 if (temp3)
11337 delete arg3;
11338 }
11339 return NULL;
11340 }
11341
11342
11343 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11346 size_t arg2 ;
11347 wxWindow *arg3 = (wxWindow *) 0 ;
11348 wxString *arg4 = 0 ;
11349 bool arg5 = (bool) False ;
11350 int arg6 = (int) -1 ;
11351 bool result;
11352 bool temp4 = False ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 PyObject * obj2 = 0 ;
11356 PyObject * obj3 = 0 ;
11357 PyObject * obj4 = 0 ;
11358 char *kwnames[] = {
11359 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11360 };
11361
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11364 arg2 = (size_t) PyInt_AsLong(obj1);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 arg4 = wxString_in_helper(obj3);
11369 if (arg4 == NULL) SWIG_fail;
11370 temp4 = True;
11371 }
11372 if (obj4) {
11373 arg5 = PyInt_AsLong(obj4) ? true : false;
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 resultobj = PyInt_FromLong((long)result);
11384 {
11385 if (temp4)
11386 delete arg4;
11387 }
11388 return resultobj;
11389 fail:
11390 {
11391 if (temp4)
11392 delete arg4;
11393 }
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11401 size_t arg2 ;
11402 int result;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "n", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11411 arg2 = (size_t) PyInt_AsLong(obj1);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (int)(arg1)->SetSelection(arg2);
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = PyInt_FromLong((long)result);
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj;
11429 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11430 bool arg2 = (bool) True ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "forward", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 if (obj1) {
11440 arg2 = PyInt_AsLong(obj1) ? true : false;
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 (arg1)->AdvanceSelection(arg2);
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11458 PyObject *obj;
11459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11460 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11461 Py_INCREF(obj);
11462 return Py_BuildValue((char *)"");
11463 }
11464 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11467 int arg2 = (int) 0 ;
11468 int arg3 = (int) -1 ;
11469 int arg4 = (int) -1 ;
11470 wxBookCtrlEvent *result;
11471 char *kwnames[] = {
11472 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj;
11492 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11493 int result;
11494 PyObject * obj0 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = PyInt_FromLong((long)result);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11518 int arg2 ;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "self",(char *) "nSel", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->SetSelection(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11543 int result;
11544 PyObject * obj0 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = PyInt_FromLong((long)result);
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11568 int arg2 ;
11569 PyObject * obj0 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "nOldSel", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetOldSelection(arg2);
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 Py_INCREF(Py_None); resultobj = Py_None;
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11591 PyObject *obj;
11592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11593 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11594 Py_INCREF(obj);
11595 return Py_BuildValue((char *)"");
11596 }
11597 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxWindow *arg1 = (wxWindow *) 0 ;
11600 int arg2 ;
11601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11603 wxSize const &arg4_defvalue = wxDefaultSize ;
11604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11605 long arg5 = (long) 0 ;
11606 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11607 wxString *arg6 = (wxString *) &arg6_defvalue ;
11608 wxNotebook *result;
11609 wxPoint temp3 ;
11610 wxSize temp4 ;
11611 bool temp6 = False ;
11612 PyObject * obj0 = 0 ;
11613 PyObject * obj2 = 0 ;
11614 PyObject * obj3 = 0 ;
11615 PyObject * obj5 = 0 ;
11616 char *kwnames[] = {
11617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11618 };
11619
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11622 if (obj2) {
11623 {
11624 arg3 = &temp3;
11625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11626 }
11627 }
11628 if (obj3) {
11629 {
11630 arg4 = &temp4;
11631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11632 }
11633 }
11634 if (obj5) {
11635 {
11636 arg6 = wxString_in_helper(obj5);
11637 if (arg6 == NULL) SWIG_fail;
11638 temp6 = True;
11639 }
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = wxPyMake_wxObject(result);
11650 }
11651 {
11652 if (temp6)
11653 delete arg6;
11654 }
11655 return resultobj;
11656 fail:
11657 {
11658 if (temp6)
11659 delete arg6;
11660 }
11661 return NULL;
11662 }
11663
11664
11665 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxNotebook *result;
11668 char *kwnames[] = {
11669 NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (wxNotebook *)new wxNotebook();
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 {
11681 resultobj = wxPyMake_wxObject(result);
11682 }
11683 return resultobj;
11684 fail:
11685 return NULL;
11686 }
11687
11688
11689 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxNotebook *arg1 = (wxNotebook *) 0 ;
11692 wxWindow *arg2 = (wxWindow *) 0 ;
11693 int arg3 ;
11694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11696 wxSize const &arg5_defvalue = wxDefaultSize ;
11697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11698 long arg6 = (long) 0 ;
11699 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11700 wxString *arg7 = (wxString *) &arg7_defvalue ;
11701 bool result;
11702 wxPoint temp4 ;
11703 wxSize temp5 ;
11704 bool temp7 = False ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 PyObject * obj3 = 0 ;
11708 PyObject * obj4 = 0 ;
11709 PyObject * obj6 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 if (obj3) {
11718 {
11719 arg4 = &temp4;
11720 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11721 }
11722 }
11723 if (obj4) {
11724 {
11725 arg5 = &temp5;
11726 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11727 }
11728 }
11729 if (obj6) {
11730 {
11731 arg7 = wxString_in_helper(obj6);
11732 if (arg7 == NULL) SWIG_fail;
11733 temp7 = True;
11734 }
11735 }
11736 {
11737 PyThreadState* __tstate = wxPyBeginAllowThreads();
11738 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = PyInt_FromLong((long)result);
11744 {
11745 if (temp7)
11746 delete arg7;
11747 }
11748 return resultobj;
11749 fail:
11750 {
11751 if (temp7)
11752 delete arg7;
11753 }
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxNotebook *arg1 = (wxNotebook *) 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:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (int)((wxNotebook const *)arg1)->GetRowCount();
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_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxNotebook *arg1 = (wxNotebook *) 0 ;
11786 wxSize *arg2 = 0 ;
11787 wxSize temp2 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self",(char *) "padding", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11796 {
11797 arg2 = &temp2;
11798 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->SetPadding((wxSize const &)*arg2);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 Py_INCREF(Py_None); resultobj = Py_None;
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxNotebook *arg1 = (wxNotebook *) 0 ;
11817 wxSize *arg2 = 0 ;
11818 wxSize temp2 ;
11819 PyObject * obj0 = 0 ;
11820 PyObject * obj1 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self",(char *) "sz", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 {
11828 arg2 = &temp2;
11829 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11830 }
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 (arg1)->SetTabSize((wxSize const &)*arg2);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 Py_INCREF(Py_None); resultobj = Py_None;
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxNotebook *arg1 = (wxNotebook *) 0 ;
11848 wxPoint *arg2 = 0 ;
11849 long *arg3 = (long *) 0 ;
11850 int result;
11851 wxPoint temp2 ;
11852 long temp3 ;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self",(char *) "pt", NULL
11857 };
11858
11859 arg3 = &temp3;
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
11861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 {
11863 arg2 = &temp2;
11864 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11865 }
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 resultobj = PyInt_FromLong((long)result);
11874 {
11875 PyObject *o = PyInt_FromLong((long) (*arg3));
11876 resultobj = t_output_helper(resultobj,o);
11877 }
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxNotebook *arg1 = (wxNotebook *) 0 ;
11887 wxSize *arg2 = 0 ;
11888 wxSize result;
11889 wxSize temp2 ;
11890 PyObject * obj0 = 0 ;
11891 PyObject * obj1 = 0 ;
11892 char *kwnames[] = {
11893 (char *) "self",(char *) "sizePage", NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11898 {
11899 arg2 = &temp2;
11900 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
11910 wxSize * resultptr;
11911 resultptr = new wxSize((wxSize &) result);
11912 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11913 }
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
11921 PyObject *obj;
11922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11923 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
11924 Py_INCREF(obj);
11925 return Py_BuildValue((char *)"");
11926 }
11927 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11930 int arg2 = (int) 0 ;
11931 int arg3 = (int) -1 ;
11932 int arg4 = (int) -1 ;
11933 wxNotebookEvent *result;
11934 char *kwnames[] = {
11935 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
11954 PyObject *obj;
11955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11956 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
11957 Py_INCREF(obj);
11958 return Py_BuildValue((char *)"");
11959 }
11960 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj;
11962 wxWindow *arg1 = (wxWindow *) 0 ;
11963 int arg2 ;
11964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11966 wxSize const &arg4_defvalue = wxDefaultSize ;
11967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11968 long arg5 = (long) 0 ;
11969 wxString const &arg6_defvalue = wxPyEmptyString ;
11970 wxString *arg6 = (wxString *) &arg6_defvalue ;
11971 wxListbook *result;
11972 wxPoint temp3 ;
11973 wxSize temp4 ;
11974 bool temp6 = False ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj2 = 0 ;
11977 PyObject * obj3 = 0 ;
11978 PyObject * obj5 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 if (obj2) {
11986 {
11987 arg3 = &temp3;
11988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11989 }
11990 }
11991 if (obj3) {
11992 {
11993 arg4 = &temp4;
11994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11995 }
11996 }
11997 if (obj5) {
11998 {
11999 arg6 = wxString_in_helper(obj5);
12000 if (arg6 == NULL) SWIG_fail;
12001 temp6 = True;
12002 }
12003 }
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12012 {
12013 if (temp6)
12014 delete arg6;
12015 }
12016 return resultobj;
12017 fail:
12018 {
12019 if (temp6)
12020 delete arg6;
12021 }
12022 return NULL;
12023 }
12024
12025
12026 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj;
12028 wxListbook *result;
12029 char *kwnames[] = {
12030 NULL
12031 };
12032
12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (wxListbook *)new wxListbook();
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxListbook *arg1 = (wxListbook *) 0 ;
12051 wxWindow *arg2 = (wxWindow *) 0 ;
12052 int arg3 ;
12053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12055 wxSize const &arg5_defvalue = wxDefaultSize ;
12056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12057 long arg6 = (long) 0 ;
12058 wxString const &arg7_defvalue = wxPyEmptyString ;
12059 wxString *arg7 = (wxString *) &arg7_defvalue ;
12060 bool result;
12061 wxPoint temp4 ;
12062 wxSize temp5 ;
12063 bool temp7 = False ;
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 PyObject * obj3 = 0 ;
12067 PyObject * obj4 = 0 ;
12068 PyObject * obj6 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 if (obj3) {
12077 {
12078 arg4 = &temp4;
12079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12080 }
12081 }
12082 if (obj4) {
12083 {
12084 arg5 = &temp5;
12085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12086 }
12087 }
12088 if (obj6) {
12089 {
12090 arg7 = wxString_in_helper(obj6);
12091 if (arg7 == NULL) SWIG_fail;
12092 temp7 = True;
12093 }
12094 }
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = PyInt_FromLong((long)result);
12103 {
12104 if (temp7)
12105 delete arg7;
12106 }
12107 return resultobj;
12108 fail:
12109 {
12110 if (temp7)
12111 delete arg7;
12112 }
12113 return NULL;
12114 }
12115
12116
12117 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxListbook *arg1 = (wxListbook *) 0 ;
12120 bool result;
12121 PyObject * obj0 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (bool)((wxListbook const *)arg1)->IsVertical();
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 resultobj = PyInt_FromLong((long)result);
12136 return resultobj;
12137 fail:
12138 return NULL;
12139 }
12140
12141
12142 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12143 PyObject *obj;
12144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12145 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12146 Py_INCREF(obj);
12147 return Py_BuildValue((char *)"");
12148 }
12149 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12152 int arg2 = (int) 0 ;
12153 int arg3 = (int) -1 ;
12154 int arg4 = (int) -1 ;
12155 wxListbookEvent *result;
12156 char *kwnames[] = {
12157 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12169 return resultobj;
12170 fail:
12171 return NULL;
12172 }
12173
12174
12175 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12176 PyObject *obj;
12177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12178 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12179 Py_INCREF(obj);
12180 return Py_BuildValue((char *)"");
12181 }
12182 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12183 PyObject *resultobj;
12184 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12185 wxBookCtrlSizer *result;
12186 PyObject * obj0 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "nb", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12201 return resultobj;
12202 fail:
12203 return NULL;
12204 }
12205
12206
12207 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->RecalcSizes();
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 Py_INCREF(Py_None); resultobj = Py_None;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12234 wxSize result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (arg1)->CalcMin();
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 {
12250 wxSize * resultptr;
12251 resultptr = new wxSize((wxSize &) result);
12252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12253 }
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12263 wxBookCtrl *result;
12264 PyObject * obj0 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 result = (wxBookCtrl *)(arg1)->GetControl();
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12286 PyObject *obj;
12287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12288 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12289 Py_INCREF(obj);
12290 return Py_BuildValue((char *)"");
12291 }
12292 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxNotebook *arg1 = (wxNotebook *) 0 ;
12295 wxNotebookSizer *result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "nb", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12320 PyObject * obj0 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->RecalcSizes();
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 Py_INCREF(Py_None); resultobj = Py_None;
12335 return resultobj;
12336 fail:
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12344 wxSize result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = (arg1)->CalcMin();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 {
12360 wxSize * resultptr;
12361 resultptr = new wxSize((wxSize &) result);
12362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12363 }
12364 return resultobj;
12365 fail:
12366 return NULL;
12367 }
12368
12369
12370 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12371 PyObject *resultobj;
12372 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12373 wxNotebook *result;
12374 PyObject * obj0 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (wxNotebook *)(arg1)->GetNotebook();
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 {
12389 resultobj = wxPyMake_wxObject(result);
12390 }
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12398 PyObject *obj;
12399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12400 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12401 Py_INCREF(obj);
12402 return Py_BuildValue((char *)"");
12403 }
12404 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj;
12406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12407 int result;
12408 PyObject * obj0 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 result = (int)(arg1)->GetId();
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 resultobj = PyInt_FromLong((long)result);
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12432 wxControl *result;
12433 PyObject * obj0 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (wxControl *)(arg1)->GetControl();
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 {
12448 resultobj = wxPyMake_wxObject(result);
12449 }
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12459 wxToolBarBase *result;
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (wxToolBarBase *)(arg1)->GetToolBar();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 {
12475 resultobj = wxPyMake_wxObject(result);
12476 }
12477 return resultobj;
12478 fail:
12479 return NULL;
12480 }
12481
12482
12483 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12486 int result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (int)(arg1)->IsButton();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = PyInt_FromLong((long)result);
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12511 int result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (int)(arg1)->IsControl();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = PyInt_FromLong((long)result);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530 }
12531
12532
12533 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12536 int result;
12537 PyObject * obj0 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 result = (int)(arg1)->IsSeparator();
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 resultobj = PyInt_FromLong((long)result);
12552 return resultobj;
12553 fail:
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12561 int result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (int)(arg1)->GetStyle();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 resultobj = PyInt_FromLong((long)result);
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12586 int result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (int)(arg1)->GetKind();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 resultobj = PyInt_FromLong((long)result);
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12609 PyObject *resultobj;
12610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12611 bool result;
12612 PyObject * obj0 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 result = (bool)(arg1)->IsEnabled();
12622
12623 wxPyEndAllowThreads(__tstate);
12624 if (PyErr_Occurred()) SWIG_fail;
12625 }
12626 resultobj = PyInt_FromLong((long)result);
12627 return resultobj;
12628 fail:
12629 return NULL;
12630 }
12631
12632
12633 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12634 PyObject *resultobj;
12635 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12636 bool result;
12637 PyObject * obj0 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 result = (bool)(arg1)->IsToggled();
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = PyInt_FromLong((long)result);
12652 return resultobj;
12653 fail:
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12661 bool result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "self", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = (bool)(arg1)->CanBeToggled();
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = PyInt_FromLong((long)result);
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12686 wxBitmap *result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 {
12697 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12698 result = (wxBitmap *) &_result_ref;
12699 }
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12714 wxBitmap *result;
12715 PyObject * obj0 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 {
12725 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12726 result = (wxBitmap *) &_result_ref;
12727 }
12728
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12733 return resultobj;
12734 fail:
12735 return NULL;
12736 }
12737
12738
12739 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject *resultobj;
12741 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12742 wxBitmap result;
12743 PyObject * obj0 = 0 ;
12744 char *kwnames[] = {
12745 (char *) "self", NULL
12746 };
12747
12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 result = (arg1)->GetBitmap();
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 {
12758 wxBitmap * resultptr;
12759 resultptr = new wxBitmap((wxBitmap &) result);
12760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12761 }
12762 return resultobj;
12763 fail:
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12771 wxString result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (arg1)->GetLabel();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 {
12787 #if wxUSE_UNICODE
12788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12789 #else
12790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12791 #endif
12792 }
12793 return resultobj;
12794 fail:
12795 return NULL;
12796 }
12797
12798
12799 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12802 wxString result;
12803 PyObject * obj0 = 0 ;
12804 char *kwnames[] = {
12805 (char *) "self", NULL
12806 };
12807
12808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
12809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (arg1)->GetShortHelp();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 {
12818 #if wxUSE_UNICODE
12819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12820 #else
12821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12822 #endif
12823 }
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12833 wxString result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (arg1)->GetLongHelp();
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 {
12849 #if wxUSE_UNICODE
12850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12851 #else
12852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12853 #endif
12854 }
12855 return resultobj;
12856 fail:
12857 return NULL;
12858 }
12859
12860
12861 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj;
12863 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12864 bool arg2 ;
12865 bool result;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "self",(char *) "enable", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
12873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12874 arg2 = PyInt_AsLong(obj1) ? true : false;
12875 if (PyErr_Occurred()) SWIG_fail;
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 result = (bool)(arg1)->Enable(arg2);
12879
12880 wxPyEndAllowThreads(__tstate);
12881 if (PyErr_Occurred()) SWIG_fail;
12882 }
12883 resultobj = PyInt_FromLong((long)result);
12884 return resultobj;
12885 fail:
12886 return NULL;
12887 }
12888
12889
12890 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12893 PyObject * obj0 = 0 ;
12894 char *kwnames[] = {
12895 (char *) "self", NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
12899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 (arg1)->Toggle();
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12917 bool arg2 ;
12918 bool result;
12919 PyObject * obj0 = 0 ;
12920 PyObject * obj1 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self",(char *) "toggle", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12927 arg2 = PyInt_AsLong(obj1) ? true : false;
12928 if (PyErr_Occurred()) SWIG_fail;
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 result = (bool)(arg1)->SetToggle(arg2);
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = PyInt_FromLong((long)result);
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12946 wxString *arg2 = 0 ;
12947 bool result;
12948 bool temp2 = False ;
12949 PyObject * obj0 = 0 ;
12950 PyObject * obj1 = 0 ;
12951 char *kwnames[] = {
12952 (char *) "self",(char *) "help", NULL
12953 };
12954
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
12956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12957 {
12958 arg2 = wxString_in_helper(obj1);
12959 if (arg2 == NULL) SWIG_fail;
12960 temp2 = True;
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 resultobj = PyInt_FromLong((long)result);
12970 {
12971 if (temp2)
12972 delete arg2;
12973 }
12974 return resultobj;
12975 fail:
12976 {
12977 if (temp2)
12978 delete arg2;
12979 }
12980 return NULL;
12981 }
12982
12983
12984 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12987 wxString *arg2 = 0 ;
12988 bool result;
12989 bool temp2 = False ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self",(char *) "help", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
12997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12998 {
12999 arg2 = wxString_in_helper(obj1);
13000 if (arg2 == NULL) SWIG_fail;
13001 temp2 = True;
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 resultobj = PyInt_FromLong((long)result);
13011 {
13012 if (temp2)
13013 delete arg2;
13014 }
13015 return resultobj;
13016 fail:
13017 {
13018 if (temp2)
13019 delete arg2;
13020 }
13021 return NULL;
13022 }
13023
13024
13025 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13028 wxBitmap *arg2 = 0 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self",(char *) "bmp", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13038 if (arg2 == NULL) {
13039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13040 }
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 Py_INCREF(Py_None); resultobj = Py_None;
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13058 wxBitmap *arg2 = 0 ;
13059 PyObject * obj0 = 0 ;
13060 PyObject * obj1 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self",(char *) "bmp", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13068 if (arg2 == NULL) {
13069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 Py_INCREF(Py_None); resultobj = Py_None;
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13088 wxString *arg2 = 0 ;
13089 bool temp2 = False ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self",(char *) "label", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13098 {
13099 arg2 = wxString_in_helper(obj1);
13100 if (arg2 == NULL) SWIG_fail;
13101 temp2 = True;
13102 }
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 (arg1)->SetLabel((wxString const &)*arg2);
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 Py_INCREF(Py_None); resultobj = Py_None;
13111 {
13112 if (temp2)
13113 delete arg2;
13114 }
13115 return resultobj;
13116 fail:
13117 {
13118 if (temp2)
13119 delete arg2;
13120 }
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13128 PyObject * obj0 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "self", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 (arg1)->Detach();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
13143 return resultobj;
13144 fail:
13145 return NULL;
13146 }
13147
13148
13149 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13152 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "tbar", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->Attach(arg2);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13179 PyObject *result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = result;
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 PyObject *arg2 = (PyObject *) 0 ;
13205 PyObject * obj0 = 0 ;
13206 PyObject * obj1 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "clientData", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13213 arg2 = obj1;
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 wxToolBarToolBase_SetClientData(arg1,arg2);
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 Py_INCREF(Py_None); resultobj = Py_None;
13222 return resultobj;
13223 fail:
13224 return NULL;
13225 }
13226
13227
13228 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13229 PyObject *obj;
13230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13231 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13232 Py_INCREF(obj);
13233 return Py_BuildValue((char *)"");
13234 }
13235 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13238 int arg2 ;
13239 wxString *arg3 = 0 ;
13240 wxBitmap *arg4 = 0 ;
13241 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13242 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13243 int arg6 = (int) wxITEM_NORMAL ;
13244 wxString const &arg7_defvalue = wxPyEmptyString ;
13245 wxString *arg7 = (wxString *) &arg7_defvalue ;
13246 wxString const &arg8_defvalue = wxPyEmptyString ;
13247 wxString *arg8 = (wxString *) &arg8_defvalue ;
13248 PyObject *arg9 = (PyObject *) NULL ;
13249 wxToolBarToolBase *result;
13250 bool temp3 = False ;
13251 bool temp7 = False ;
13252 bool temp8 = False ;
13253 PyObject * obj0 = 0 ;
13254 PyObject * obj2 = 0 ;
13255 PyObject * obj3 = 0 ;
13256 PyObject * obj4 = 0 ;
13257 PyObject * obj6 = 0 ;
13258 PyObject * obj7 = 0 ;
13259 PyObject * obj8 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 {
13267 arg3 = wxString_in_helper(obj2);
13268 if (arg3 == NULL) SWIG_fail;
13269 temp3 = True;
13270 }
13271 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 if (arg4 == NULL) {
13273 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13274 }
13275 if (obj4) {
13276 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13277 if (arg5 == NULL) {
13278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13279 }
13280 }
13281 if (obj6) {
13282 {
13283 arg7 = wxString_in_helper(obj6);
13284 if (arg7 == NULL) SWIG_fail;
13285 temp7 = True;
13286 }
13287 }
13288 if (obj7) {
13289 {
13290 arg8 = wxString_in_helper(obj7);
13291 if (arg8 == NULL) SWIG_fail;
13292 temp8 = True;
13293 }
13294 }
13295 if (obj8) {
13296 arg9 = obj8;
13297 }
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 {
13306 resultobj = wxPyMake_wxObject(result);
13307 }
13308 {
13309 if (temp3)
13310 delete arg3;
13311 }
13312 {
13313 if (temp7)
13314 delete arg7;
13315 }
13316 {
13317 if (temp8)
13318 delete arg8;
13319 }
13320 return resultobj;
13321 fail:
13322 {
13323 if (temp3)
13324 delete arg3;
13325 }
13326 {
13327 if (temp7)
13328 delete arg7;
13329 }
13330 {
13331 if (temp8)
13332 delete arg8;
13333 }
13334 return NULL;
13335 }
13336
13337
13338 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13341 size_t arg2 ;
13342 int arg3 ;
13343 wxString *arg4 = 0 ;
13344 wxBitmap *arg5 = 0 ;
13345 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13346 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13347 int arg7 = (int) wxITEM_NORMAL ;
13348 wxString const &arg8_defvalue = wxPyEmptyString ;
13349 wxString *arg8 = (wxString *) &arg8_defvalue ;
13350 wxString const &arg9_defvalue = wxPyEmptyString ;
13351 wxString *arg9 = (wxString *) &arg9_defvalue ;
13352 PyObject *arg10 = (PyObject *) NULL ;
13353 wxToolBarToolBase *result;
13354 bool temp4 = False ;
13355 bool temp8 = False ;
13356 bool temp9 = False ;
13357 PyObject * obj0 = 0 ;
13358 PyObject * obj1 = 0 ;
13359 PyObject * obj3 = 0 ;
13360 PyObject * obj4 = 0 ;
13361 PyObject * obj5 = 0 ;
13362 PyObject * obj7 = 0 ;
13363 PyObject * obj8 = 0 ;
13364 PyObject * obj9 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13371 arg2 = (size_t) PyInt_AsLong(obj1);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 {
13374 arg4 = wxString_in_helper(obj3);
13375 if (arg4 == NULL) SWIG_fail;
13376 temp4 = True;
13377 }
13378 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13379 if (arg5 == NULL) {
13380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13381 }
13382 if (obj5) {
13383 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 if (arg6 == NULL) {
13385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13386 }
13387 }
13388 if (obj7) {
13389 {
13390 arg8 = wxString_in_helper(obj7);
13391 if (arg8 == NULL) SWIG_fail;
13392 temp8 = True;
13393 }
13394 }
13395 if (obj8) {
13396 {
13397 arg9 = wxString_in_helper(obj8);
13398 if (arg9 == NULL) SWIG_fail;
13399 temp9 = True;
13400 }
13401 }
13402 if (obj9) {
13403 arg10 = obj9;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 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);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 {
13413 resultobj = wxPyMake_wxObject(result);
13414 }
13415 {
13416 if (temp4)
13417 delete arg4;
13418 }
13419 {
13420 if (temp8)
13421 delete arg8;
13422 }
13423 {
13424 if (temp9)
13425 delete arg9;
13426 }
13427 return resultobj;
13428 fail:
13429 {
13430 if (temp4)
13431 delete arg4;
13432 }
13433 {
13434 if (temp8)
13435 delete arg8;
13436 }
13437 {
13438 if (temp9)
13439 delete arg9;
13440 }
13441 return NULL;
13442 }
13443
13444
13445 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13448 wxControl *arg2 = (wxControl *) 0 ;
13449 wxToolBarToolBase *result;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self",(char *) "control", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 resultobj = wxPyMake_wxObject(result);
13468 }
13469 return resultobj;
13470 fail:
13471 return NULL;
13472 }
13473
13474
13475 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13478 size_t arg2 ;
13479 wxControl *arg3 = (wxControl *) 0 ;
13480 wxToolBarToolBase *result;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 PyObject * obj2 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self",(char *) "pos",(char *) "control", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13490 arg2 = (size_t) PyInt_AsLong(obj1);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 {
13501 resultobj = wxPyMake_wxObject(result);
13502 }
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13512 int arg2 ;
13513 wxControl *result;
13514 PyObject * obj0 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self",(char *) "id", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxControl *)(arg1)->FindControl(arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 {
13529 resultobj = wxPyMake_wxObject(result);
13530 }
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13540 wxToolBarToolBase *result;
13541 PyObject * obj0 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 resultobj = wxPyMake_wxObject(result);
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13567 size_t arg2 ;
13568 wxToolBarToolBase *result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "self",(char *) "pos", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13577 arg2 = (size_t) PyInt_AsLong(obj1);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 {
13587 resultobj = wxPyMake_wxObject(result);
13588 }
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj;
13597 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13598 int arg2 ;
13599 wxToolBarToolBase *result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "id", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 {
13615 resultobj = wxPyMake_wxObject(result);
13616 }
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13626 size_t arg2 ;
13627 bool result;
13628 PyObject * obj0 = 0 ;
13629 PyObject * obj1 = 0 ;
13630 char *kwnames[] = {
13631 (char *) "self",(char *) "pos", NULL
13632 };
13633
13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 arg2 = (size_t) PyInt_AsLong(obj1);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 result = (bool)(arg1)->DeleteToolByPos(arg2);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = PyInt_FromLong((long)result);
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13655 int arg2 ;
13656 bool result;
13657 PyObject * obj0 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "id", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 result = (bool)(arg1)->DeleteTool(arg2);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = PyInt_FromLong((long)result);
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13681 PyObject * obj0 = 0 ;
13682 char *kwnames[] = {
13683 (char *) "self", NULL
13684 };
13685
13686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 (arg1)->ClearTools();
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 Py_INCREF(Py_None); resultobj = Py_None;
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13703 PyObject *resultobj;
13704 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13705 bool result;
13706 PyObject * obj0 = 0 ;
13707 char *kwnames[] = {
13708 (char *) "self", NULL
13709 };
13710
13711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (bool)(arg1)->Realize();
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 resultobj = PyInt_FromLong((long)result);
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13730 int arg2 ;
13731 bool arg3 ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "id",(char *) "enable", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13740 arg3 = PyInt_AsLong(obj2) ? true : false;
13741 if (PyErr_Occurred()) SWIG_fail;
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 (arg1)->EnableTool(arg2,arg3);
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 Py_INCREF(Py_None); resultobj = Py_None;
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13759 int arg2 ;
13760 bool arg3 ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj2 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self",(char *) "id",(char *) "toggle", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13769 arg3 = PyInt_AsLong(obj2) ? true : false;
13770 if (PyErr_Occurred()) SWIG_fail;
13771 {
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 (arg1)->ToggleTool(arg2,arg3);
13774
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 Py_INCREF(Py_None); resultobj = Py_None;
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13788 int arg2 ;
13789 bool arg3 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj2 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self",(char *) "id",(char *) "toggle", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13798 arg3 = PyInt_AsLong(obj2) ? true : false;
13799 if (PyErr_Occurred()) SWIG_fail;
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 (arg1)->SetToggle(arg2,arg3);
13803
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 Py_INCREF(Py_None); resultobj = Py_None;
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj;
13816 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13817 int arg2 ;
13818 PyObject *result;
13819 PyObject * obj0 = 0 ;
13820 char *kwnames[] = {
13821 (char *) "self",(char *) "id", NULL
13822 };
13823
13824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
13825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
13829
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 resultobj = result;
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13841 PyObject *resultobj;
13842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13843 int arg2 ;
13844 PyObject *arg3 = (PyObject *) 0 ;
13845 PyObject * obj0 = 0 ;
13846 PyObject * obj2 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self",(char *) "id",(char *) "clientData", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
13852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13853 arg3 = obj2;
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13871 int arg2 ;
13872 int result;
13873 PyObject * obj0 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "id", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 resultobj = PyInt_FromLong((long)result);
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13897 int arg2 ;
13898 bool result;
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "id", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (bool)(arg1)->GetToolState(arg2);
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 resultobj = PyInt_FromLong((long)result);
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13923 int arg2 ;
13924 bool result;
13925 PyObject * obj0 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self",(char *) "id", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 result = (bool)(arg1)->GetToolEnabled(arg2);
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = PyInt_FromLong((long)result);
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13949 int arg2 ;
13950 wxString *arg3 = 0 ;
13951 bool temp3 = False ;
13952 PyObject * obj0 = 0 ;
13953 PyObject * obj2 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "id",(char *) "helpString", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
13959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960 {
13961 arg3 = wxString_in_helper(obj2);
13962 if (arg3 == NULL) SWIG_fail;
13963 temp3 = True;
13964 }
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 Py_INCREF(Py_None); resultobj = Py_None;
13973 {
13974 if (temp3)
13975 delete arg3;
13976 }
13977 return resultobj;
13978 fail:
13979 {
13980 if (temp3)
13981 delete arg3;
13982 }
13983 return NULL;
13984 }
13985
13986
13987 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13988 PyObject *resultobj;
13989 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13990 int arg2 ;
13991 wxString result;
13992 PyObject * obj0 = 0 ;
13993 char *kwnames[] = {
13994 (char *) "self",(char *) "id", NULL
13995 };
13996
13997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
13998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (arg1)->GetToolShortHelp(arg2);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 {
14007 #if wxUSE_UNICODE
14008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14009 #else
14010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14011 #endif
14012 }
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14022 int arg2 ;
14023 wxString *arg3 = 0 ;
14024 bool temp3 = False ;
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj2 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "id",(char *) "helpString", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14033 {
14034 arg3 = wxString_in_helper(obj2);
14035 if (arg3 == NULL) SWIG_fail;
14036 temp3 = True;
14037 }
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
14045 Py_INCREF(Py_None); resultobj = Py_None;
14046 {
14047 if (temp3)
14048 delete arg3;
14049 }
14050 return resultobj;
14051 fail:
14052 {
14053 if (temp3)
14054 delete arg3;
14055 }
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14063 int arg2 ;
14064 wxString result;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self",(char *) "id", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (arg1)->GetToolLongHelp(arg2);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 {
14080 #if wxUSE_UNICODE
14081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14082 #else
14083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14084 #endif
14085 }
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14095 int arg2 ;
14096 int arg3 ;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self",(char *) "x",(char *) "y", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 (arg1)->SetMargins(arg2,arg3);
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 Py_INCREF(Py_None); resultobj = Py_None;
14112 return resultobj;
14113 fail:
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14121 wxSize *arg2 = 0 ;
14122 wxSize temp2 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "self",(char *) "size", NULL
14127 };
14128
14129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14131 {
14132 arg2 = &temp2;
14133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14134 }
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->SetMargins((wxSize const &)*arg2);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14152 int arg2 ;
14153 PyObject * obj0 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self",(char *) "packing", NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 (arg1)->SetToolPacking(arg2);
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 Py_INCREF(Py_None); resultobj = Py_None;
14168 return resultobj;
14169 fail:
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14177 int arg2 ;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self",(char *) "separation", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 (arg1)->SetToolSeparation(arg2);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 Py_INCREF(Py_None); resultobj = Py_None;
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14202 wxSize result;
14203 PyObject * obj0 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (arg1)->GetToolMargins();
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 {
14218 wxSize * resultptr;
14219 resultptr = new wxSize((wxSize &) result);
14220 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14221 }
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14231 wxSize result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (arg1)->GetMargins();
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 {
14247 wxSize * resultptr;
14248 resultptr = new wxSize((wxSize &) result);
14249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14250 }
14251 return resultobj;
14252 fail:
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14260 int result;
14261 PyObject * obj0 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "self", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (int)(arg1)->GetToolPacking();
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = PyInt_FromLong((long)result);
14276 return resultobj;
14277 fail:
14278 return NULL;
14279 }
14280
14281
14282 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14285 int result;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (int)(arg1)->GetToolSeparation();
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = PyInt_FromLong((long)result);
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj;
14309 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14310 int arg2 ;
14311 PyObject * obj0 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self",(char *) "nRows", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 (arg1)->SetRows(arg2);
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 Py_INCREF(Py_None); resultobj = Py_None;
14326 return resultobj;
14327 fail:
14328 return NULL;
14329 }
14330
14331
14332 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj;
14334 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14335 int arg2 ;
14336 int arg3 ;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self",(char *) "rows",(char *) "cols", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 (arg1)->SetMaxRowsCols(arg2,arg3);
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 Py_INCREF(Py_None); resultobj = Py_None;
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj;
14360 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14361 int result;
14362 PyObject * obj0 = 0 ;
14363 char *kwnames[] = {
14364 (char *) "self", NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14369 {
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (int)(arg1)->GetMaxRows();
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 resultobj = PyInt_FromLong((long)result);
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14386 int result;
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (int)(arg1)->GetMaxCols();
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = PyInt_FromLong((long)result);
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14411 wxSize *arg2 = 0 ;
14412 wxSize temp2 ;
14413 PyObject * obj0 = 0 ;
14414 PyObject * obj1 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self",(char *) "size", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14421 {
14422 arg2 = &temp2;
14423 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14424 }
14425 {
14426 PyThreadState* __tstate = wxPyBeginAllowThreads();
14427 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14428
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 Py_INCREF(Py_None); resultobj = Py_None;
14433 return resultobj;
14434 fail:
14435 return NULL;
14436 }
14437
14438
14439 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14442 wxSize result;
14443 PyObject * obj0 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (arg1)->GetToolBitmapSize();
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 {
14458 wxSize * resultptr;
14459 resultptr = new wxSize((wxSize &) result);
14460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14461 }
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14471 wxSize result;
14472 PyObject * obj0 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = (arg1)->GetToolSize();
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 {
14487 wxSize * resultptr;
14488 resultptr = new wxSize((wxSize &) result);
14489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14490 }
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14500 int arg2 ;
14501 int arg3 ;
14502 wxToolBarToolBase *result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self",(char *) "x",(char *) "y", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 {
14518 resultobj = wxPyMake_wxObject(result);
14519 }
14520 return resultobj;
14521 fail:
14522 return NULL;
14523 }
14524
14525
14526 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14527 PyObject *resultobj;
14528 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14529 bool result;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14537 {
14538 PyThreadState* __tstate = wxPyBeginAllowThreads();
14539 result = (bool)(arg1)->IsVertical();
14540
14541 wxPyEndAllowThreads(__tstate);
14542 if (PyErr_Occurred()) SWIG_fail;
14543 }
14544 resultobj = PyInt_FromLong((long)result);
14545 return resultobj;
14546 fail:
14547 return NULL;
14548 }
14549
14550
14551 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14552 PyObject *obj;
14553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14554 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14555 Py_INCREF(obj);
14556 return Py_BuildValue((char *)"");
14557 }
14558 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxWindow *arg1 = (wxWindow *) 0 ;
14561 int arg2 ;
14562 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14563 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14564 wxSize const &arg4_defvalue = wxDefaultSize ;
14565 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14566 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14567 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14568 wxString *arg6 = (wxString *) &arg6_defvalue ;
14569 wxToolBar *result;
14570 wxPoint temp3 ;
14571 wxSize temp4 ;
14572 bool temp6 = False ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 PyObject * obj5 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14583 if (obj2) {
14584 {
14585 arg3 = &temp3;
14586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14587 }
14588 }
14589 if (obj3) {
14590 {
14591 arg4 = &temp4;
14592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14593 }
14594 }
14595 if (obj5) {
14596 {
14597 arg6 = wxString_in_helper(obj5);
14598 if (arg6 == NULL) SWIG_fail;
14599 temp6 = True;
14600 }
14601 }
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 {
14610 resultobj = wxPyMake_wxObject(result);
14611 }
14612 {
14613 if (temp6)
14614 delete arg6;
14615 }
14616 return resultobj;
14617 fail:
14618 {
14619 if (temp6)
14620 delete arg6;
14621 }
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxToolBar *result;
14629 char *kwnames[] = {
14630 NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (wxToolBar *)new wxToolBar();
14637
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 {
14642 resultobj = wxPyMake_wxObject(result);
14643 }
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxToolBar *arg1 = (wxToolBar *) 0 ;
14653 wxWindow *arg2 = (wxWindow *) 0 ;
14654 int arg3 ;
14655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14657 wxSize const &arg5_defvalue = wxDefaultSize ;
14658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14659 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14660 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14661 wxString *arg7 = (wxString *) &arg7_defvalue ;
14662 bool result;
14663 wxPoint temp4 ;
14664 wxSize temp5 ;
14665 bool temp7 = False ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 PyObject * obj3 = 0 ;
14669 PyObject * obj4 = 0 ;
14670 PyObject * obj6 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14678 if (obj3) {
14679 {
14680 arg4 = &temp4;
14681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14682 }
14683 }
14684 if (obj4) {
14685 {
14686 arg5 = &temp5;
14687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14688 }
14689 }
14690 if (obj6) {
14691 {
14692 arg7 = wxString_in_helper(obj6);
14693 if (arg7 == NULL) SWIG_fail;
14694 temp7 = True;
14695 }
14696 }
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 resultobj = PyInt_FromLong((long)result);
14705 {
14706 if (temp7)
14707 delete arg7;
14708 }
14709 return resultobj;
14710 fail:
14711 {
14712 if (temp7)
14713 delete arg7;
14714 }
14715 return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj;
14721 wxToolBar *arg1 = (wxToolBar *) 0 ;
14722 int arg2 ;
14723 int arg3 ;
14724 wxToolBarToolBase *result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "x",(char *) "y", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 resultobj = wxPyMake_wxObject(result);
14741 }
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14749 PyObject *obj;
14750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14751 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14752 Py_INCREF(obj);
14753 return Py_BuildValue((char *)"");
14754 }
14755 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 wxColour const &arg1_defvalue = wxNullColour ;
14758 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14759 wxColour const &arg2_defvalue = wxNullColour ;
14760 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14761 wxFont const &arg3_defvalue = wxNullFont ;
14762 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14763 wxListItemAttr *result;
14764 wxColour temp1 ;
14765 wxColour temp2 ;
14766 PyObject * obj0 = 0 ;
14767 PyObject * obj1 = 0 ;
14768 PyObject * obj2 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14774 if (obj0) {
14775 {
14776 arg1 = &temp1;
14777 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14778 }
14779 }
14780 if (obj1) {
14781 {
14782 arg2 = &temp2;
14783 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14784 }
14785 }
14786 if (obj2) {
14787 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14788 if (arg3 == NULL) {
14789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14790 }
14791 }
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14809 wxColour *arg2 = 0 ;
14810 wxColour temp2 ;
14811 PyObject * obj0 = 0 ;
14812 PyObject * obj1 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self",(char *) "colText", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14819 {
14820 arg2 = &temp2;
14821 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14822 }
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 (arg1)->SetTextColour((wxColour const &)*arg2);
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 Py_INCREF(Py_None); resultobj = Py_None;
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14840 wxColour *arg2 = 0 ;
14841 wxColour temp2 ;
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self",(char *) "colBack", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14850 {
14851 arg2 = &temp2;
14852 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14853 }
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 Py_INCREF(Py_None); resultobj = Py_None;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14871 wxFont *arg2 = 0 ;
14872 PyObject * obj0 = 0 ;
14873 PyObject * obj1 = 0 ;
14874 char *kwnames[] = {
14875 (char *) "self",(char *) "font", NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
14879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14881 if (arg2 == NULL) {
14882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14883 }
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 (arg1)->SetFont((wxFont const &)*arg2);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 Py_INCREF(Py_None); resultobj = Py_None;
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14901 bool result;
14902 PyObject * obj0 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
14908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 result = (bool)(arg1)->HasTextColour();
14912
14913 wxPyEndAllowThreads(__tstate);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 resultobj = PyInt_FromLong((long)result);
14917 return resultobj;
14918 fail:
14919 return NULL;
14920 }
14921
14922
14923 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14926 bool result;
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
14933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (bool)(arg1)->HasBackgroundColour();
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 resultobj = PyInt_FromLong((long)result);
14942 return resultobj;
14943 fail:
14944 return NULL;
14945 }
14946
14947
14948 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14949 PyObject *resultobj;
14950 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14951 bool result;
14952 PyObject * obj0 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
14958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (bool)(arg1)->HasFont();
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 resultobj = PyInt_FromLong((long)result);
14967 return resultobj;
14968 fail:
14969 return NULL;
14970 }
14971
14972
14973 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj;
14975 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14976 wxColour result;
14977 PyObject * obj0 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 result = (arg1)->GetTextColour();
14987
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 {
14992 wxColour * resultptr;
14993 resultptr = new wxColour((wxColour &) result);
14994 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
14995 }
14996 return resultobj;
14997 fail:
14998 return NULL;
14999 }
15000
15001
15002 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15005 wxColour result;
15006 PyObject * obj0 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 result = (arg1)->GetBackgroundColour();
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 wxColour * resultptr;
15022 resultptr = new wxColour((wxColour &) result);
15023 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15024 }
15025 return resultobj;
15026 fail:
15027 return NULL;
15028 }
15029
15030
15031 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15032 PyObject *resultobj;
15033 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15034 wxFont result;
15035 PyObject * obj0 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (arg1)->GetFont();
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 wxFont * resultptr;
15051 resultptr = new wxFont((wxFont &) result);
15052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15053 }
15054 return resultobj;
15055 fail:
15056 return NULL;
15057 }
15058
15059
15060 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15063 PyObject * obj0 = 0 ;
15064 char *kwnames[] = {
15065 (char *) "self", NULL
15066 };
15067
15068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 wxListItemAttr_Destroy(arg1);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 Py_INCREF(Py_None); resultobj = Py_None;
15078 return resultobj;
15079 fail:
15080 return NULL;
15081 }
15082
15083
15084 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15085 PyObject *obj;
15086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15088 Py_INCREF(obj);
15089 return Py_BuildValue((char *)"");
15090 }
15091 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxListItem *result;
15094 char *kwnames[] = {
15095 NULL
15096 };
15097
15098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 result = (wxListItem *)new wxListItem();
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 {
15107 resultobj = wxPyMake_wxObject(result);
15108 }
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxListItem *arg1 = (wxListItem *) 0 ;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 delete arg1;
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 Py_INCREF(Py_None); resultobj = Py_None;
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj;
15141 wxListItem *arg1 = (wxListItem *) 0 ;
15142 PyObject * obj0 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->Clear();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 Py_INCREF(Py_None); resultobj = Py_None;
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxListItem *arg1 = (wxListItem *) 0 ;
15166 PyObject * obj0 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self", NULL
15169 };
15170
15171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 (arg1)->ClearAttributes();
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 Py_INCREF(Py_None); resultobj = Py_None;
15181 return resultobj;
15182 fail:
15183 return NULL;
15184 }
15185
15186
15187 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxListItem *arg1 = (wxListItem *) 0 ;
15190 long arg2 ;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self",(char *) "mask", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 (arg1)->SetMask(arg2);
15201
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 Py_INCREF(Py_None); resultobj = Py_None;
15206 return resultobj;
15207 fail:
15208 return NULL;
15209 }
15210
15211
15212 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxListItem *arg1 = (wxListItem *) 0 ;
15215 long arg2 ;
15216 PyObject * obj0 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self",(char *) "id", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 (arg1)->SetId(arg2);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 Py_INCREF(Py_None); resultobj = Py_None;
15231 return resultobj;
15232 fail:
15233 return NULL;
15234 }
15235
15236
15237 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15238 PyObject *resultobj;
15239 wxListItem *arg1 = (wxListItem *) 0 ;
15240 int arg2 ;
15241 PyObject * obj0 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "col", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 (arg1)->SetColumn(arg2);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 Py_INCREF(Py_None); resultobj = Py_None;
15256 return resultobj;
15257 fail:
15258 return NULL;
15259 }
15260
15261
15262 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 wxListItem *arg1 = (wxListItem *) 0 ;
15265 long arg2 ;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self",(char *) "state", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 (arg1)->SetState(arg2);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 Py_INCREF(Py_None); resultobj = Py_None;
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxListItem *arg1 = (wxListItem *) 0 ;
15290 long arg2 ;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "stateMask", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 (arg1)->SetStateMask(arg2);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 Py_INCREF(Py_None); resultobj = Py_None;
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxListItem *arg1 = (wxListItem *) 0 ;
15315 wxString *arg2 = 0 ;
15316 bool temp2 = False ;
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 char *kwnames[] = {
15320 (char *) "self",(char *) "text", NULL
15321 };
15322
15323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15325 {
15326 arg2 = wxString_in_helper(obj1);
15327 if (arg2 == NULL) SWIG_fail;
15328 temp2 = True;
15329 }
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 (arg1)->SetText((wxString const &)*arg2);
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 Py_INCREF(Py_None); resultobj = Py_None;
15338 {
15339 if (temp2)
15340 delete arg2;
15341 }
15342 return resultobj;
15343 fail:
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxListItem *arg1 = (wxListItem *) 0 ;
15355 int arg2 ;
15356 PyObject * obj0 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self",(char *) "image", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 (arg1)->SetImage(arg2);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 Py_INCREF(Py_None); resultobj = Py_None;
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 wxListItem *arg1 = (wxListItem *) 0 ;
15380 long arg2 ;
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "data", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 (arg1)->SetData(arg2);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 Py_INCREF(Py_None); resultobj = Py_None;
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxListItem *arg1 = (wxListItem *) 0 ;
15405 int arg2 ;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "width", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 (arg1)->SetWidth(arg2);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxListItem *arg1 = (wxListItem *) 0 ;
15430 int arg2 ;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "align", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 (arg1)->SetAlign((wxListColumnFormat )arg2);
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 Py_INCREF(Py_None); resultobj = Py_None;
15446 return resultobj;
15447 fail:
15448 return NULL;
15449 }
15450
15451
15452 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15453 PyObject *resultobj;
15454 wxListItem *arg1 = (wxListItem *) 0 ;
15455 wxColour *arg2 = 0 ;
15456 wxColour temp2 ;
15457 PyObject * obj0 = 0 ;
15458 PyObject * obj1 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "self",(char *) "colText", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15465 {
15466 arg2 = &temp2;
15467 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15468 }
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 (arg1)->SetTextColour((wxColour const &)*arg2);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 Py_INCREF(Py_None); resultobj = Py_None;
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxListItem *arg1 = (wxListItem *) 0 ;
15486 wxColour *arg2 = 0 ;
15487 wxColour temp2 ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self",(char *) "colBack", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15496 {
15497 arg2 = &temp2;
15498 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15499 }
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxListItem *arg1 = (wxListItem *) 0 ;
15517 wxFont *arg2 = 0 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self",(char *) "font", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15527 if (arg2 == NULL) {
15528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15529 }
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 (arg1)->SetFont((wxFont const &)*arg2);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 Py_INCREF(Py_None); resultobj = Py_None;
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxListItem *arg1 = (wxListItem *) 0 ;
15547 long result;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (long)(arg1)->GetMask();
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 resultobj = PyInt_FromLong((long)result);
15563 return resultobj;
15564 fail:
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxListItem *arg1 = (wxListItem *) 0 ;
15572 long result;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 result = (long)(arg1)->GetId();
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 resultobj = PyInt_FromLong((long)result);
15588 return resultobj;
15589 fail:
15590 return NULL;
15591 }
15592
15593
15594 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15595 PyObject *resultobj;
15596 wxListItem *arg1 = (wxListItem *) 0 ;
15597 int result;
15598 PyObject * obj0 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 result = (int)(arg1)->GetColumn();
15608
15609 wxPyEndAllowThreads(__tstate);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 resultobj = PyInt_FromLong((long)result);
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxListItem *arg1 = (wxListItem *) 0 ;
15622 long result;
15623 PyObject * obj0 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 result = (long)(arg1)->GetState();
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 resultobj = PyInt_FromLong((long)result);
15638 return resultobj;
15639 fail:
15640 return NULL;
15641 }
15642
15643
15644 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15645 PyObject *resultobj;
15646 wxListItem *arg1 = (wxListItem *) 0 ;
15647 wxString *result;
15648 PyObject * obj0 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "self", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 {
15658 wxString const &_result_ref = (arg1)->GetText();
15659 result = (wxString *) &_result_ref;
15660 }
15661
15662 wxPyEndAllowThreads(__tstate);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 }
15665 {
15666 #if wxUSE_UNICODE
15667 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15668 #else
15669 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15670 #endif
15671 }
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxListItem *arg1 = (wxListItem *) 0 ;
15681 int result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (int)(arg1)->GetImage();
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = PyInt_FromLong((long)result);
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxListItem *arg1 = (wxListItem *) 0 ;
15706 long result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (long)(arg1)->GetData();
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = PyInt_FromLong((long)result);
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxListItem *arg1 = (wxListItem *) 0 ;
15731 int result;
15732 PyObject * obj0 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "self", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (int)(arg1)->GetWidth();
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = PyInt_FromLong((long)result);
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxListItem *arg1 = (wxListItem *) 0 ;
15756 int result;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (int)(arg1)->GetAlign();
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 resultobj = PyInt_FromLong((long)result);
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxListItem *arg1 = (wxListItem *) 0 ;
15781 wxListItemAttr *result;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (wxListItemAttr *)(arg1)->GetAttributes();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxListItem *arg1 = (wxListItem *) 0 ;
15806 bool result;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = (bool)(arg1)->HasAttributes();
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 resultobj = PyInt_FromLong((long)result);
15822 return resultobj;
15823 fail:
15824 return NULL;
15825 }
15826
15827
15828 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxListItem *arg1 = (wxListItem *) 0 ;
15831 wxColour result;
15832 PyObject * obj0 = 0 ;
15833 char *kwnames[] = {
15834 (char *) "self", NULL
15835 };
15836
15837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = ((wxListItem const *)arg1)->GetTextColour();
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 wxColour * resultptr;
15848 resultptr = new wxColour((wxColour &) result);
15849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15850 }
15851 return resultobj;
15852 fail:
15853 return NULL;
15854 }
15855
15856
15857 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15858 PyObject *resultobj;
15859 wxListItem *arg1 = (wxListItem *) 0 ;
15860 wxColour result;
15861 PyObject * obj0 = 0 ;
15862 char *kwnames[] = {
15863 (char *) "self", NULL
15864 };
15865
15866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 result = ((wxListItem const *)arg1)->GetBackgroundColour();
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 {
15876 wxColour * resultptr;
15877 resultptr = new wxColour((wxColour &) result);
15878 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15879 }
15880 return resultobj;
15881 fail:
15882 return NULL;
15883 }
15884
15885
15886 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15887 PyObject *resultobj;
15888 wxListItem *arg1 = (wxListItem *) 0 ;
15889 wxFont result;
15890 PyObject * obj0 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self", NULL
15893 };
15894
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 result = ((wxListItem const *)arg1)->GetFont();
15900
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 {
15905 wxFont * resultptr;
15906 resultptr = new wxFont((wxFont &) result);
15907 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15908 }
15909 return resultobj;
15910 fail:
15911 return NULL;
15912 }
15913
15914
15915 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxListItem *arg1 = (wxListItem *) 0 ;
15918 long arg2 ;
15919 PyObject * obj0 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "m_mask", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 if (arg1) (arg1)->m_mask = arg2;
15927
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxListItem *arg1 = (wxListItem *) 0 ;
15938 long result;
15939 PyObject * obj0 = 0 ;
15940 char *kwnames[] = {
15941 (char *) "self", NULL
15942 };
15943
15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15946 result = (long) ((arg1)->m_mask);
15947
15948 resultobj = PyInt_FromLong((long)result);
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxListItem *arg1 = (wxListItem *) 0 ;
15958 long arg2 ;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "m_itemId", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15966 if (arg1) (arg1)->m_itemId = arg2;
15967
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972 }
15973
15974
15975 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15976 PyObject *resultobj;
15977 wxListItem *arg1 = (wxListItem *) 0 ;
15978 long result;
15979 PyObject * obj0 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15986 result = (long) ((arg1)->m_itemId);
15987
15988 resultobj = PyInt_FromLong((long)result);
15989 return resultobj;
15990 fail:
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxListItem *arg1 = (wxListItem *) 0 ;
15998 int arg2 ;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self",(char *) "m_col", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 if (arg1) (arg1)->m_col = arg2;
16007
16008 Py_INCREF(Py_None); resultobj = Py_None;
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxListItem *arg1 = (wxListItem *) 0 ;
16018 int result;
16019 PyObject * obj0 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16026 result = (int) ((arg1)->m_col);
16027
16028 resultobj = PyInt_FromLong((long)result);
16029 return resultobj;
16030 fail:
16031 return NULL;
16032 }
16033
16034
16035 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxListItem *arg1 = (wxListItem *) 0 ;
16038 long arg2 ;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self",(char *) "m_state", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16046 if (arg1) (arg1)->m_state = arg2;
16047
16048 Py_INCREF(Py_None); resultobj = Py_None;
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxListItem *arg1 = (wxListItem *) 0 ;
16058 long result;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16066 result = (long) ((arg1)->m_state);
16067
16068 resultobj = PyInt_FromLong((long)result);
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxListItem *arg1 = (wxListItem *) 0 ;
16078 long arg2 ;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "m_stateMask", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16086 if (arg1) (arg1)->m_stateMask = arg2;
16087
16088 Py_INCREF(Py_None); resultobj = Py_None;
16089 return resultobj;
16090 fail:
16091 return NULL;
16092 }
16093
16094
16095 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj;
16097 wxListItem *arg1 = (wxListItem *) 0 ;
16098 long result;
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16106 result = (long) ((arg1)->m_stateMask);
16107
16108 resultobj = PyInt_FromLong((long)result);
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxListItem *arg1 = (wxListItem *) 0 ;
16118 wxString arg2 ;
16119 PyObject * obj0 = 0 ;
16120 PyObject * obj1 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self",(char *) "m_text", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16127 {
16128 wxString* sptr = wxString_in_helper(obj1);
16129 if (sptr == NULL) SWIG_fail;
16130 arg2 = *sptr;
16131 delete sptr;
16132 }
16133 if (arg1) (arg1)->m_text = arg2;
16134
16135 Py_INCREF(Py_None); resultobj = Py_None;
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxListItem *arg1 = (wxListItem *) 0 ;
16145 wxString result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16153 result = ((arg1)->m_text);
16154
16155 {
16156 #if wxUSE_UNICODE
16157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16158 #else
16159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16160 #endif
16161 }
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxListItem *arg1 = (wxListItem *) 0 ;
16171 int arg2 ;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self",(char *) "m_image", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16179 if (arg1) (arg1)->m_image = arg2;
16180
16181 Py_INCREF(Py_None); resultobj = Py_None;
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxListItem *arg1 = (wxListItem *) 0 ;
16191 int result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16199 result = (int) ((arg1)->m_image);
16200
16201 resultobj = PyInt_FromLong((long)result);
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxListItem *arg1 = (wxListItem *) 0 ;
16211 long arg2 ;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self",(char *) "m_data", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16219 if (arg1) (arg1)->m_data = arg2;
16220
16221 Py_INCREF(Py_None); resultobj = Py_None;
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxListItem *arg1 = (wxListItem *) 0 ;
16231 long result;
16232 PyObject * obj0 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16239 result = (long) ((arg1)->m_data);
16240
16241 resultobj = PyInt_FromLong((long)result);
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxListItem *arg1 = (wxListItem *) 0 ;
16251 int arg2 ;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self",(char *) "m_format", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16259 if (arg1) (arg1)->m_format = arg2;
16260
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxListItem *arg1 = (wxListItem *) 0 ;
16271 int result;
16272 PyObject * obj0 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16279 result = (int) ((arg1)->m_format);
16280
16281 resultobj = PyInt_FromLong((long)result);
16282 return resultobj;
16283 fail:
16284 return NULL;
16285 }
16286
16287
16288 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16289 PyObject *resultobj;
16290 wxListItem *arg1 = (wxListItem *) 0 ;
16291 int arg2 ;
16292 PyObject * obj0 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "m_width", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16299 if (arg1) (arg1)->m_width = arg2;
16300
16301 Py_INCREF(Py_None); resultobj = Py_None;
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxListItem *arg1 = (wxListItem *) 0 ;
16311 int result;
16312 PyObject * obj0 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 result = (int) ((arg1)->m_width);
16320
16321 resultobj = PyInt_FromLong((long)result);
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16329 PyObject *obj;
16330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16331 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16332 Py_INCREF(obj);
16333 return Py_BuildValue((char *)"");
16334 }
16335 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16338 int arg2 = (int) 0 ;
16339 wxListEvent *result;
16340 char *kwnames[] = {
16341 (char *) "commandType",(char *) "id", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxListEvent *arg1 = (wxListEvent *) 0 ;
16362 int arg2 ;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self",(char *) "m_code", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16370 if (arg1) (arg1)->m_code = arg2;
16371
16372 Py_INCREF(Py_None); resultobj = Py_None;
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxListEvent *arg1 = (wxListEvent *) 0 ;
16382 int result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 result = (int) ((arg1)->m_code);
16391
16392 resultobj = PyInt_FromLong((long)result);
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxListEvent *arg1 = (wxListEvent *) 0 ;
16402 long arg2 ;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self",(char *) "m_oldItemIndex", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16410 if (arg1) (arg1)->m_oldItemIndex = arg2;
16411
16412 Py_INCREF(Py_None); resultobj = Py_None;
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxListEvent *arg1 = (wxListEvent *) 0 ;
16422 long result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 result = (long) ((arg1)->m_oldItemIndex);
16431
16432 resultobj = PyInt_FromLong((long)result);
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxListEvent *arg1 = (wxListEvent *) 0 ;
16442 long arg2 ;
16443 PyObject * obj0 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "m_itemIndex", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16450 if (arg1) (arg1)->m_itemIndex = arg2;
16451
16452 Py_INCREF(Py_None); resultobj = Py_None;
16453 return resultobj;
16454 fail:
16455 return NULL;
16456 }
16457
16458
16459 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16460 PyObject *resultobj;
16461 wxListEvent *arg1 = (wxListEvent *) 0 ;
16462 long result;
16463 PyObject * obj0 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16470 result = (long) ((arg1)->m_itemIndex);
16471
16472 resultobj = PyInt_FromLong((long)result);
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxListEvent *arg1 = (wxListEvent *) 0 ;
16482 int arg2 ;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self",(char *) "m_col", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16490 if (arg1) (arg1)->m_col = arg2;
16491
16492 Py_INCREF(Py_None); resultobj = Py_None;
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxListEvent *arg1 = (wxListEvent *) 0 ;
16502 int result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16510 result = (int) ((arg1)->m_col);
16511
16512 resultobj = PyInt_FromLong((long)result);
16513 return resultobj;
16514 fail:
16515 return NULL;
16516 }
16517
16518
16519 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxListEvent *arg1 = (wxListEvent *) 0 ;
16522 wxPoint *arg2 = (wxPoint *) 0 ;
16523 PyObject * obj0 = 0 ;
16524 PyObject * obj1 = 0 ;
16525 char *kwnames[] = {
16526 (char *) "self",(char *) "m_pointDrag", NULL
16527 };
16528
16529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16532 if (arg1) (arg1)->m_pointDrag = *arg2;
16533
16534 Py_INCREF(Py_None); resultobj = Py_None;
16535 return resultobj;
16536 fail:
16537 return NULL;
16538 }
16539
16540
16541 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj;
16543 wxListEvent *arg1 = (wxListEvent *) 0 ;
16544 wxPoint *result;
16545 PyObject * obj0 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self", NULL
16548 };
16549
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16552 result = (wxPoint *)& ((arg1)->m_pointDrag);
16553
16554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxListEvent *arg1 = (wxListEvent *) 0 ;
16564 wxListItem *result;
16565 PyObject * obj0 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self", NULL
16568 };
16569
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16572 result = (wxListItem *)& ((arg1)->m_item);
16573
16574 {
16575 resultobj = wxPyMake_wxObject(result);
16576 }
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxListEvent *arg1 = (wxListEvent *) 0 ;
16586 int result;
16587 PyObject * obj0 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = (int)(arg1)->GetKeyCode();
16597
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 resultobj = PyInt_FromLong((long)result);
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxListEvent *arg1 = (wxListEvent *) 0 ;
16611 long result;
16612 PyObject * obj0 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self", NULL
16615 };
16616
16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (long)(arg1)->GetIndex();
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = PyInt_FromLong((long)result);
16627 return resultobj;
16628 fail:
16629 return NULL;
16630 }
16631
16632
16633 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16634 PyObject *resultobj;
16635 wxListEvent *arg1 = (wxListEvent *) 0 ;
16636 int result;
16637 PyObject * obj0 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (int)(arg1)->GetColumn();
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 resultobj = PyInt_FromLong((long)result);
16652 return resultobj;
16653 fail:
16654 return NULL;
16655 }
16656
16657
16658 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxListEvent *arg1 = (wxListEvent *) 0 ;
16661 wxPoint result;
16662 PyObject * obj0 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 result = (arg1)->GetPoint();
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 {
16677 wxPoint * resultptr;
16678 resultptr = new wxPoint((wxPoint &) result);
16679 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16680 }
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 wxListEvent *arg1 = (wxListEvent *) 0 ;
16690 wxString *result;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 {
16701 wxString const &_result_ref = (arg1)->GetLabel();
16702 result = (wxString *) &_result_ref;
16703 }
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709 #if wxUSE_UNICODE
16710 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16711 #else
16712 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16713 #endif
16714 }
16715 return resultobj;
16716 fail:
16717 return NULL;
16718 }
16719
16720
16721 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj;
16723 wxListEvent *arg1 = (wxListEvent *) 0 ;
16724 wxString *result;
16725 PyObject * obj0 = 0 ;
16726 char *kwnames[] = {
16727 (char *) "self", NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 {
16735 wxString const &_result_ref = (arg1)->GetText();
16736 result = (wxString *) &_result_ref;
16737 }
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 {
16743 #if wxUSE_UNICODE
16744 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16745 #else
16746 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16747 #endif
16748 }
16749 return resultobj;
16750 fail:
16751 return NULL;
16752 }
16753
16754
16755 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxListEvent *arg1 = (wxListEvent *) 0 ;
16758 int result;
16759 PyObject * obj0 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 result = (int)(arg1)->GetImage();
16769
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 resultobj = PyInt_FromLong((long)result);
16774 return resultobj;
16775 fail:
16776 return NULL;
16777 }
16778
16779
16780 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxListEvent *arg1 = (wxListEvent *) 0 ;
16783 long result;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (long)(arg1)->GetData();
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 resultobj = PyInt_FromLong((long)result);
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxListEvent *arg1 = (wxListEvent *) 0 ;
16808 long result;
16809 PyObject * obj0 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 result = (long)(arg1)->GetMask();
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 resultobj = PyInt_FromLong((long)result);
16824 return resultobj;
16825 fail:
16826 return NULL;
16827 }
16828
16829
16830 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16831 PyObject *resultobj;
16832 wxListEvent *arg1 = (wxListEvent *) 0 ;
16833 wxListItem *result;
16834 PyObject * obj0 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 {
16844 wxListItem const &_result_ref = (arg1)->GetItem();
16845 result = (wxListItem *) &_result_ref;
16846 }
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxListEvent *arg1 = (wxListEvent *) 0 ;
16861 long result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (long)(arg1)->GetCacheFrom();
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 resultobj = PyInt_FromLong((long)result);
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj;
16885 wxListEvent *arg1 = (wxListEvent *) 0 ;
16886 long result;
16887 PyObject * obj0 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
16893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (long)(arg1)->GetCacheTo();
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 resultobj = PyInt_FromLong((long)result);
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxListEvent *arg1 = (wxListEvent *) 0 ;
16911 bool result;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
16918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16919 {
16920 PyThreadState* __tstate = wxPyBeginAllowThreads();
16921 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 resultobj = PyInt_FromLong((long)result);
16927 return resultobj;
16928 fail:
16929 return NULL;
16930 }
16931
16932
16933 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
16934 PyObject *resultobj;
16935 wxListEvent *arg1 = (wxListEvent *) 0 ;
16936 bool arg2 ;
16937 PyObject * obj0 = 0 ;
16938 PyObject * obj1 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "self",(char *) "editCancelled", NULL
16941 };
16942
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
16944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16945 arg2 = PyInt_AsLong(obj1) ? true : false;
16946 if (PyErr_Occurred()) SWIG_fail;
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 (arg1)->SetEditCanceled(arg2);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 Py_INCREF(Py_None); resultobj = Py_None;
16955 return resultobj;
16956 fail:
16957 return NULL;
16958 }
16959
16960
16961 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
16962 PyObject *obj;
16963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16964 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
16965 Py_INCREF(obj);
16966 return Py_BuildValue((char *)"");
16967 }
16968 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxWindow *arg1 = (wxWindow *) 0 ;
16971 int arg2 = (int) -1 ;
16972 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16973 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16974 wxSize const &arg4_defvalue = wxDefaultSize ;
16975 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16976 long arg5 = (long) wxLC_ICON ;
16977 wxValidator const &arg6_defvalue = wxDefaultValidator ;
16978 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
16979 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
16980 wxString *arg7 = (wxString *) &arg7_defvalue ;
16981 wxPyListCtrl *result;
16982 wxPoint temp3 ;
16983 wxSize temp4 ;
16984 bool temp7 = False ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj2 = 0 ;
16987 PyObject * obj3 = 0 ;
16988 PyObject * obj5 = 0 ;
16989 PyObject * obj6 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
16995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16996 if (obj2) {
16997 {
16998 arg3 = &temp3;
16999 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17000 }
17001 }
17002 if (obj3) {
17003 {
17004 arg4 = &temp4;
17005 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17006 }
17007 }
17008 if (obj5) {
17009 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17010 if (arg6 == NULL) {
17011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17012 }
17013 }
17014 if (obj6) {
17015 {
17016 arg7 = wxString_in_helper(obj6);
17017 if (arg7 == NULL) SWIG_fail;
17018 temp7 = True;
17019 }
17020 }
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17029 {
17030 if (temp7)
17031 delete arg7;
17032 }
17033 return resultobj;
17034 fail:
17035 {
17036 if (temp7)
17037 delete arg7;
17038 }
17039 return NULL;
17040 }
17041
17042
17043 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxPyListCtrl *result;
17046 char *kwnames[] = {
17047 NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 result = (wxPyListCtrl *)new wxPyListCtrl();
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17068 wxWindow *arg2 = (wxWindow *) 0 ;
17069 int arg3 = (int) -1 ;
17070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17072 wxSize const &arg5_defvalue = wxDefaultSize ;
17073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17074 long arg6 = (long) wxLC_ICON ;
17075 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17076 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17077 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17078 wxString *arg8 = (wxString *) &arg8_defvalue ;
17079 bool result;
17080 wxPoint temp4 ;
17081 wxSize temp5 ;
17082 bool temp8 = False ;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 PyObject * obj3 = 0 ;
17086 PyObject * obj4 = 0 ;
17087 PyObject * obj6 = 0 ;
17088 PyObject * obj7 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 if (obj3) {
17097 {
17098 arg4 = &temp4;
17099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17100 }
17101 }
17102 if (obj4) {
17103 {
17104 arg5 = &temp5;
17105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17106 }
17107 }
17108 if (obj6) {
17109 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 if (arg7 == NULL) {
17111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17112 }
17113 }
17114 if (obj7) {
17115 {
17116 arg8 = wxString_in_helper(obj7);
17117 if (arg8 == NULL) SWIG_fail;
17118 temp8 = True;
17119 }
17120 }
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyInt_FromLong((long)result);
17129 {
17130 if (temp8)
17131 delete arg8;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp8)
17137 delete arg8;
17138 }
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17146 PyObject *arg2 = (PyObject *) 0 ;
17147 PyObject *arg3 = (PyObject *) 0 ;
17148 PyObject * obj0 = 0 ;
17149 PyObject * obj1 = 0 ;
17150 PyObject * obj2 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "self",(char *) "_class", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17157 arg2 = obj1;
17158 arg3 = obj2;
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->_setCallbackInfo(arg2,arg3);
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17176 wxColour *arg2 = 0 ;
17177 bool result;
17178 wxColour temp2 ;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "col", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 {
17188 arg2 = &temp2;
17189 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17190 }
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = PyInt_FromLong((long)result);
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17208 wxColour *arg2 = 0 ;
17209 bool result;
17210 wxColour temp2 ;
17211 PyObject * obj0 = 0 ;
17212 PyObject * obj1 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self",(char *) "col", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17219 {
17220 arg2 = &temp2;
17221 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17222 }
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = PyInt_FromLong((long)result);
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17240 int arg2 ;
17241 wxListItem *result;
17242 PyObject * obj0 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self",(char *) "col", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17252
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 {
17257 resultobj = wxPyMake_wxObject(result);
17258 }
17259 return resultobj;
17260 fail:
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17268 int arg2 ;
17269 wxListItem *arg3 = 0 ;
17270 bool result;
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj2 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self",(char *) "col",(char *) "item", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17280 if (arg3 == NULL) {
17281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17282 }
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 resultobj = PyInt_FromLong((long)result);
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17300 int arg2 ;
17301 int result;
17302 PyObject * obj0 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "col", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 resultobj = PyInt_FromLong((long)result);
17317 return resultobj;
17318 fail:
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17326 int arg2 ;
17327 int arg3 ;
17328 bool result;
17329 PyObject * obj0 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self",(char *) "col",(char *) "width", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 resultobj = PyInt_FromLong((long)result);
17344 return resultobj;
17345 fail:
17346 return NULL;
17347 }
17348
17349
17350 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17353 int result;
17354 PyObject * obj0 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17361 {
17362 PyThreadState* __tstate = wxPyBeginAllowThreads();
17363 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17364
17365 wxPyEndAllowThreads(__tstate);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 resultobj = PyInt_FromLong((long)result);
17369 return resultobj;
17370 fail:
17371 return NULL;
17372 }
17373
17374
17375 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj;
17377 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17378 wxRect result;
17379 PyObject * obj0 = 0 ;
17380 char *kwnames[] = {
17381 (char *) "self", NULL
17382 };
17383
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 {
17394 wxRect * resultptr;
17395 resultptr = new wxRect((wxRect &) result);
17396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17397 }
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17405 PyObject *resultobj;
17406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17407 long arg2 ;
17408 int arg3 = (int) 0 ;
17409 wxListItem *result;
17410 PyObject * obj0 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "itemId",(char *) "col", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 {
17425 resultobj = wxPyMake_wxObject(result);
17426 }
17427 return resultobj;
17428 fail:
17429 return NULL;
17430 }
17431
17432
17433 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17436 wxListItem *arg2 = 0 ;
17437 bool result;
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 char *kwnames[] = {
17441 (char *) "self",(char *) "info", NULL
17442 };
17443
17444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17447 if (arg2 == NULL) {
17448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17449 }
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = (bool)(arg1)->SetItem(*arg2);
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 resultobj = PyInt_FromLong((long)result);
17458 return resultobj;
17459 fail:
17460 return NULL;
17461 }
17462
17463
17464 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17467 long arg2 ;
17468 int arg3 ;
17469 wxString *arg4 = 0 ;
17470 int arg5 = (int) -1 ;
17471 long result;
17472 bool temp4 = False ;
17473 PyObject * obj0 = 0 ;
17474 PyObject * obj3 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 {
17482 arg4 = wxString_in_helper(obj3);
17483 if (arg4 == NULL) SWIG_fail;
17484 temp4 = True;
17485 }
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17489
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 resultobj = PyInt_FromLong((long)result);
17494 {
17495 if (temp4)
17496 delete arg4;
17497 }
17498 return resultobj;
17499 fail:
17500 {
17501 if (temp4)
17502 delete arg4;
17503 }
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17511 long arg2 ;
17512 long arg3 ;
17513 int result;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17524
17525 wxPyEndAllowThreads(__tstate);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 resultobj = PyInt_FromLong((long)result);
17529 return resultobj;
17530 fail:
17531 return NULL;
17532 }
17533
17534
17535 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17538 long arg2 ;
17539 long arg3 ;
17540 long arg4 ;
17541 bool result;
17542 PyObject * obj0 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = PyInt_FromLong((long)result);
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17566 long arg2 ;
17567 int arg3 ;
17568 int arg4 ;
17569 bool result;
17570 PyObject * obj0 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = PyInt_FromLong((long)result);
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17594 long arg2 ;
17595 wxString result;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self",(char *) "item", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 #if wxUSE_UNICODE
17612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17613 #else
17614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17615 #endif
17616 }
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17626 long arg2 ;
17627 wxString *arg3 = 0 ;
17628 bool temp3 = False ;
17629 PyObject * obj0 = 0 ;
17630 PyObject * obj2 = 0 ;
17631 char *kwnames[] = {
17632 (char *) "self",(char *) "item",(char *) "str", NULL
17633 };
17634
17635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17637 {
17638 arg3 = wxString_in_helper(obj2);
17639 if (arg3 == NULL) SWIG_fail;
17640 temp3 = True;
17641 }
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 Py_INCREF(Py_None); resultobj = Py_None;
17650 {
17651 if (temp3)
17652 delete arg3;
17653 }
17654 return resultobj;
17655 fail:
17656 {
17657 if (temp3)
17658 delete arg3;
17659 }
17660 return NULL;
17661 }
17662
17663
17664 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17667 long arg2 ;
17668 long result;
17669 PyObject * obj0 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self",(char *) "item", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = PyInt_FromLong((long)result);
17684 return resultobj;
17685 fail:
17686 return NULL;
17687 }
17688
17689
17690 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17693 long arg2 ;
17694 long arg3 ;
17695 bool result;
17696 PyObject * obj0 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self",(char *) "item",(char *) "data", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (bool)(arg1)->SetItemData(arg2,arg3);
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = PyInt_FromLong((long)result);
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17720 long arg2 ;
17721 wxPoint result;
17722 PyObject * obj0 = 0 ;
17723 char *kwnames[] = {
17724 (char *) "self",(char *) "item", NULL
17725 };
17726
17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 wxPoint * resultptr;
17738 resultptr = new wxPoint((wxPoint &) result);
17739 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17740 }
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17750 long arg2 ;
17751 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17752 wxRect result;
17753 PyObject * obj0 = 0 ;
17754 char *kwnames[] = {
17755 (char *) "self",(char *) "item",(char *) "code", NULL
17756 };
17757
17758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 wxRect * resultptr;
17769 resultptr = new wxRect((wxRect &) result);
17770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17781 long arg2 ;
17782 wxPoint *arg3 = 0 ;
17783 bool result;
17784 wxPoint temp3 ;
17785 PyObject * obj0 = 0 ;
17786 PyObject * obj2 = 0 ;
17787 char *kwnames[] = {
17788 (char *) "self",(char *) "item",(char *) "pos", NULL
17789 };
17790
17791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17793 {
17794 arg3 = &temp3;
17795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17796 }
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 resultobj = PyInt_FromLong((long)result);
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17814 int result;
17815 PyObject * obj0 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "self", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = PyInt_FromLong((long)result);
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17839 int result;
17840 PyObject * obj0 = 0 ;
17841 char *kwnames[] = {
17842 (char *) "self", NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
17846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 resultobj = PyInt_FromLong((long)result);
17855 return resultobj;
17856 fail:
17857 return NULL;
17858 }
17859
17860
17861 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17864 wxSize result;
17865 PyObject * obj0 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
17871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 {
17880 wxSize * resultptr;
17881 resultptr = new wxSize((wxSize &) result);
17882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17883 }
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17893 int arg2 ;
17894 bool arg3 = (bool) False ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj2 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17903 if (obj2) {
17904 arg3 = PyInt_AsLong(obj2) ? true : false;
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 (arg1)->SetItemSpacing(arg2,arg3);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 Py_INCREF(Py_None); resultobj = Py_None;
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17924 int result;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 resultobj = PyInt_FromLong((long)result);
17940 return resultobj;
17941 fail:
17942 return NULL;
17943 }
17944
17945
17946 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17947 PyObject *resultobj;
17948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17949 wxColour result;
17950 PyObject * obj0 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "self", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
17956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 {
17965 wxColour * resultptr;
17966 resultptr = new wxColour((wxColour &) result);
17967 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17968 }
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17978 wxColour *arg2 = 0 ;
17979 wxColour temp2 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self",(char *) "col", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 {
17989 arg2 = &temp2;
17990 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17991 }
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetTextColour((wxColour const &)*arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18009 long result;
18010 PyObject * obj0 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = PyInt_FromLong((long)result);
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18034 long arg2 ;
18035 bool arg3 = (bool) True ;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj2 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self",(char *) "style",(char *) "add", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 if (obj2) {
18045 arg3 = PyInt_AsLong(obj2) ? true : false;
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 (arg1)->SetSingleStyle(arg2,arg3);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 Py_INCREF(Py_None); resultobj = Py_None;
18056 return resultobj;
18057 fail:
18058 return NULL;
18059 }
18060
18061
18062 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj;
18064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18065 long arg2 ;
18066 PyObject * obj0 = 0 ;
18067 char *kwnames[] = {
18068 (char *) "self",(char *) "style", NULL
18069 };
18070
18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 (arg1)->SetWindowStyleFlag(arg2);
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 Py_INCREF(Py_None); resultobj = Py_None;
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18090 long arg2 ;
18091 int arg3 = (int) wxLIST_NEXT_ALL ;
18092 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18093 long result;
18094 PyObject * obj0 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 resultobj = PyInt_FromLong((long)result);
18109 return resultobj;
18110 fail:
18111 return NULL;
18112 }
18113
18114
18115 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj;
18117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18118 int arg2 ;
18119 wxImageList *result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self",(char *) "which", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 {
18135 resultobj = wxPyMake_wxObject(result);
18136 }
18137 return resultobj;
18138 fail:
18139 return NULL;
18140 }
18141
18142
18143 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18146 wxImageList *arg2 = (wxImageList *) 0 ;
18147 int arg3 ;
18148 PyObject * obj0 = 0 ;
18149 PyObject * obj1 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self",(char *) "imageList",(char *) "which", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 (arg1)->SetImageList(arg2,arg3);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 Py_INCREF(Py_None); resultobj = Py_None;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18174 wxImageList *arg2 = (wxImageList *) 0 ;
18175 int arg3 ;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "imageList",(char *) "which", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 (arg1)->AssignImageList(arg2,arg3);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 Py_INCREF(Py_None); resultobj = Py_None;
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18202 bool result;
18203 PyObject * obj0 = 0 ;
18204 char *kwnames[] = {
18205 (char *) "self", NULL
18206 };
18207
18208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 resultobj = PyInt_FromLong((long)result);
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18227 long arg2 ;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self",(char *) "item", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 (arg1)->RefreshItem(arg2);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18252 long arg2 ;
18253 long arg3 ;
18254 PyObject * obj0 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 (arg1)->RefreshItems(arg2,arg3);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 Py_INCREF(Py_None); resultobj = Py_None;
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18278 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18279 bool result;
18280 PyObject * obj0 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "flag", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 result = (bool)(arg1)->Arrange(arg2);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 resultobj = PyInt_FromLong((long)result);
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18304 long arg2 ;
18305 bool result;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "item", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (bool)(arg1)->DeleteItem(arg2);
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = PyInt_FromLong((long)result);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18330 bool result;
18331 PyObject * obj0 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (bool)(arg1)->DeleteAllItems();
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 resultobj = PyInt_FromLong((long)result);
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18355 int arg2 ;
18356 bool result;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self",(char *) "col", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->DeleteColumn(arg2);
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = PyInt_FromLong((long)result);
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18381 bool result;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (bool)(arg1)->DeleteAllColumns();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = PyInt_FromLong((long)result);
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->ClearAll();
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj;
18429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18430 long arg2 ;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "item", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 (arg1)->EditLabel(arg2);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 Py_INCREF(Py_None); resultobj = Py_None;
18446 return resultobj;
18447 fail:
18448 return NULL;
18449 }
18450
18451
18452 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18455 long arg2 ;
18456 bool result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "item", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (bool)(arg1)->EnsureVisible(arg2);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = PyInt_FromLong((long)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18481 long arg2 ;
18482 wxString *arg3 = 0 ;
18483 bool arg4 = (bool) False ;
18484 long result;
18485 bool temp3 = False ;
18486 PyObject * obj0 = 0 ;
18487 PyObject * obj2 = 0 ;
18488 PyObject * obj3 = 0 ;
18489 char *kwnames[] = {
18490 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18491 };
18492
18493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18495 {
18496 arg3 = wxString_in_helper(obj2);
18497 if (arg3 == NULL) SWIG_fail;
18498 temp3 = True;
18499 }
18500 if (obj3) {
18501 arg4 = PyInt_AsLong(obj3) ? true : false;
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = PyInt_FromLong((long)result);
18512 {
18513 if (temp3)
18514 delete arg3;
18515 }
18516 return resultobj;
18517 fail:
18518 {
18519 if (temp3)
18520 delete arg3;
18521 }
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18529 long arg2 ;
18530 long arg3 ;
18531 long result;
18532 PyObject * obj0 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self",(char *) "start",(char *) "data", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 result = (long)(arg1)->FindItem(arg2,arg3);
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 resultobj = PyInt_FromLong((long)result);
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18556 long arg2 ;
18557 wxPoint *arg3 = 0 ;
18558 int arg4 ;
18559 long result;
18560 wxPoint temp3 ;
18561 PyObject * obj0 = 0 ;
18562 PyObject * obj2 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18569 {
18570 arg3 = &temp3;
18571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18572 }
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18576
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 resultobj = PyInt_FromLong((long)result);
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18590 wxPoint *arg2 = 0 ;
18591 int *arg3 = 0 ;
18592 long result;
18593 wxPoint temp2 ;
18594 int temp3 ;
18595 PyObject * obj0 = 0 ;
18596 PyObject * obj1 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self",(char *) "point", NULL
18599 };
18600
18601 arg3 = &temp3;
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18604 {
18605 arg2 = &temp2;
18606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18607 }
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = PyInt_FromLong((long)result);
18616 {
18617 PyObject *o = PyInt_FromLong((long) (*arg3));
18618 resultobj = t_output_helper(resultobj,o);
18619 }
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj;
18628 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18629 wxListItem *arg2 = 0 ;
18630 long result;
18631 PyObject * obj0 = 0 ;
18632 PyObject * obj1 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self",(char *) "info", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 if (arg2 == NULL) {
18641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18642 }
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (long)(arg1)->InsertItem(*arg2);
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = PyInt_FromLong((long)result);
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18660 long arg2 ;
18661 wxString *arg3 = 0 ;
18662 long result;
18663 bool temp3 = False ;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj2 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "index",(char *) "label", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 {
18673 arg3 = wxString_in_helper(obj2);
18674 if (arg3 == NULL) SWIG_fail;
18675 temp3 = True;
18676 }
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 resultobj = PyInt_FromLong((long)result);
18685 {
18686 if (temp3)
18687 delete arg3;
18688 }
18689 return resultobj;
18690 fail:
18691 {
18692 if (temp3)
18693 delete arg3;
18694 }
18695 return NULL;
18696 }
18697
18698
18699 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18702 long arg2 ;
18703 int arg3 ;
18704 long result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (long)(arg1)->InsertItem(arg2,arg3);
18715
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 resultobj = PyInt_FromLong((long)result);
18720 return resultobj;
18721 fail:
18722 return NULL;
18723 }
18724
18725
18726 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18729 long arg2 ;
18730 wxString *arg3 = 0 ;
18731 int arg4 ;
18732 long result;
18733 bool temp3 = False ;
18734 PyObject * obj0 = 0 ;
18735 PyObject * obj2 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18742 {
18743 arg3 = wxString_in_helper(obj2);
18744 if (arg3 == NULL) SWIG_fail;
18745 temp3 = True;
18746 }
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = PyInt_FromLong((long)result);
18755 {
18756 if (temp3)
18757 delete arg3;
18758 }
18759 return resultobj;
18760 fail:
18761 {
18762 if (temp3)
18763 delete arg3;
18764 }
18765 return NULL;
18766 }
18767
18768
18769 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18772 long arg2 ;
18773 wxListItem *arg3 = 0 ;
18774 long result;
18775 PyObject * obj0 = 0 ;
18776 PyObject * obj2 = 0 ;
18777 char *kwnames[] = {
18778 (char *) "self",(char *) "col",(char *) "info", NULL
18779 };
18780
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18783 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18784 if (arg3 == NULL) {
18785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18786 }
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 resultobj = PyInt_FromLong((long)result);
18795 return resultobj;
18796 fail:
18797 return NULL;
18798 }
18799
18800
18801 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18802 PyObject *resultobj;
18803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18804 long arg2 ;
18805 wxString *arg3 = 0 ;
18806 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18807 int arg5 = (int) -1 ;
18808 long result;
18809 bool temp3 = False ;
18810 PyObject * obj0 = 0 ;
18811 PyObject * obj2 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18818 {
18819 arg3 = wxString_in_helper(obj2);
18820 if (arg3 == NULL) SWIG_fail;
18821 temp3 = True;
18822 }
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 resultobj = PyInt_FromLong((long)result);
18831 {
18832 if (temp3)
18833 delete arg3;
18834 }
18835 return resultobj;
18836 fail:
18837 {
18838 if (temp3)
18839 delete arg3;
18840 }
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18848 long arg2 ;
18849 PyObject * obj0 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self",(char *) "count", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
18855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 (arg1)->SetItemCount(arg2);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 Py_INCREF(Py_None); resultobj = Py_None;
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18873 int arg2 ;
18874 int arg3 ;
18875 bool result;
18876 PyObject * obj0 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "dx",(char *) "dy", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (bool)(arg1)->ScrollList(arg2,arg3);
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_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18900 long arg2 ;
18901 wxColour *arg3 = 0 ;
18902 wxColour temp3 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj2 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self",(char *) "item",(char *) "col", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 arg3 = &temp3;
18913 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18914 }
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 Py_INCREF(Py_None); resultobj = Py_None;
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18932 long arg2 ;
18933 wxColour result;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self",(char *) "item", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
18940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 wxColour * resultptr;
18950 resultptr = new wxColour((wxColour &) result);
18951 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18952 }
18953 return resultobj;
18954 fail:
18955 return NULL;
18956 }
18957
18958
18959 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18962 long arg2 ;
18963 wxColour *arg3 = 0 ;
18964 wxColour temp3 ;
18965 PyObject * obj0 = 0 ;
18966 PyObject * obj2 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self",(char *) "item",(char *) "col", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18973 {
18974 arg3 = &temp3;
18975 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18976 }
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 Py_INCREF(Py_None); resultobj = Py_None;
18985 return resultobj;
18986 fail:
18987 return NULL;
18988 }
18989
18990
18991 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj;
18993 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18994 long arg2 ;
18995 wxColour result;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self",(char *) "item", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 {
19011 wxColour * resultptr;
19012 resultptr = new wxColour((wxColour &) result);
19013 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19014 }
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19024 PyObject *arg2 = (PyObject *) 0 ;
19025 bool result;
19026 PyObject * obj0 = 0 ;
19027 PyObject * obj1 = 0 ;
19028 char *kwnames[] = {
19029 (char *) "self",(char *) "func", NULL
19030 };
19031
19032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19034 arg2 = obj1;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 resultobj = PyInt_FromLong((long)result);
19043 return resultobj;
19044 fail:
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19052 wxWindow *result;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 resultobj = wxPyMake_wxObject(result);
19069 }
19070 return resultobj;
19071 fail:
19072 return NULL;
19073 }
19074
19075
19076 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19077 PyObject *obj;
19078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19079 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19080 Py_INCREF(obj);
19081 return Py_BuildValue((char *)"");
19082 }
19083 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19084 PyObject *resultobj;
19085 wxWindow *arg1 = (wxWindow *) 0 ;
19086 int arg2 = (int) -1 ;
19087 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19088 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19089 wxSize const &arg4_defvalue = wxDefaultSize ;
19090 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19091 long arg5 = (long) wxLC_REPORT ;
19092 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19093 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19094 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19095 wxString *arg7 = (wxString *) &arg7_defvalue ;
19096 wxListView *result;
19097 wxPoint temp3 ;
19098 wxSize temp4 ;
19099 bool temp7 = False ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj2 = 0 ;
19102 PyObject * obj3 = 0 ;
19103 PyObject * obj5 = 0 ;
19104 PyObject * obj6 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19111 if (obj2) {
19112 {
19113 arg3 = &temp3;
19114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19115 }
19116 }
19117 if (obj3) {
19118 {
19119 arg4 = &temp4;
19120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19121 }
19122 }
19123 if (obj5) {
19124 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19125 if (arg6 == NULL) {
19126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19127 }
19128 }
19129 if (obj6) {
19130 {
19131 arg7 = wxString_in_helper(obj6);
19132 if (arg7 == NULL) SWIG_fail;
19133 temp7 = True;
19134 }
19135 }
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19144 {
19145 if (temp7)
19146 delete arg7;
19147 }
19148 return resultobj;
19149 fail:
19150 {
19151 if (temp7)
19152 delete arg7;
19153 }
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxListView *result;
19161 char *kwnames[] = {
19162 NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 result = (wxListView *)new wxListView();
19169
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxListView *arg1 = (wxListView *) 0 ;
19183 wxWindow *arg2 = (wxWindow *) 0 ;
19184 int arg3 = (int) -1 ;
19185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19187 wxSize const &arg5_defvalue = wxDefaultSize ;
19188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19189 long arg6 = (long) wxLC_REPORT ;
19190 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19191 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19192 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19193 wxString *arg8 = (wxString *) &arg8_defvalue ;
19194 bool result;
19195 wxPoint temp4 ;
19196 wxSize temp5 ;
19197 bool temp8 = False ;
19198 PyObject * obj0 = 0 ;
19199 PyObject * obj1 = 0 ;
19200 PyObject * obj3 = 0 ;
19201 PyObject * obj4 = 0 ;
19202 PyObject * obj6 = 0 ;
19203 PyObject * obj7 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 if (obj3) {
19212 {
19213 arg4 = &temp4;
19214 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19215 }
19216 }
19217 if (obj4) {
19218 {
19219 arg5 = &temp5;
19220 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19221 }
19222 }
19223 if (obj6) {
19224 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19225 if (arg7 == NULL) {
19226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19227 }
19228 }
19229 if (obj7) {
19230 {
19231 arg8 = wxString_in_helper(obj7);
19232 if (arg8 == NULL) SWIG_fail;
19233 temp8 = True;
19234 }
19235 }
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19239
19240 wxPyEndAllowThreads(__tstate);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 resultobj = PyInt_FromLong((long)result);
19244 {
19245 if (temp8)
19246 delete arg8;
19247 }
19248 return resultobj;
19249 fail:
19250 {
19251 if (temp8)
19252 delete arg8;
19253 }
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxListView *arg1 = (wxListView *) 0 ;
19261 long arg2 ;
19262 bool arg3 = (bool) True ;
19263 PyObject * obj0 = 0 ;
19264 PyObject * obj2 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "n",(char *) "on", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19271 if (obj2) {
19272 arg3 = PyInt_AsLong(obj2) ? true : false;
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 (arg1)->Select(arg2,arg3);
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 Py_INCREF(Py_None); resultobj = Py_None;
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxListView *arg1 = (wxListView *) 0 ;
19292 long arg2 ;
19293 PyObject * obj0 = 0 ;
19294 char *kwnames[] = {
19295 (char *) "self",(char *) "index", NULL
19296 };
19297
19298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->Focus(arg2);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxListView *arg1 = (wxListView *) 0 ;
19317 long result;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 resultobj = PyInt_FromLong((long)result);
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj;
19341 wxListView *arg1 = (wxListView *) 0 ;
19342 long arg2 ;
19343 long result;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self",(char *) "item", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19351 {
19352 PyThreadState* __tstate = wxPyBeginAllowThreads();
19353 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 resultobj = PyInt_FromLong((long)result);
19359 return resultobj;
19360 fail:
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxListView *arg1 = (wxListView *) 0 ;
19368 long result;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = PyInt_FromLong((long)result);
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxListView *arg1 = (wxListView *) 0 ;
19393 long arg2 ;
19394 bool result;
19395 PyObject * obj0 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "self",(char *) "index", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (bool)(arg1)->IsSelected(arg2);
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 resultobj = PyInt_FromLong((long)result);
19410 return resultobj;
19411 fail:
19412 return NULL;
19413 }
19414
19415
19416 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19417 PyObject *resultobj;
19418 wxListView *arg1 = (wxListView *) 0 ;
19419 int arg2 ;
19420 int arg3 ;
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self",(char *) "col",(char *) "image", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 (arg1)->SetColumnImage(arg2,arg3);
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 Py_INCREF(Py_None); resultobj = Py_None;
19436 return resultobj;
19437 fail:
19438 return NULL;
19439 }
19440
19441
19442 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxListView *arg1 = (wxListView *) 0 ;
19445 int arg2 ;
19446 PyObject * obj0 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "col", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 (arg1)->ClearColumnImage(arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 Py_INCREF(Py_None); resultobj = Py_None;
19461 return resultobj;
19462 fail:
19463 return NULL;
19464 }
19465
19466
19467 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19468 PyObject *obj;
19469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19470 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19471 Py_INCREF(obj);
19472 return Py_BuildValue((char *)"");
19473 }
19474 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19475 PyObject *resultobj;
19476 wxTreeItemId *result;
19477 char *kwnames[] = {
19478 NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19482 {
19483 PyThreadState* __tstate = wxPyBeginAllowThreads();
19484 result = (wxTreeItemId *)new wxTreeItemId();
19485
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 delete arg1;
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 Py_INCREF(Py_None); resultobj = Py_None;
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19523 bool result;
19524 PyObject * obj0 = 0 ;
19525 char *kwnames[] = {
19526 (char *) "self", NULL
19527 };
19528
19529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = PyInt_FromLong((long)result);
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19548 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19549 bool result;
19550 PyObject * obj0 = 0 ;
19551 PyObject * obj1 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self",(char *) "other", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 resultobj = PyInt_FromLong((long)result);
19567 return resultobj;
19568 fail:
19569 return NULL;
19570 }
19571
19572
19573 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19576 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19577 bool result;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "other", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 resultobj = PyInt_FromLong((long)result);
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19604 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self",(char *) "m_pItem", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19614 if (arg1) (arg1)->m_pItem = arg2;
19615
19616 Py_INCREF(Py_None); resultobj = Py_None;
19617 return resultobj;
19618 fail:
19619 return NULL;
19620 }
19621
19622
19623 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19624 PyObject *resultobj;
19625 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19626 wxTreeItemIdValue result;
19627 PyObject * obj0 = 0 ;
19628 char *kwnames[] = {
19629 (char *) "self", NULL
19630 };
19631
19632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19634 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19635
19636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19644 PyObject *obj;
19645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19646 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19647 Py_INCREF(obj);
19648 return Py_BuildValue((char *)"");
19649 }
19650 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 PyObject *arg1 = (PyObject *) NULL ;
19653 wxPyTreeItemData *result;
19654 PyObject * obj0 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "obj", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19660 if (obj0) {
19661 arg1 = obj0;
19662 }
19663 {
19664 PyThreadState* __tstate = wxPyBeginAllowThreads();
19665 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19680 PyObject *result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (PyObject *)(arg1)->GetData();
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 resultobj = result;
19696 return resultobj;
19697 fail:
19698 return NULL;
19699 }
19700
19701
19702 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19703 PyObject *resultobj;
19704 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19705 PyObject *arg2 = (PyObject *) 0 ;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "obj", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19714 arg2 = obj1;
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 (arg1)->SetData(arg2);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 Py_INCREF(Py_None); resultobj = Py_None;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19732 wxTreeItemId *result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 {
19743 wxTreeItemId const &_result_ref = (arg1)->GetId();
19744 result = (wxTreeItemId *) &_result_ref;
19745 }
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19751 return resultobj;
19752 fail:
19753 return NULL;
19754 }
19755
19756
19757 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19760 wxTreeItemId *arg2 = 0 ;
19761 PyObject * obj0 = 0 ;
19762 PyObject * obj1 = 0 ;
19763 char *kwnames[] = {
19764 (char *) "self",(char *) "id", NULL
19765 };
19766
19767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19770 if (arg2 == NULL) {
19771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19772 }
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 (arg1)->SetId((wxTreeItemId const &)*arg2);
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 Py_INCREF(Py_None); resultobj = Py_None;
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 wxPyTreeItemData_Destroy(arg1);
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 Py_INCREF(Py_None); resultobj = Py_None;
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19812 PyObject *obj;
19813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19814 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19815 Py_INCREF(obj);
19816 return Py_BuildValue((char *)"");
19817 }
19818 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19821 int arg2 = (int) 0 ;
19822 wxTreeEvent *result;
19823 char *kwnames[] = {
19824 (char *) "commandType",(char *) "id", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19845 wxTreeItemId result;
19846 PyObject * obj0 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
19852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19853 {
19854 PyThreadState* __tstate = wxPyBeginAllowThreads();
19855 result = ((wxTreeEvent const *)arg1)->GetItem();
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 {
19861 wxTreeItemId * resultptr;
19862 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19863 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19864 }
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19872 PyObject *resultobj;
19873 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19874 wxTreeItemId *arg2 = 0 ;
19875 PyObject * obj0 = 0 ;
19876 PyObject * obj1 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self",(char *) "item", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19884 if (arg2 == NULL) {
19885 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19886 }
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 (arg1)->SetItem((wxTreeItemId const &)*arg2);
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 Py_INCREF(Py_None); resultobj = Py_None;
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19904 wxTreeItemId result;
19905 PyObject * obj0 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = ((wxTreeEvent const *)arg1)->GetOldItem();
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 {
19920 wxTreeItemId * resultptr;
19921 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19922 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19923 }
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19933 wxTreeItemId *arg2 = 0 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "item", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 if (arg2 == NULL) {
19944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19945 }
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 Py_INCREF(Py_None); resultobj = Py_None;
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19963 wxPoint result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 result = ((wxTreeEvent const *)arg1)->GetPoint();
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 {
19979 wxPoint * resultptr;
19980 resultptr = new wxPoint((wxPoint &) result);
19981 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19982 }
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19992 wxPoint *arg2 = 0 ;
19993 wxPoint temp2 ;
19994 PyObject * obj0 = 0 ;
19995 PyObject * obj1 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "pt", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20002 {
20003 arg2 = &temp2;
20004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20005 }
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->SetPoint((wxPoint const &)*arg2);
20009
20010 wxPyEndAllowThreads(__tstate);
20011 if (PyErr_Occurred()) SWIG_fail;
20012 }
20013 Py_INCREF(Py_None); resultobj = Py_None;
20014 return resultobj;
20015 fail:
20016 return NULL;
20017 }
20018
20019
20020 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20023 wxKeyEvent *result;
20024 PyObject * obj0 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 {
20034 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20035 result = (wxKeyEvent *) &_result_ref;
20036 }
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20051 int result;
20052 PyObject * obj0 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 resultobj = PyInt_FromLong((long)result);
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20076 wxKeyEvent *arg2 = 0 ;
20077 PyObject * obj0 = 0 ;
20078 PyObject * obj1 = 0 ;
20079 char *kwnames[] = {
20080 (char *) "self",(char *) "evt", NULL
20081 };
20082
20083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20086 if (arg2 == NULL) {
20087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20088 }
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 Py_INCREF(Py_None); resultobj = Py_None;
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20106 wxString *result;
20107 PyObject * obj0 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 {
20117 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20118 result = (wxString *) &_result_ref;
20119 }
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 {
20125 #if wxUSE_UNICODE
20126 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20127 #else
20128 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20129 #endif
20130 }
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20140 wxString *arg2 = 0 ;
20141 bool temp2 = False ;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "label", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20150 {
20151 arg2 = wxString_in_helper(obj1);
20152 if (arg2 == NULL) SWIG_fail;
20153 temp2 = True;
20154 }
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 (arg1)->SetLabel((wxString const &)*arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 Py_INCREF(Py_None); resultobj = Py_None;
20163 {
20164 if (temp2)
20165 delete arg2;
20166 }
20167 return resultobj;
20168 fail:
20169 {
20170 if (temp2)
20171 delete arg2;
20172 }
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20180 bool result;
20181 PyObject * obj0 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 resultobj = PyInt_FromLong((long)result);
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20205 bool arg2 ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "editCancelled", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20214 arg2 = PyInt_AsLong(obj1) ? true : false;
20215 if (PyErr_Occurred()) SWIG_fail;
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 (arg1)->SetEditCanceled(arg2);
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 Py_INCREF(Py_None); resultobj = Py_None;
20224 return resultobj;
20225 fail:
20226 return NULL;
20227 }
20228
20229
20230 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20231 PyObject *obj;
20232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20233 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20234 Py_INCREF(obj);
20235 return Py_BuildValue((char *)"");
20236 }
20237 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxWindow *arg1 = (wxWindow *) 0 ;
20240 int arg2 = (int) -1 ;
20241 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20242 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20243 wxSize const &arg4_defvalue = wxDefaultSize ;
20244 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20245 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20246 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20247 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20248 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20249 wxString *arg7 = (wxString *) &arg7_defvalue ;
20250 wxPyTreeCtrl *result;
20251 wxPoint temp3 ;
20252 wxSize temp4 ;
20253 bool temp7 = False ;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj2 = 0 ;
20256 PyObject * obj3 = 0 ;
20257 PyObject * obj5 = 0 ;
20258 PyObject * obj6 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 if (obj2) {
20266 {
20267 arg3 = &temp3;
20268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20269 }
20270 }
20271 if (obj3) {
20272 {
20273 arg4 = &temp4;
20274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20275 }
20276 }
20277 if (obj5) {
20278 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20279 if (arg6 == NULL) {
20280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20281 }
20282 }
20283 if (obj6) {
20284 {
20285 arg7 = wxString_in_helper(obj6);
20286 if (arg7 == NULL) SWIG_fail;
20287 temp7 = True;
20288 }
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20298 {
20299 if (temp7)
20300 delete arg7;
20301 }
20302 return resultobj;
20303 fail:
20304 {
20305 if (temp7)
20306 delete arg7;
20307 }
20308 return NULL;
20309 }
20310
20311
20312 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj;
20314 wxPyTreeCtrl *result;
20315 char *kwnames[] = {
20316 NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20337 wxWindow *arg2 = (wxWindow *) 0 ;
20338 int arg3 = (int) -1 ;
20339 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20340 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20341 wxSize const &arg5_defvalue = wxDefaultSize ;
20342 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20343 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20344 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20345 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20346 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20347 wxString *arg8 = (wxString *) &arg8_defvalue ;
20348 bool result;
20349 wxPoint temp4 ;
20350 wxSize temp5 ;
20351 bool temp8 = False ;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 PyObject * obj3 = 0 ;
20355 PyObject * obj4 = 0 ;
20356 PyObject * obj6 = 0 ;
20357 PyObject * obj7 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 if (obj3) {
20366 {
20367 arg4 = &temp4;
20368 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20369 }
20370 }
20371 if (obj4) {
20372 {
20373 arg5 = &temp5;
20374 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20375 }
20376 }
20377 if (obj6) {
20378 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20379 if (arg7 == NULL) {
20380 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20381 }
20382 }
20383 if (obj7) {
20384 {
20385 arg8 = wxString_in_helper(obj7);
20386 if (arg8 == NULL) SWIG_fail;
20387 temp8 = True;
20388 }
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 resultobj = PyInt_FromLong((long)result);
20398 {
20399 if (temp8)
20400 delete arg8;
20401 }
20402 return resultobj;
20403 fail:
20404 {
20405 if (temp8)
20406 delete arg8;
20407 }
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20415 PyObject *arg2 = (PyObject *) 0 ;
20416 PyObject *arg3 = (PyObject *) 0 ;
20417 PyObject * obj0 = 0 ;
20418 PyObject * obj1 = 0 ;
20419 PyObject * obj2 = 0 ;
20420 char *kwnames[] = {
20421 (char *) "self",(char *) "self",(char *) "_class", NULL
20422 };
20423
20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20426 arg2 = obj1;
20427 arg3 = obj2;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 (arg1)->_setCallbackInfo(arg2,arg3);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 Py_INCREF(Py_None); resultobj = Py_None;
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20445 size_t result;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = PyInt_FromLong((long)result);
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20470 unsigned int result;
20471 PyObject * obj0 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = PyInt_FromLong((long)result);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20495 unsigned int arg2 ;
20496 PyObject * obj0 = 0 ;
20497 PyObject * obj1 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self",(char *) "indent", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20504 arg2 = (unsigned int) PyInt_AsLong(obj1);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->SetIndent(arg2);
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20523 unsigned int result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = PyInt_FromLong((long)result);
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20548 unsigned int arg2 ;
20549 PyObject * obj0 = 0 ;
20550 PyObject * obj1 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "spacing", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 arg2 = (unsigned int) PyInt_AsLong(obj1);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 (arg1)->SetSpacing(arg2);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 Py_INCREF(Py_None); resultobj = Py_None;
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20576 wxImageList *result;
20577 PyObject * obj0 = 0 ;
20578 char *kwnames[] = {
20579 (char *) "self", NULL
20580 };
20581
20582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 {
20592 resultobj = wxPyMake_wxObject(result);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20603 wxImageList *result;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 {
20619 resultobj = wxPyMake_wxObject(result);
20620 }
20621 return resultobj;
20622 fail:
20623 return NULL;
20624 }
20625
20626
20627 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20628 PyObject *resultobj;
20629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20630 wxImageList *arg2 = (wxImageList *) 0 ;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "imageList", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 (arg1)->SetImageList(arg2);
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 Py_INCREF(Py_None); resultobj = Py_None;
20648 return resultobj;
20649 fail:
20650 return NULL;
20651 }
20652
20653
20654 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20657 wxImageList *arg2 = (wxImageList *) 0 ;
20658 PyObject * obj0 = 0 ;
20659 PyObject * obj1 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self",(char *) "imageList", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 (arg1)->SetStateImageList(arg2);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 Py_INCREF(Py_None); resultobj = Py_None;
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20684 wxImageList *arg2 = (wxImageList *) 0 ;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687 char *kwnames[] = {
20688 (char *) "self",(char *) "imageList", NULL
20689 };
20690
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 (arg1)->AssignImageList(arg2);
20697
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 Py_INCREF(Py_None); resultobj = Py_None;
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20711 wxImageList *arg2 = (wxImageList *) 0 ;
20712 PyObject * obj0 = 0 ;
20713 PyObject * obj1 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self",(char *) "imageList", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 (arg1)->AssignStateImageList(arg2);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20738 wxTreeItemId *arg2 = 0 ;
20739 wxString result;
20740 PyObject * obj0 = 0 ;
20741 PyObject * obj1 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self",(char *) "item", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20749 if (arg2 == NULL) {
20750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20751 }
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
20759 {
20760 #if wxUSE_UNICODE
20761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20762 #else
20763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20764 #endif
20765 }
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20775 wxTreeItemId *arg2 = 0 ;
20776 int arg3 = (int) wxTreeItemIcon_Normal ;
20777 int result;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "item",(char *) "which", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20787 if (arg2 == NULL) {
20788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20789 }
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 resultobj = PyInt_FromLong((long)result);
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20807 wxTreeItemId *arg2 = 0 ;
20808 wxPyTreeItemData *result;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self",(char *) "item", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20818 if (arg2 == NULL) {
20819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20820 }
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20838 wxTreeItemId *arg2 = 0 ;
20839 PyObject *result;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self",(char *) "item", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20849 if (arg2 == NULL) {
20850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 resultobj = result;
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20869 wxTreeItemId *arg2 = 0 ;
20870 wxColour result;
20871 PyObject * obj0 = 0 ;
20872 PyObject * obj1 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self",(char *) "item", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20880 if (arg2 == NULL) {
20881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20882 }
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
20886
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 {
20891 wxColour * resultptr;
20892 resultptr = new wxColour((wxColour &) result);
20893 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20894 }
20895 return resultobj;
20896 fail:
20897 return NULL;
20898 }
20899
20900
20901 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20904 wxTreeItemId *arg2 = 0 ;
20905 wxColour result;
20906 PyObject * obj0 = 0 ;
20907 PyObject * obj1 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self",(char *) "item", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20915 if (arg2 == NULL) {
20916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20917 }
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 {
20926 wxColour * resultptr;
20927 resultptr = new wxColour((wxColour &) result);
20928 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20939 wxTreeItemId *arg2 = 0 ;
20940 wxFont result;
20941 PyObject * obj0 = 0 ;
20942 PyObject * obj1 = 0 ;
20943 char *kwnames[] = {
20944 (char *) "self",(char *) "item", NULL
20945 };
20946
20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
20948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20950 if (arg2 == NULL) {
20951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 {
20961 wxFont * resultptr;
20962 resultptr = new wxFont((wxFont &) result);
20963 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
20964 }
20965 return resultobj;
20966 fail:
20967 return NULL;
20968 }
20969
20970
20971 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20974 wxTreeItemId *arg2 = 0 ;
20975 wxString *arg3 = 0 ;
20976 bool temp3 = False ;
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj1 = 0 ;
20979 PyObject * obj2 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "item",(char *) "text", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20987 if (arg2 == NULL) {
20988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20989 }
20990 {
20991 arg3 = wxString_in_helper(obj2);
20992 if (arg3 == NULL) SWIG_fail;
20993 temp3 = True;
20994 }
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 Py_INCREF(Py_None); resultobj = Py_None;
21003 {
21004 if (temp3)
21005 delete arg3;
21006 }
21007 return resultobj;
21008 fail:
21009 {
21010 if (temp3)
21011 delete arg3;
21012 }
21013 return NULL;
21014 }
21015
21016
21017 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21020 wxTreeItemId *arg2 = 0 ;
21021 int arg3 ;
21022 int arg4 = (int) wxTreeItemIcon_Normal ;
21023 PyObject * obj0 = 0 ;
21024 PyObject * obj1 = 0 ;
21025 char *kwnames[] = {
21026 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21032 if (arg2 == NULL) {
21033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21052 wxTreeItemId *arg2 = 0 ;
21053 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 PyObject * obj2 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self",(char *) "item",(char *) "data", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 if (arg2 == NULL) {
21065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21066 }
21067 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21085 wxTreeItemId *arg2 = 0 ;
21086 PyObject *arg3 = (PyObject *) 0 ;
21087 PyObject * obj0 = 0 ;
21088 PyObject * obj1 = 0 ;
21089 PyObject * obj2 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "item",(char *) "obj", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21097 if (arg2 == NULL) {
21098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21099 }
21100 arg3 = obj2;
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21104
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 Py_INCREF(Py_None); resultobj = Py_None;
21109 return resultobj;
21110 fail:
21111 return NULL;
21112 }
21113
21114
21115 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21116 PyObject *resultobj;
21117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21118 wxTreeItemId *arg2 = 0 ;
21119 bool arg3 = (bool) True ;
21120 PyObject * obj0 = 0 ;
21121 PyObject * obj1 = 0 ;
21122 PyObject * obj2 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self",(char *) "item",(char *) "has", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21130 if (arg2 == NULL) {
21131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21132 }
21133 if (obj2) {
21134 arg3 = PyInt_AsLong(obj2) ? true : false;
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 Py_INCREF(Py_None); resultobj = Py_None;
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21154 wxTreeItemId *arg2 = 0 ;
21155 bool arg3 = (bool) True ;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 PyObject * obj2 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "item",(char *) "bold", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21166 if (arg2 == NULL) {
21167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21168 }
21169 if (obj2) {
21170 arg3 = PyInt_AsLong(obj2) ? true : false;
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 Py_INCREF(Py_None); resultobj = Py_None;
21181 return resultobj;
21182 fail:
21183 return NULL;
21184 }
21185
21186
21187 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21188 PyObject *resultobj;
21189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21190 wxTreeItemId *arg2 = 0 ;
21191 wxColour *arg3 = 0 ;
21192 wxColour temp3 ;
21193 PyObject * obj0 = 0 ;
21194 PyObject * obj1 = 0 ;
21195 PyObject * obj2 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "item",(char *) "col", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 if (arg2 == NULL) {
21204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21205 }
21206 {
21207 arg3 = &temp3;
21208 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21209 }
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21227 wxTreeItemId *arg2 = 0 ;
21228 wxColour *arg3 = 0 ;
21229 wxColour temp3 ;
21230 PyObject * obj0 = 0 ;
21231 PyObject * obj1 = 0 ;
21232 PyObject * obj2 = 0 ;
21233 char *kwnames[] = {
21234 (char *) "self",(char *) "item",(char *) "col", NULL
21235 };
21236
21237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21240 if (arg2 == NULL) {
21241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21242 }
21243 {
21244 arg3 = &temp3;
21245 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 Py_INCREF(Py_None); resultobj = Py_None;
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21264 wxTreeItemId *arg2 = 0 ;
21265 wxFont *arg3 = 0 ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 PyObject * obj2 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "item",(char *) "font", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21276 if (arg2 == NULL) {
21277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21278 }
21279 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21280 if (arg3 == NULL) {
21281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21282 }
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 Py_INCREF(Py_None); resultobj = Py_None;
21291 return resultobj;
21292 fail:
21293 return NULL;
21294 }
21295
21296
21297 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21298 PyObject *resultobj;
21299 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21300 wxTreeItemId *arg2 = 0 ;
21301 bool result;
21302 PyObject * obj0 = 0 ;
21303 PyObject * obj1 = 0 ;
21304 char *kwnames[] = {
21305 (char *) "self",(char *) "item", NULL
21306 };
21307
21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21311 if (arg2 == NULL) {
21312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21313 }
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 resultobj = PyInt_FromLong((long)result);
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21331 wxTreeItemId *arg2 = 0 ;
21332 bool result;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "item", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21342 if (arg2 == NULL) {
21343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21344 }
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 resultobj = PyInt_FromLong((long)result);
21353 return resultobj;
21354 fail:
21355 return NULL;
21356 }
21357
21358
21359 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj;
21361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21362 wxTreeItemId *arg2 = 0 ;
21363 bool result;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "item", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21373 if (arg2 == NULL) {
21374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21375 }
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21379
21380 wxPyEndAllowThreads(__tstate);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 resultobj = PyInt_FromLong((long)result);
21384 return resultobj;
21385 fail:
21386 return NULL;
21387 }
21388
21389
21390 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21393 wxTreeItemId *arg2 = 0 ;
21394 bool result;
21395 PyObject * obj0 = 0 ;
21396 PyObject * obj1 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self",(char *) "item", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21404 if (arg2 == NULL) {
21405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21406 }
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 resultobj = PyInt_FromLong((long)result);
21415 return resultobj;
21416 fail:
21417 return NULL;
21418 }
21419
21420
21421 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21422 PyObject *resultobj;
21423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21424 wxTreeItemId *arg2 = 0 ;
21425 bool result;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self",(char *) "item", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21435 if (arg2 == NULL) {
21436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21437 }
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 resultobj = PyInt_FromLong((long)result);
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21455 wxTreeItemId *arg2 = 0 ;
21456 bool arg3 = (bool) True ;
21457 size_t result;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 PyObject * obj2 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "item",(char *) "recursively", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21468 if (arg2 == NULL) {
21469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21470 }
21471 if (obj2) {
21472 arg3 = PyInt_AsLong(obj2) ? true : false;
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 resultobj = PyInt_FromLong((long)result);
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21492 wxTreeItemId result;
21493 PyObject * obj0 = 0 ;
21494 char *kwnames[] = {
21495 (char *) "self", NULL
21496 };
21497
21498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 {
21508 wxTreeItemId * resultptr;
21509 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21510 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21511 }
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21521 wxTreeItemId result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21532
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 {
21537 wxTreeItemId * resultptr;
21538 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21539 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21540 }
21541 return resultobj;
21542 fail:
21543 return NULL;
21544 }
21545
21546
21547 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj;
21549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21550 PyObject *result;
21551 PyObject * obj0 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = result;
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21575 wxTreeItemId *arg2 = 0 ;
21576 wxTreeItemId result;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "item", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21586 if (arg2 == NULL) {
21587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21588 }
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 {
21597 wxTreeItemId * resultptr;
21598 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21599 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21600 }
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21610 wxTreeItemId *arg2 = 0 ;
21611 PyObject *result;
21612 PyObject * obj0 = 0 ;
21613 PyObject * obj1 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self",(char *) "item", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21621 if (arg2 == NULL) {
21622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 resultobj = result;
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21641 wxTreeItemId *arg2 = 0 ;
21642 wxTreeItemIdValue *arg3 = 0 ;
21643 PyObject *result;
21644 PyObject * obj0 = 0 ;
21645 PyObject * obj1 = 0 ;
21646 PyObject * obj2 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self",(char *) "item",(char *) "cookie", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21654 if (arg2 == NULL) {
21655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21656 }
21657 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21658 if (arg3 == NULL) {
21659 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21660 }
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = result;
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21678 wxTreeItemId *arg2 = 0 ;
21679 wxTreeItemId result;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 char *kwnames[] = {
21683 (char *) "self",(char *) "item", NULL
21684 };
21685
21686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21689 if (arg2 == NULL) {
21690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 {
21700 wxTreeItemId * resultptr;
21701 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21703 }
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21713 wxTreeItemId *arg2 = 0 ;
21714 wxTreeItemId result;
21715 PyObject * obj0 = 0 ;
21716 PyObject * obj1 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self",(char *) "item", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21724 if (arg2 == NULL) {
21725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21726 }
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 {
21735 wxTreeItemId * resultptr;
21736 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21738 }
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj;
21747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21748 wxTreeItemId *arg2 = 0 ;
21749 wxTreeItemId result;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "item", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21759 if (arg2 == NULL) {
21760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 {
21770 wxTreeItemId * resultptr;
21771 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21772 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21773 }
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21783 wxTreeItemId result;
21784 PyObject * obj0 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 wxTreeItemId * resultptr;
21800 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21801 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21802 }
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21812 wxTreeItemId *arg2 = 0 ;
21813 wxTreeItemId result;
21814 PyObject * obj0 = 0 ;
21815 PyObject * obj1 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self",(char *) "item", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21823 if (arg2 == NULL) {
21824 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21825 }
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834 wxTreeItemId * resultptr;
21835 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21836 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21837 }
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21847 wxTreeItemId *arg2 = 0 ;
21848 wxTreeItemId result;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "item", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
21856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21858 if (arg2 == NULL) {
21859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 {
21869 wxTreeItemId * resultptr;
21870 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21872 }
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21882 wxString *arg2 = 0 ;
21883 int arg3 = (int) -1 ;
21884 int arg4 = (int) -1 ;
21885 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
21886 wxTreeItemId result;
21887 bool temp2 = False ;
21888 PyObject * obj0 = 0 ;
21889 PyObject * obj1 = 0 ;
21890 PyObject * obj4 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
21896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21897 {
21898 arg2 = wxString_in_helper(obj1);
21899 if (arg2 == NULL) SWIG_fail;
21900 temp2 = True;
21901 }
21902 if (obj4) {
21903 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21904 }
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 {
21913 wxTreeItemId * resultptr;
21914 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21916 }
21917 {
21918 if (temp2)
21919 delete arg2;
21920 }
21921 return resultobj;
21922 fail:
21923 {
21924 if (temp2)
21925 delete arg2;
21926 }
21927 return NULL;
21928 }
21929
21930
21931 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21932 PyObject *resultobj;
21933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21934 wxTreeItemId *arg2 = 0 ;
21935 wxString *arg3 = 0 ;
21936 int arg4 = (int) -1 ;
21937 int arg5 = (int) -1 ;
21938 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
21939 wxTreeItemId result;
21940 bool temp3 = False ;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 PyObject * obj2 = 0 ;
21944 PyObject * obj5 = 0 ;
21945 char *kwnames[] = {
21946 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21947 };
21948
21949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
21950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21952 if (arg2 == NULL) {
21953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21954 }
21955 {
21956 arg3 = wxString_in_helper(obj2);
21957 if (arg3 == NULL) SWIG_fail;
21958 temp3 = True;
21959 }
21960 if (obj5) {
21961 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21962 }
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 {
21971 wxTreeItemId * resultptr;
21972 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21974 }
21975 {
21976 if (temp3)
21977 delete arg3;
21978 }
21979 return resultobj;
21980 fail:
21981 {
21982 if (temp3)
21983 delete arg3;
21984 }
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21992 wxTreeItemId *arg2 = 0 ;
21993 wxTreeItemId *arg3 = 0 ;
21994 wxString *arg4 = 0 ;
21995 int arg5 = (int) -1 ;
21996 int arg6 = (int) -1 ;
21997 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
21998 wxTreeItemId result;
21999 bool temp4 = False ;
22000 PyObject * obj0 = 0 ;
22001 PyObject * obj1 = 0 ;
22002 PyObject * obj2 = 0 ;
22003 PyObject * obj3 = 0 ;
22004 PyObject * obj6 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22012 if (arg2 == NULL) {
22013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22014 }
22015 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22016 if (arg3 == NULL) {
22017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22018 }
22019 {
22020 arg4 = wxString_in_helper(obj3);
22021 if (arg4 == NULL) SWIG_fail;
22022 temp4 = True;
22023 }
22024 if (obj6) {
22025 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 }
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 {
22035 wxTreeItemId * resultptr;
22036 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22037 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22038 }
22039 {
22040 if (temp4)
22041 delete arg4;
22042 }
22043 return resultobj;
22044 fail:
22045 {
22046 if (temp4)
22047 delete arg4;
22048 }
22049 return NULL;
22050 }
22051
22052
22053 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22056 wxTreeItemId *arg2 = 0 ;
22057 size_t arg3 ;
22058 wxString *arg4 = 0 ;
22059 int arg5 = (int) -1 ;
22060 int arg6 = (int) -1 ;
22061 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22062 wxTreeItemId result;
22063 bool temp4 = False ;
22064 PyObject * obj0 = 0 ;
22065 PyObject * obj1 = 0 ;
22066 PyObject * obj2 = 0 ;
22067 PyObject * obj3 = 0 ;
22068 PyObject * obj6 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22076 if (arg2 == NULL) {
22077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22078 }
22079 arg3 = (size_t) PyInt_AsLong(obj2);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 {
22082 arg4 = wxString_in_helper(obj3);
22083 if (arg4 == NULL) SWIG_fail;
22084 temp4 = True;
22085 }
22086 if (obj6) {
22087 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22088 }
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 {
22097 wxTreeItemId * resultptr;
22098 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22100 }
22101 {
22102 if (temp4)
22103 delete arg4;
22104 }
22105 return resultobj;
22106 fail:
22107 {
22108 if (temp4)
22109 delete arg4;
22110 }
22111 return NULL;
22112 }
22113
22114
22115 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22118 wxTreeItemId *arg2 = 0 ;
22119 wxString *arg3 = 0 ;
22120 int arg4 = (int) -1 ;
22121 int arg5 = (int) -1 ;
22122 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22123 wxTreeItemId result;
22124 bool temp3 = False ;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 PyObject * obj2 = 0 ;
22128 PyObject * obj5 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 if (arg2 == NULL) {
22137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22138 }
22139 {
22140 arg3 = wxString_in_helper(obj2);
22141 if (arg3 == NULL) SWIG_fail;
22142 temp3 = True;
22143 }
22144 if (obj5) {
22145 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22146 }
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 wxTreeItemId * resultptr;
22156 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22158 }
22159 {
22160 if (temp3)
22161 delete arg3;
22162 }
22163 return resultobj;
22164 fail:
22165 {
22166 if (temp3)
22167 delete arg3;
22168 }
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22176 wxTreeItemId *arg2 = 0 ;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "item", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22186 if (arg2 == NULL) {
22187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22188 }
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 (arg1)->Delete((wxTreeItemId const &)*arg2);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 Py_INCREF(Py_None); resultobj = Py_None;
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22206 wxTreeItemId *arg2 = 0 ;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self",(char *) "item", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22216 if (arg2 == NULL) {
22217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 Py_INCREF(Py_None); resultobj = Py_None;
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->DeleteAllItems();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22260 wxTreeItemId *arg2 = 0 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "item", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 if (arg2 == NULL) {
22271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22272 }
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 (arg1)->Expand((wxTreeItemId const &)*arg2);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 Py_INCREF(Py_None); resultobj = Py_None;
22281 return resultobj;
22282 fail:
22283 return NULL;
22284 }
22285
22286
22287 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22288 PyObject *resultobj;
22289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22290 wxTreeItemId *arg2 = 0 ;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "item", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22300 if (arg2 == NULL) {
22301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22302 }
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 Py_INCREF(Py_None); resultobj = Py_None;
22311 return resultobj;
22312 fail:
22313 return NULL;
22314 }
22315
22316
22317 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj;
22319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22320 wxTreeItemId *arg2 = 0 ;
22321 PyObject * obj0 = 0 ;
22322 PyObject * obj1 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self",(char *) "item", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22330 if (arg2 == NULL) {
22331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22332 }
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 Py_INCREF(Py_None); resultobj = Py_None;
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22350 wxTreeItemId *arg2 = 0 ;
22351 PyObject * obj0 = 0 ;
22352 PyObject * obj1 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self",(char *) "item", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22360 if (arg2 == NULL) {
22361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22362 }
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 Py_INCREF(Py_None); resultobj = Py_None;
22371 return resultobj;
22372 fail:
22373 return NULL;
22374 }
22375
22376
22377 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22378 PyObject *resultobj;
22379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22380 PyObject * obj0 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 (arg1)->Unselect();
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 Py_INCREF(Py_None); resultobj = Py_None;
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->UnselectAll();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 Py_INCREF(Py_None); resultobj = Py_None;
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22428 wxTreeItemId *arg2 = 0 ;
22429 PyObject * obj0 = 0 ;
22430 PyObject * obj1 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self",(char *) "item", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22438 if (arg2 == NULL) {
22439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22440 }
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 Py_INCREF(Py_None); resultobj = Py_None;
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22458 wxTreeItemId *arg2 = 0 ;
22459 PyObject * obj0 = 0 ;
22460 PyObject * obj1 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self",(char *) "item", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22468 if (arg2 == NULL) {
22469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22470 }
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 Py_INCREF(Py_None); resultobj = Py_None;
22479 return resultobj;
22480 fail:
22481 return NULL;
22482 }
22483
22484
22485 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22488 wxTreeItemId *arg2 = 0 ;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "item", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 if (arg2 == NULL) {
22499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22500 }
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 Py_INCREF(Py_None); resultobj = Py_None;
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22518 wxTreeItemId *arg2 = 0 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "item", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 if (arg2 == NULL) {
22529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 Py_INCREF(Py_None); resultobj = Py_None;
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22548 wxTextCtrl *result;
22549 PyObject * obj0 = 0 ;
22550 char *kwnames[] = {
22551 (char *) "self", NULL
22552 };
22553
22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 {
22564 resultobj = wxPyMake_wxObject(result);
22565 }
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22575 wxTreeItemId *arg2 = 0 ;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "item", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 if (arg2 == NULL) {
22586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22587 }
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 Py_INCREF(Py_None); resultobj = Py_None;
22596 return resultobj;
22597 fail:
22598 return NULL;
22599 }
22600
22601
22602 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22605 wxPoint *arg2 = 0 ;
22606 int *arg3 = 0 ;
22607 wxTreeItemId result;
22608 wxPoint temp2 ;
22609 int temp3 ;
22610 PyObject * obj0 = 0 ;
22611 PyObject * obj1 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self",(char *) "point", NULL
22614 };
22615
22616 arg3 = &temp3;
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 {
22620 arg2 = &temp2;
22621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22622 }
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 {
22631 wxTreeItemId * resultptr;
22632 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22634 }
22635 {
22636 PyObject *o = PyInt_FromLong((long) (*arg3));
22637 resultobj = t_output_helper(resultobj,o);
22638 }
22639 return resultobj;
22640 fail:
22641 return NULL;
22642 }
22643
22644
22645 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22646 PyObject *resultobj;
22647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22648 wxTreeItemId *arg2 = 0 ;
22649 bool arg3 = (bool) False ;
22650 PyObject *result;
22651 PyObject * obj0 = 0 ;
22652 PyObject * obj1 = 0 ;
22653 PyObject * obj2 = 0 ;
22654 char *kwnames[] = {
22655 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22656 };
22657
22658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22661 if (arg2 == NULL) {
22662 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22663 }
22664 if (obj2) {
22665 arg3 = PyInt_AsLong(obj2) ? true : false;
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 resultobj = result;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679 }
22680
22681
22682 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22683 PyObject *obj;
22684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22685 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22686 Py_INCREF(obj);
22687 return Py_BuildValue((char *)"");
22688 }
22689 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxWindow *arg1 = (wxWindow *) 0 ;
22692 int arg2 = (int) (int)-1 ;
22693 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22694 wxString *arg3 = (wxString *) &arg3_defvalue ;
22695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22697 wxSize const &arg5_defvalue = wxDefaultSize ;
22698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22699 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22700 wxString const &arg7_defvalue = wxPyEmptyString ;
22701 wxString *arg7 = (wxString *) &arg7_defvalue ;
22702 int arg8 = (int) 0 ;
22703 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22704 wxString *arg9 = (wxString *) &arg9_defvalue ;
22705 wxGenericDirCtrl *result;
22706 bool temp3 = False ;
22707 wxPoint temp4 ;
22708 wxSize temp5 ;
22709 bool temp7 = False ;
22710 bool temp9 = False ;
22711 PyObject * obj0 = 0 ;
22712 PyObject * obj2 = 0 ;
22713 PyObject * obj3 = 0 ;
22714 PyObject * obj4 = 0 ;
22715 PyObject * obj6 = 0 ;
22716 PyObject * obj8 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 if (obj2) {
22724 {
22725 arg3 = wxString_in_helper(obj2);
22726 if (arg3 == NULL) SWIG_fail;
22727 temp3 = True;
22728 }
22729 }
22730 if (obj3) {
22731 {
22732 arg4 = &temp4;
22733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22734 }
22735 }
22736 if (obj4) {
22737 {
22738 arg5 = &temp5;
22739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22740 }
22741 }
22742 if (obj6) {
22743 {
22744 arg7 = wxString_in_helper(obj6);
22745 if (arg7 == NULL) SWIG_fail;
22746 temp7 = True;
22747 }
22748 }
22749 if (obj8) {
22750 {
22751 arg9 = wxString_in_helper(obj8);
22752 if (arg9 == NULL) SWIG_fail;
22753 temp9 = True;
22754 }
22755 }
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22764 {
22765 if (temp3)
22766 delete arg3;
22767 }
22768 {
22769 if (temp7)
22770 delete arg7;
22771 }
22772 {
22773 if (temp9)
22774 delete arg9;
22775 }
22776 return resultobj;
22777 fail:
22778 {
22779 if (temp3)
22780 delete arg3;
22781 }
22782 {
22783 if (temp7)
22784 delete arg7;
22785 }
22786 {
22787 if (temp9)
22788 delete arg9;
22789 }
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxGenericDirCtrl *result;
22797 char *kwnames[] = {
22798 NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj;
22818 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22819 wxWindow *arg2 = (wxWindow *) 0 ;
22820 int arg3 = (int) (int)-1 ;
22821 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22822 wxString *arg4 = (wxString *) &arg4_defvalue ;
22823 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22824 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22825 wxSize const &arg6_defvalue = wxDefaultSize ;
22826 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22827 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22828 wxString const &arg8_defvalue = wxPyEmptyString ;
22829 wxString *arg8 = (wxString *) &arg8_defvalue ;
22830 int arg9 = (int) 0 ;
22831 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
22832 wxString *arg10 = (wxString *) &arg10_defvalue ;
22833 bool result;
22834 bool temp4 = False ;
22835 wxPoint temp5 ;
22836 wxSize temp6 ;
22837 bool temp8 = False ;
22838 bool temp10 = False ;
22839 PyObject * obj0 = 0 ;
22840 PyObject * obj1 = 0 ;
22841 PyObject * obj3 = 0 ;
22842 PyObject * obj4 = 0 ;
22843 PyObject * obj5 = 0 ;
22844 PyObject * obj7 = 0 ;
22845 PyObject * obj9 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22852 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22853 if (obj3) {
22854 {
22855 arg4 = wxString_in_helper(obj3);
22856 if (arg4 == NULL) SWIG_fail;
22857 temp4 = True;
22858 }
22859 }
22860 if (obj4) {
22861 {
22862 arg5 = &temp5;
22863 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22864 }
22865 }
22866 if (obj5) {
22867 {
22868 arg6 = &temp6;
22869 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22870 }
22871 }
22872 if (obj7) {
22873 {
22874 arg8 = wxString_in_helper(obj7);
22875 if (arg8 == NULL) SWIG_fail;
22876 temp8 = True;
22877 }
22878 }
22879 if (obj9) {
22880 {
22881 arg10 = wxString_in_helper(obj9);
22882 if (arg10 == NULL) SWIG_fail;
22883 temp10 = True;
22884 }
22885 }
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 resultobj = PyInt_FromLong((long)result);
22894 {
22895 if (temp4)
22896 delete arg4;
22897 }
22898 {
22899 if (temp8)
22900 delete arg8;
22901 }
22902 {
22903 if (temp10)
22904 delete arg10;
22905 }
22906 return resultobj;
22907 fail:
22908 {
22909 if (temp4)
22910 delete arg4;
22911 }
22912 {
22913 if (temp8)
22914 delete arg8;
22915 }
22916 {
22917 if (temp10)
22918 delete arg10;
22919 }
22920 return NULL;
22921 }
22922
22923
22924 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj;
22926 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22927 wxString *arg2 = 0 ;
22928 bool result;
22929 bool temp2 = False ;
22930 PyObject * obj0 = 0 ;
22931 PyObject * obj1 = 0 ;
22932 char *kwnames[] = {
22933 (char *) "self",(char *) "path", NULL
22934 };
22935
22936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
22937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22938 {
22939 arg2 = wxString_in_helper(obj1);
22940 if (arg2 == NULL) SWIG_fail;
22941 temp2 = True;
22942 }
22943 {
22944 PyThreadState* __tstate = wxPyBeginAllowThreads();
22945 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
22946
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 resultobj = PyInt_FromLong((long)result);
22951 {
22952 if (temp2)
22953 delete arg2;
22954 }
22955 return resultobj;
22956 fail:
22957 {
22958 if (temp2)
22959 delete arg2;
22960 }
22961 return NULL;
22962 }
22963
22964
22965 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22968 wxString result;
22969 PyObject * obj0 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
22979
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 {
22984 #if wxUSE_UNICODE
22985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22986 #else
22987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22988 #endif
22989 }
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22997 PyObject *resultobj;
22998 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22999 wxString *arg2 = 0 ;
23000 bool temp2 = False ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "path", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23009 {
23010 arg2 = wxString_in_helper(obj1);
23011 if (arg2 == NULL) SWIG_fail;
23012 temp2 = True;
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 (arg1)->SetDefaultPath((wxString const &)*arg2);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 Py_INCREF(Py_None); resultobj = Py_None;
23022 {
23023 if (temp2)
23024 delete arg2;
23025 }
23026 return resultobj;
23027 fail:
23028 {
23029 if (temp2)
23030 delete arg2;
23031 }
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23039 wxString result;
23040 PyObject * obj0 = 0 ;
23041 char *kwnames[] = {
23042 (char *) "self", NULL
23043 };
23044
23045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 {
23055 #if wxUSE_UNICODE
23056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23057 #else
23058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23059 #endif
23060 }
23061 return resultobj;
23062 fail:
23063 return NULL;
23064 }
23065
23066
23067 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj;
23069 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23070 wxString result;
23071 PyObject * obj0 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 {
23086 #if wxUSE_UNICODE
23087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23088 #else
23089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23090 #endif
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23101 wxString *arg2 = 0 ;
23102 bool temp2 = False ;
23103 PyObject * obj0 = 0 ;
23104 PyObject * obj1 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self",(char *) "path", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23111 {
23112 arg2 = wxString_in_helper(obj1);
23113 if (arg2 == NULL) SWIG_fail;
23114 temp2 = True;
23115 }
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 (arg1)->SetPath((wxString const &)*arg2);
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 Py_INCREF(Py_None); resultobj = Py_None;
23124 {
23125 if (temp2)
23126 delete arg2;
23127 }
23128 return resultobj;
23129 fail:
23130 {
23131 if (temp2)
23132 delete arg2;
23133 }
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23141 bool arg2 ;
23142 PyObject * obj0 = 0 ;
23143 PyObject * obj1 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self",(char *) "show", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23150 arg2 = PyInt_AsLong(obj1) ? true : false;
23151 if (PyErr_Occurred()) SWIG_fail;
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 (arg1)->ShowHidden(arg2);
23155
23156 wxPyEndAllowThreads(__tstate);
23157 if (PyErr_Occurred()) SWIG_fail;
23158 }
23159 Py_INCREF(Py_None); resultobj = Py_None;
23160 return resultobj;
23161 fail:
23162 return NULL;
23163 }
23164
23165
23166 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23169 bool result;
23170 PyObject * obj0 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (bool)(arg1)->GetShowHidden();
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 resultobj = PyInt_FromLong((long)result);
23185 return resultobj;
23186 fail:
23187 return NULL;
23188 }
23189
23190
23191 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23194 wxString result;
23195 PyObject * obj0 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 {
23210 #if wxUSE_UNICODE
23211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23212 #else
23213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23214 #endif
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23225 wxString *arg2 = 0 ;
23226 bool temp2 = False ;
23227 PyObject * obj0 = 0 ;
23228 PyObject * obj1 = 0 ;
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "filter", NULL
23231 };
23232
23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23235 {
23236 arg2 = wxString_in_helper(obj1);
23237 if (arg2 == NULL) SWIG_fail;
23238 temp2 = True;
23239 }
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->SetFilter((wxString const &)*arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 {
23249 if (temp2)
23250 delete arg2;
23251 }
23252 return resultobj;
23253 fail:
23254 {
23255 if (temp2)
23256 delete arg2;
23257 }
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23265 int result;
23266 PyObject * obj0 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23276
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 resultobj = PyInt_FromLong((long)result);
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj;
23289 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23290 int arg2 ;
23291 PyObject * obj0 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self",(char *) "n", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 (arg1)->SetFilterIndex(arg2);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 Py_INCREF(Py_None); resultobj = Py_None;
23306 return resultobj;
23307 fail:
23308 return NULL;
23309 }
23310
23311
23312 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23313 PyObject *resultobj;
23314 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23315 wxTreeItemId result;
23316 PyObject * obj0 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (arg1)->GetRootId();
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 {
23331 wxTreeItemId * resultptr;
23332 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23334 }
23335 return resultobj;
23336 fail:
23337 return NULL;
23338 }
23339
23340
23341 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23342 PyObject *resultobj;
23343 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23344 wxTreeCtrl *result;
23345 PyObject * obj0 = 0 ;
23346 char *kwnames[] = {
23347 (char *) "self", NULL
23348 };
23349
23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23355
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 {
23360 resultobj = wxPyMake_wxObject(result);
23361 }
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23371 wxDirFilterListCtrl *result;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23396 wxTreeItemId arg2 ;
23397 wxString *arg3 = 0 ;
23398 bool *arg4 = 0 ;
23399 wxTreeItemId result;
23400 wxTreeItemId *argp2 ;
23401 bool temp3 = False ;
23402 bool temp4 ;
23403 PyObject * obj0 = 0 ;
23404 PyObject * obj1 = 0 ;
23405 PyObject * obj2 = 0 ;
23406 char *kwnames[] = {
23407 (char *) "self",(char *) "parentId",(char *) "path", NULL
23408 };
23409
23410 arg4 = &temp4;
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23413 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23414 arg2 = *argp2;
23415 {
23416 arg3 = wxString_in_helper(obj2);
23417 if (arg3 == NULL) SWIG_fail;
23418 temp3 = True;
23419 }
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 {
23428 wxTreeItemId * resultptr;
23429 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23430 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23431 }
23432 {
23433 PyObject *o = PyInt_FromLong((long) (*arg4));
23434 resultobj = t_output_helper(resultobj,o);
23435 }
23436 {
23437 if (temp3)
23438 delete arg3;
23439 }
23440 return resultobj;
23441 fail:
23442 {
23443 if (temp3)
23444 delete arg3;
23445 }
23446 return NULL;
23447 }
23448
23449
23450 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23451 PyObject *resultobj;
23452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23453 PyObject * obj0 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 (arg1)->DoResize();
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 Py_INCREF(Py_None); resultobj = Py_None;
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23477 PyObject * obj0 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 (arg1)->ReCreateTree();
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 Py_INCREF(Py_None); resultobj = Py_None;
23492 return resultobj;
23493 fail:
23494 return NULL;
23495 }
23496
23497
23498 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23499 PyObject *obj;
23500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23501 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23502 Py_INCREF(obj);
23503 return Py_BuildValue((char *)"");
23504 }
23505 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23508 int arg2 = (int) (int)-1 ;
23509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23511 wxSize const &arg4_defvalue = wxDefaultSize ;
23512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23513 long arg5 = (long) 0 ;
23514 wxDirFilterListCtrl *result;
23515 wxPoint temp3 ;
23516 wxSize temp4 ;
23517 PyObject * obj0 = 0 ;
23518 PyObject * obj2 = 0 ;
23519 PyObject * obj3 = 0 ;
23520 char *kwnames[] = {
23521 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23522 };
23523
23524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23526 if (obj2) {
23527 {
23528 arg3 = &temp3;
23529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23530 }
23531 }
23532 if (obj3) {
23533 {
23534 arg4 = &temp4;
23535 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23536 }
23537 }
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23546 return resultobj;
23547 fail:
23548 return NULL;
23549 }
23550
23551
23552 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj;
23554 wxDirFilterListCtrl *result;
23555 char *kwnames[] = {
23556 NULL
23557 };
23558
23559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23577 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23578 int arg3 = (int) (int)-1 ;
23579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23581 wxSize const &arg5_defvalue = wxDefaultSize ;
23582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23583 long arg6 = (long) 0 ;
23584 bool result;
23585 wxPoint temp4 ;
23586 wxSize temp5 ;
23587 PyObject * obj0 = 0 ;
23588 PyObject * obj1 = 0 ;
23589 PyObject * obj3 = 0 ;
23590 PyObject * obj4 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23598 if (obj3) {
23599 {
23600 arg4 = &temp4;
23601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23602 }
23603 }
23604 if (obj4) {
23605 {
23606 arg5 = &temp5;
23607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23608 }
23609 }
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 resultobj = PyInt_FromLong((long)result);
23618 return resultobj;
23619 fail:
23620 return NULL;
23621 }
23622
23623
23624 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23627 wxString *arg2 = 0 ;
23628 int arg3 ;
23629 bool temp2 = False ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23638 {
23639 arg2 = wxString_in_helper(obj1);
23640 if (arg2 == NULL) SWIG_fail;
23641 temp2 = True;
23642 }
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 Py_INCREF(Py_None); resultobj = Py_None;
23651 {
23652 if (temp2)
23653 delete arg2;
23654 }
23655 return resultobj;
23656 fail:
23657 {
23658 if (temp2)
23659 delete arg2;
23660 }
23661 return NULL;
23662 }
23663
23664
23665 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23666 PyObject *obj;
23667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23668 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23669 Py_INCREF(obj);
23670 return Py_BuildValue((char *)"");
23671 }
23672 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj;
23674 wxWindow *arg1 = (wxWindow *) 0 ;
23675 int arg2 ;
23676 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23677 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23678 wxSize const &arg4_defvalue = wxDefaultSize ;
23679 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23680 long arg5 = (long) 0 ;
23681 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23682 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23683 wxString const &arg7_defvalue = wxPyControlNameStr ;
23684 wxString *arg7 = (wxString *) &arg7_defvalue ;
23685 wxPyControl *result;
23686 wxPoint temp3 ;
23687 wxSize temp4 ;
23688 bool temp7 = False ;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj2 = 0 ;
23691 PyObject * obj3 = 0 ;
23692 PyObject * obj5 = 0 ;
23693 PyObject * obj6 = 0 ;
23694 char *kwnames[] = {
23695 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23696 };
23697
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23700 if (obj2) {
23701 {
23702 arg3 = &temp3;
23703 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23704 }
23705 }
23706 if (obj3) {
23707 {
23708 arg4 = &temp4;
23709 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23710 }
23711 }
23712 if (obj5) {
23713 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23714 if (arg6 == NULL) {
23715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23716 }
23717 }
23718 if (obj6) {
23719 {
23720 arg7 = wxString_in_helper(obj6);
23721 if (arg7 == NULL) SWIG_fail;
23722 temp7 = True;
23723 }
23724 }
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23733 {
23734 if (temp7)
23735 delete arg7;
23736 }
23737 return resultobj;
23738 fail:
23739 {
23740 if (temp7)
23741 delete arg7;
23742 }
23743 return NULL;
23744 }
23745
23746
23747 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxPyControl *arg1 = (wxPyControl *) 0 ;
23750 PyObject *arg2 = (PyObject *) 0 ;
23751 PyObject *arg3 = (PyObject *) 0 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 PyObject * obj2 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self",(char *) "self",(char *) "_class", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 arg2 = obj1;
23762 arg3 = obj2;
23763 {
23764 PyThreadState* __tstate = wxPyBeginAllowThreads();
23765 (arg1)->_setCallbackInfo(arg2,arg3);
23766
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 Py_INCREF(Py_None); resultobj = Py_None;
23771 return resultobj;
23772 fail:
23773 return NULL;
23774 }
23775
23776
23777 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxPyControl *arg1 = (wxPyControl *) 0 ;
23780 int arg2 ;
23781 int arg3 ;
23782 int arg4 ;
23783 int arg5 ;
23784 PyObject * obj0 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 Py_INCREF(Py_None); resultobj = Py_None;
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxPyControl *arg1 = (wxPyControl *) 0 ;
23808 int arg2 ;
23809 int arg3 ;
23810 int arg4 ;
23811 int arg5 ;
23812 int arg6 = (int) wxSIZE_AUTO ;
23813 PyObject * obj0 = 0 ;
23814 char *kwnames[] = {
23815 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23816 };
23817
23818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 Py_INCREF(Py_None); resultobj = Py_None;
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxPyControl *arg1 = (wxPyControl *) 0 ;
23837 int arg2 ;
23838 int arg3 ;
23839 PyObject * obj0 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "width",(char *) "height", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23846 {
23847 PyThreadState* __tstate = wxPyBeginAllowThreads();
23848 (arg1)->base_DoSetClientSize(arg2,arg3);
23849
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 Py_INCREF(Py_None); resultobj = Py_None;
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj;
23862 wxPyControl *arg1 = (wxPyControl *) 0 ;
23863 int arg2 ;
23864 int arg3 ;
23865 PyObject * obj0 = 0 ;
23866 char *kwnames[] = {
23867 (char *) "self",(char *) "x",(char *) "y", NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 (arg1)->base_DoSetVirtualSize(arg2,arg3);
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 Py_INCREF(Py_None); resultobj = Py_None;
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxPyControl *arg1 = (wxPyControl *) 0 ;
23889 int *arg2 = (int *) 0 ;
23890 int *arg3 = (int *) 0 ;
23891 int temp2 ;
23892 int temp3 ;
23893 PyObject * obj0 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self", NULL
23896 };
23897
23898 arg2 = &temp2;
23899 arg3 = &temp3;
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
23901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 Py_INCREF(Py_None); resultobj = Py_None;
23910 {
23911 PyObject *o = PyInt_FromLong((long) (*arg2));
23912 resultobj = t_output_helper(resultobj,o);
23913 }
23914 {
23915 PyObject *o = PyInt_FromLong((long) (*arg3));
23916 resultobj = t_output_helper(resultobj,o);
23917 }
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxPyControl *arg1 = (wxPyControl *) 0 ;
23927 int *arg2 = (int *) 0 ;
23928 int *arg3 = (int *) 0 ;
23929 int temp2 ;
23930 int temp3 ;
23931 PyObject * obj0 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self", NULL
23934 };
23935
23936 arg2 = &temp2;
23937 arg3 = &temp3;
23938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
23939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 Py_INCREF(Py_None); resultobj = Py_None;
23948 {
23949 PyObject *o = PyInt_FromLong((long) (*arg2));
23950 resultobj = t_output_helper(resultobj,o);
23951 }
23952 {
23953 PyObject *o = PyInt_FromLong((long) (*arg3));
23954 resultobj = t_output_helper(resultobj,o);
23955 }
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPyControl *arg1 = (wxPyControl *) 0 ;
23965 int *arg2 = (int *) 0 ;
23966 int *arg3 = (int *) 0 ;
23967 int temp2 ;
23968 int temp3 ;
23969 PyObject * obj0 = 0 ;
23970 char *kwnames[] = {
23971 (char *) "self", NULL
23972 };
23973
23974 arg2 = &temp2;
23975 arg3 = &temp3;
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 {
23987 PyObject *o = PyInt_FromLong((long) (*arg2));
23988 resultobj = t_output_helper(resultobj,o);
23989 }
23990 {
23991 PyObject *o = PyInt_FromLong((long) (*arg3));
23992 resultobj = t_output_helper(resultobj,o);
23993 }
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxPyControl *arg1 = (wxPyControl *) 0 ;
24003 wxSize result;
24004 PyObject * obj0 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 {
24019 wxSize * resultptr;
24020 resultptr = new wxSize((wxSize &) result);
24021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24022 }
24023 return resultobj;
24024 fail:
24025 return NULL;
24026 }
24027
24028
24029 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPyControl *arg1 = (wxPyControl *) 0 ;
24032 wxSize result;
24033 PyObject * obj0 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 {
24048 wxSize * resultptr;
24049 resultptr = new wxSize((wxSize &) result);
24050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24051 }
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxPyControl *arg1 = (wxPyControl *) 0 ;
24061 PyObject * obj0 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 (arg1)->base_InitDialog();
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 Py_INCREF(Py_None); resultobj = Py_None;
24076 return resultobj;
24077 fail:
24078 return NULL;
24079 }
24080
24081
24082 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24083 PyObject *resultobj;
24084 wxPyControl *arg1 = (wxPyControl *) 0 ;
24085 bool result;
24086 PyObject * obj0 = 0 ;
24087 char *kwnames[] = {
24088 (char *) "self", NULL
24089 };
24090
24091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 result = (bool)(arg1)->base_TransferDataToWindow();
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 resultobj = PyInt_FromLong((long)result);
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxPyControl *arg1 = (wxPyControl *) 0 ;
24110 bool result;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (bool)(arg1)->base_TransferDataFromWindow();
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = PyInt_FromLong((long)result);
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24133 PyObject *resultobj;
24134 wxPyControl *arg1 = (wxPyControl *) 0 ;
24135 bool result;
24136 PyObject * obj0 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 result = (bool)(arg1)->base_Validate();
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 resultobj = PyInt_FromLong((long)result);
24151 return resultobj;
24152 fail:
24153 return NULL;
24154 }
24155
24156
24157 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyControl *arg1 = (wxPyControl *) 0 ;
24160 bool result;
24161 PyObject * obj0 = 0 ;
24162 char *kwnames[] = {
24163 (char *) "self", NULL
24164 };
24165
24166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 resultobj = PyInt_FromLong((long)result);
24176 return resultobj;
24177 fail:
24178 return NULL;
24179 }
24180
24181
24182 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 wxPyControl *arg1 = (wxPyControl *) 0 ;
24185 bool result;
24186 PyObject * obj0 = 0 ;
24187 char *kwnames[] = {
24188 (char *) "self", NULL
24189 };
24190
24191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 resultobj = PyInt_FromLong((long)result);
24201 return resultobj;
24202 fail:
24203 return NULL;
24204 }
24205
24206
24207 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24208 PyObject *resultobj;
24209 wxPyControl *arg1 = (wxPyControl *) 0 ;
24210 wxSize result;
24211 PyObject * obj0 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 {
24226 wxSize * resultptr;
24227 resultptr = new wxSize((wxSize &) result);
24228 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24229 }
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxPyControl *arg1 = (wxPyControl *) 0 ;
24239 wxWindow *arg2 = (wxWindow *) 0 ;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self",(char *) "child", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 (arg1)->base_AddChild(arg2);
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyControl *arg1 = (wxPyControl *) 0 ;
24266 wxWindow *arg2 = (wxWindow *) 0 ;
24267 PyObject * obj0 = 0 ;
24268 PyObject * obj1 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self",(char *) "child", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 (arg1)->base_RemoveChild(arg2);
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 Py_INCREF(Py_None); resultobj = Py_None;
24284 return resultobj;
24285 fail:
24286 return NULL;
24287 }
24288
24289
24290 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24291 PyObject *obj;
24292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24293 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24294 Py_INCREF(obj);
24295 return Py_BuildValue((char *)"");
24296 }
24297 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj;
24299 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24300 int arg2 = (int) 0 ;
24301 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24302 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24303 wxHelpEvent *result;
24304 wxPoint temp3 ;
24305 PyObject * obj2 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "type",(char *) "winid",(char *) "pt", NULL
24308 };
24309
24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24311 if (obj2) {
24312 {
24313 arg3 = &temp3;
24314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24315 }
24316 }
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj;
24333 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24334 wxPoint *result;
24335 PyObject * obj0 = 0 ;
24336 char *kwnames[] = {
24337 (char *) "self", NULL
24338 };
24339
24340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 {
24345 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24346 result = (wxPoint *) &_result_ref;
24347 }
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24353 return resultobj;
24354 fail:
24355 return NULL;
24356 }
24357
24358
24359 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24360 PyObject *resultobj;
24361 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24362 wxPoint *arg2 = 0 ;
24363 wxPoint temp2 ;
24364 PyObject * obj0 = 0 ;
24365 PyObject * obj1 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "pos", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24372 {
24373 arg2 = &temp2;
24374 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24375 }
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 (arg1)->SetPosition((wxPoint const &)*arg2);
24379
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 Py_INCREF(Py_None); resultobj = Py_None;
24384 return resultobj;
24385 fail:
24386 return NULL;
24387 }
24388
24389
24390 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24393 wxString *result;
24394 PyObject * obj0 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "self", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 {
24404 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24405 result = (wxString *) &_result_ref;
24406 }
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 {
24412 #if wxUSE_UNICODE
24413 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24414 #else
24415 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24416 #endif
24417 }
24418 return resultobj;
24419 fail:
24420 return NULL;
24421 }
24422
24423
24424 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24427 wxString *arg2 = 0 ;
24428 bool temp2 = False ;
24429 PyObject * obj0 = 0 ;
24430 PyObject * obj1 = 0 ;
24431 char *kwnames[] = {
24432 (char *) "self",(char *) "link", NULL
24433 };
24434
24435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24437 {
24438 arg2 = wxString_in_helper(obj1);
24439 if (arg2 == NULL) SWIG_fail;
24440 temp2 = True;
24441 }
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 (arg1)->SetLink((wxString const &)*arg2);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 Py_INCREF(Py_None); resultobj = Py_None;
24450 {
24451 if (temp2)
24452 delete arg2;
24453 }
24454 return resultobj;
24455 fail:
24456 {
24457 if (temp2)
24458 delete arg2;
24459 }
24460 return NULL;
24461 }
24462
24463
24464 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj;
24466 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24467 wxString *result;
24468 PyObject * obj0 = 0 ;
24469 char *kwnames[] = {
24470 (char *) "self", NULL
24471 };
24472
24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24475 {
24476 PyThreadState* __tstate = wxPyBeginAllowThreads();
24477 {
24478 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24479 result = (wxString *) &_result_ref;
24480 }
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 #if wxUSE_UNICODE
24487 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24488 #else
24489 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24490 #endif
24491 }
24492 return resultobj;
24493 fail:
24494 return NULL;
24495 }
24496
24497
24498 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24501 wxString *arg2 = 0 ;
24502 bool temp2 = False ;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self",(char *) "target", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24511 {
24512 arg2 = wxString_in_helper(obj1);
24513 if (arg2 == NULL) SWIG_fail;
24514 temp2 = True;
24515 }
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 (arg1)->SetTarget((wxString const &)*arg2);
24519
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 Py_INCREF(Py_None); resultobj = Py_None;
24524 {
24525 if (temp2)
24526 delete arg2;
24527 }
24528 return resultobj;
24529 fail:
24530 {
24531 if (temp2)
24532 delete arg2;
24533 }
24534 return NULL;
24535 }
24536
24537
24538 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24539 PyObject *obj;
24540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24541 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24542 Py_INCREF(obj);
24543 return Py_BuildValue((char *)"");
24544 }
24545 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj;
24547 wxWindow *arg1 = (wxWindow *) NULL ;
24548 bool arg2 = (bool) True ;
24549 wxContextHelp *result;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "window",(char *) "doNow", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24557 if (obj0) {
24558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 }
24560 if (obj1) {
24561 arg2 = PyInt_AsLong(obj1) ? true : false;
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24572 return resultobj;
24573 fail:
24574 return NULL;
24575 }
24576
24577
24578 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24581 PyObject * obj0 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 delete arg1;
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 Py_INCREF(Py_None); resultobj = Py_None;
24596 return resultobj;
24597 fail:
24598 return NULL;
24599 }
24600
24601
24602 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24603 PyObject *resultobj;
24604 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24605 wxWindow *arg2 = (wxWindow *) NULL ;
24606 bool result;
24607 PyObject * obj0 = 0 ;
24608 PyObject * obj1 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self",(char *) "window", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24615 if (obj1) {
24616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24617 }
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 result = (bool)(arg1)->BeginContextHelp(arg2);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 resultobj = PyInt_FromLong((long)result);
24626 return resultobj;
24627 fail:
24628 return NULL;
24629 }
24630
24631
24632 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj;
24634 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24635 bool result;
24636 PyObject * obj0 = 0 ;
24637 char *kwnames[] = {
24638 (char *) "self", NULL
24639 };
24640
24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (bool)(arg1)->EndContextHelp();
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 resultobj = PyInt_FromLong((long)result);
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24658 PyObject *obj;
24659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24660 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24661 Py_INCREF(obj);
24662 return Py_BuildValue((char *)"");
24663 }
24664 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24665 PyObject *resultobj;
24666 wxWindow *arg1 = (wxWindow *) 0 ;
24667 int arg2 = (int) wxID_CONTEXT_HELP ;
24668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24670 wxSize const &arg4_defvalue = wxDefaultSize ;
24671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24672 long arg5 = (long) wxBU_AUTODRAW ;
24673 wxContextHelpButton *result;
24674 wxPoint temp3 ;
24675 wxSize temp4 ;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj2 = 0 ;
24678 PyObject * obj3 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24685 if (obj2) {
24686 {
24687 arg3 = &temp3;
24688 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24689 }
24690 }
24691 if (obj3) {
24692 {
24693 arg4 = &temp4;
24694 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24695 }
24696 }
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24712 PyObject *obj;
24713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24714 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24715 Py_INCREF(obj);
24716 return Py_BuildValue((char *)"");
24717 }
24718 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24719 PyObject *resultobj;
24720 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24721 wxHelpProvider *result;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "helpProvider", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxHelpProvider *result;
24746 char *kwnames[] = {
24747 NULL
24748 };
24749
24750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (wxHelpProvider *)wxHelpProvider::Get();
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24766 PyObject *resultobj;
24767 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24768 wxWindow *arg2 = (wxWindow *) 0 ;
24769 wxString result;
24770 PyObject * obj0 = 0 ;
24771 PyObject * obj1 = 0 ;
24772 char *kwnames[] = {
24773 (char *) "self",(char *) "window", NULL
24774 };
24775
24776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = (arg1)->GetHelp((wxWindow const *)arg2);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 {
24787 #if wxUSE_UNICODE
24788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24789 #else
24790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24791 #endif
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj;
24801 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24802 wxWindow *arg2 = (wxWindow *) 0 ;
24803 bool result;
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self",(char *) "window", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (bool)(arg1)->ShowHelp(arg2);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 resultobj = PyInt_FromLong((long)result);
24821 return resultobj;
24822 fail:
24823 return NULL;
24824 }
24825
24826
24827 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24830 wxWindow *arg2 = (wxWindow *) 0 ;
24831 wxString *arg3 = 0 ;
24832 bool temp3 = False ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "window",(char *) "text", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 {
24844 arg3 = wxString_in_helper(obj2);
24845 if (arg3 == NULL) SWIG_fail;
24846 temp3 = True;
24847 }
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 Py_INCREF(Py_None); resultobj = Py_None;
24856 {
24857 if (temp3)
24858 delete arg3;
24859 }
24860 return resultobj;
24861 fail:
24862 {
24863 if (temp3)
24864 delete arg3;
24865 }
24866 return NULL;
24867 }
24868
24869
24870 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
24871 PyObject *resultobj;
24872 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24873 int arg2 ;
24874 wxString *arg3 = 0 ;
24875 bool temp3 = False ;
24876 PyObject * obj0 = 0 ;
24877 PyObject * obj2 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self",(char *) "id",(char *) "text", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
24883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24884 {
24885 arg3 = wxString_in_helper(obj2);
24886 if (arg3 == NULL) SWIG_fail;
24887 temp3 = True;
24888 }
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 Py_INCREF(Py_None); resultobj = Py_None;
24897 {
24898 if (temp3)
24899 delete arg3;
24900 }
24901 return resultobj;
24902 fail:
24903 {
24904 if (temp3)
24905 delete arg3;
24906 }
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24914 PyObject * obj0 = 0 ;
24915 char *kwnames[] = {
24916 (char *) "self", NULL
24917 };
24918
24919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
24920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 wxHelpProvider_Destroy(arg1);
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 Py_INCREF(Py_None); resultobj = Py_None;
24929 return resultobj;
24930 fail:
24931 return NULL;
24932 }
24933
24934
24935 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
24936 PyObject *obj;
24937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24938 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
24939 Py_INCREF(obj);
24940 return Py_BuildValue((char *)"");
24941 }
24942 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
24943 PyObject *resultobj;
24944 wxSimpleHelpProvider *result;
24945 char *kwnames[] = {
24946 NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
24950 {
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
24953
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
24958 return resultobj;
24959 fail:
24960 return NULL;
24961 }
24962
24963
24964 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
24965 PyObject *obj;
24966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24967 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
24968 Py_INCREF(obj);
24969 return Py_BuildValue((char *)"");
24970 }
24971 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24972 PyObject *resultobj;
24973 wxBitmap *arg1 = 0 ;
24974 wxCursor const &arg2_defvalue = wxNullCursor ;
24975 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24976 wxGenericDragImage *result;
24977 PyObject * obj0 = 0 ;
24978 PyObject * obj1 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "image",(char *) "cursor", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24985 if (arg1 == NULL) {
24986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24987 }
24988 if (obj1) {
24989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24990 if (arg2 == NULL) {
24991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24992 }
24993 }
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25002 return resultobj;
25003 fail:
25004 return NULL;
25005 }
25006
25007
25008 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25009 PyObject *resultobj;
25010 wxIcon *arg1 = 0 ;
25011 wxCursor const &arg2_defvalue = wxNullCursor ;
25012 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25013 wxGenericDragImage *result;
25014 PyObject * obj0 = 0 ;
25015 PyObject * obj1 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "image",(char *) "cursor", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25022 if (arg1 == NULL) {
25023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25024 }
25025 if (obj1) {
25026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25027 if (arg2 == NULL) {
25028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25029 }
25030 }
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25039 return resultobj;
25040 fail:
25041 return NULL;
25042 }
25043
25044
25045 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj;
25047 wxString *arg1 = 0 ;
25048 wxCursor const &arg2_defvalue = wxNullCursor ;
25049 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25050 wxGenericDragImage *result;
25051 bool temp1 = False ;
25052 PyObject * obj0 = 0 ;
25053 PyObject * obj1 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "str",(char *) "cursor", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25059 {
25060 arg1 = wxString_in_helper(obj0);
25061 if (arg1 == NULL) SWIG_fail;
25062 temp1 = True;
25063 }
25064 if (obj1) {
25065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25066 if (arg2 == NULL) {
25067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25068 }
25069 }
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25078 {
25079 if (temp1)
25080 delete arg1;
25081 }
25082 return resultobj;
25083 fail:
25084 {
25085 if (temp1)
25086 delete arg1;
25087 }
25088 return NULL;
25089 }
25090
25091
25092 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj;
25094 wxPyTreeCtrl *arg1 = 0 ;
25095 wxTreeItemId *arg2 = 0 ;
25096 wxGenericDragImage *result;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "treeCtrl",(char *) "id", NULL
25101 };
25102
25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25105 if (arg1 == NULL) {
25106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25107 }
25108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25109 if (arg2 == NULL) {
25110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25111 }
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25120 return resultobj;
25121 fail:
25122 return NULL;
25123 }
25124
25125
25126 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxPyListCtrl *arg1 = 0 ;
25129 long arg2 ;
25130 wxGenericDragImage *result;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "listCtrl",(char *) "id", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25138 if (arg1 == NULL) {
25139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25149 return resultobj;
25150 fail:
25151 return NULL;
25152 }
25153
25154
25155 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25156 PyObject *resultobj;
25157 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25158 PyObject * obj0 = 0 ;
25159 char *kwnames[] = {
25160 (char *) "self", NULL
25161 };
25162
25163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 delete arg1;
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 Py_INCREF(Py_None); resultobj = Py_None;
25173 return resultobj;
25174 fail:
25175 return NULL;
25176 }
25177
25178
25179 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj;
25181 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25182 wxBitmap *arg2 = (wxBitmap *) 0 ;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "self",(char *) "bitmap", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetBackingBitmap(arg2);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 return resultobj;
25201 fail:
25202 return NULL;
25203 }
25204
25205
25206 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj;
25208 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25209 wxPoint *arg2 = 0 ;
25210 wxWindow *arg3 = (wxWindow *) 0 ;
25211 bool arg4 = (bool) False ;
25212 wxRect *arg5 = (wxRect *) NULL ;
25213 bool result;
25214 wxPoint temp2 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 PyObject * obj2 = 0 ;
25218 PyObject * obj3 = 0 ;
25219 PyObject * obj4 = 0 ;
25220 char *kwnames[] = {
25221 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25222 };
25223
25224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25226 {
25227 arg2 = &temp2;
25228 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25229 }
25230 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25231 if (obj3) {
25232 arg4 = PyInt_AsLong(obj3) ? true : false;
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 if (obj4) {
25236 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25237 }
25238 {
25239 PyThreadState* __tstate = wxPyBeginAllowThreads();
25240 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 resultobj = PyInt_FromLong((long)result);
25246 return resultobj;
25247 fail:
25248 return NULL;
25249 }
25250
25251
25252 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj;
25254 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25255 wxPoint *arg2 = 0 ;
25256 wxWindow *arg3 = (wxWindow *) 0 ;
25257 wxWindow *arg4 = (wxWindow *) 0 ;
25258 bool result;
25259 wxPoint temp2 ;
25260 PyObject * obj0 = 0 ;
25261 PyObject * obj1 = 0 ;
25262 PyObject * obj2 = 0 ;
25263 PyObject * obj3 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25270 {
25271 arg2 = &temp2;
25272 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25273 }
25274 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25276 {
25277 PyThreadState* __tstate = wxPyBeginAllowThreads();
25278 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25279
25280 wxPyEndAllowThreads(__tstate);
25281 if (PyErr_Occurred()) SWIG_fail;
25282 }
25283 resultobj = PyInt_FromLong((long)result);
25284 return resultobj;
25285 fail:
25286 return NULL;
25287 }
25288
25289
25290 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25291 PyObject *resultobj;
25292 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25293 bool result;
25294 PyObject * obj0 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (bool)(arg1)->EndDrag();
25304
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 resultobj = PyInt_FromLong((long)result);
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj;
25317 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25318 wxPoint *arg2 = 0 ;
25319 bool result;
25320 wxPoint temp2 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self",(char *) "pt", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25329 {
25330 arg2 = &temp2;
25331 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25332 }
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25336
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 resultobj = PyInt_FromLong((long)result);
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25350 bool result;
25351 PyObject * obj0 = 0 ;
25352 char *kwnames[] = {
25353 (char *) "self", NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = (bool)(arg1)->Show();
25361
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 resultobj = PyInt_FromLong((long)result);
25366 return resultobj;
25367 fail:
25368 return NULL;
25369 }
25370
25371
25372 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25373 PyObject *resultobj;
25374 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25375 bool result;
25376 PyObject * obj0 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 result = (bool)(arg1)->Hide();
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 resultobj = PyInt_FromLong((long)result);
25391 return resultobj;
25392 fail:
25393 return NULL;
25394 }
25395
25396
25397 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25398 PyObject *resultobj;
25399 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25400 wxPoint *arg2 = 0 ;
25401 wxRect result;
25402 wxPoint temp2 ;
25403 PyObject * obj0 = 0 ;
25404 PyObject * obj1 = 0 ;
25405 char *kwnames[] = {
25406 (char *) "self",(char *) "pos", NULL
25407 };
25408
25409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25411 {
25412 arg2 = &temp2;
25413 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25414 }
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25418
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 {
25423 wxRect * resultptr;
25424 resultptr = new wxRect((wxRect &) result);
25425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25426 }
25427 return resultobj;
25428 fail:
25429 return NULL;
25430 }
25431
25432
25433 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25436 wxDC *arg2 = 0 ;
25437 wxPoint *arg3 = 0 ;
25438 bool result;
25439 wxPoint temp3 ;
25440 PyObject * obj0 = 0 ;
25441 PyObject * obj1 = 0 ;
25442 PyObject * obj2 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self",(char *) "dc",(char *) "pos", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25450 if (arg2 == NULL) {
25451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25452 }
25453 {
25454 arg3 = &temp3;
25455 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 resultobj = PyInt_FromLong((long)result);
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25474 wxDC *arg2 = 0 ;
25475 wxMemoryDC *arg3 = 0 ;
25476 wxRect *arg4 = 0 ;
25477 wxRect *arg5 = 0 ;
25478 bool result;
25479 wxRect temp4 ;
25480 wxRect temp5 ;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 PyObject * obj2 = 0 ;
25484 PyObject * obj3 = 0 ;
25485 PyObject * obj4 = 0 ;
25486 char *kwnames[] = {
25487 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25488 };
25489
25490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25493 if (arg2 == NULL) {
25494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25495 }
25496 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25497 if (arg3 == NULL) {
25498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25499 }
25500 {
25501 arg4 = &temp4;
25502 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25503 }
25504 {
25505 arg5 = &temp5;
25506 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25507 }
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = PyInt_FromLong((long)result);
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25525 wxPoint *arg2 = 0 ;
25526 wxPoint *arg3 = 0 ;
25527 bool arg4 ;
25528 bool arg5 ;
25529 bool result;
25530 wxPoint temp2 ;
25531 wxPoint temp3 ;
25532 PyObject * obj0 = 0 ;
25533 PyObject * obj1 = 0 ;
25534 PyObject * obj2 = 0 ;
25535 PyObject * obj3 = 0 ;
25536 PyObject * obj4 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25543 {
25544 arg2 = &temp2;
25545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25546 }
25547 {
25548 arg3 = &temp3;
25549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25550 }
25551 arg4 = PyInt_AsLong(obj3) ? true : false;
25552 if (PyErr_Occurred()) SWIG_fail;
25553 arg5 = PyInt_AsLong(obj4) ? true : false;
25554 if (PyErr_Occurred()) SWIG_fail;
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25558
25559 wxPyEndAllowThreads(__tstate);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 resultobj = PyInt_FromLong((long)result);
25563 return resultobj;
25564 fail:
25565 return NULL;
25566 }
25567
25568
25569 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25570 PyObject *obj;
25571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25572 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25573 Py_INCREF(obj);
25574 return Py_BuildValue((char *)"");
25575 }
25576 static PyMethodDef SwigMethods[] = {
25577 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25583 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25598 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25609 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25618 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25636 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25649 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25653 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25659 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25663 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25670 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25689 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25697 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25698 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25726 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25730 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25738 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25739 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25779 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25784 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25795 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25807 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25818 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25835 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25841 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25866 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25869 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25889 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25895 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25904 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25906 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25911 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25913 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25918 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25923 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25953 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25995 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26000 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26012 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26064 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26091 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26160 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26172 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26180 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26187 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26202 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26274 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26296 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26301 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26322 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26330 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26335 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26337 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26345 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26347 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26365 { NULL, NULL }
26366 };
26367
26368
26369 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26370
26371 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26372 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26373 }
26374 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26375 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26376 }
26377 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26378 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26379 }
26380 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26381 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26382 }
26383 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26384 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26385 }
26386 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26387 return (void *)((wxSizer *) ((wxGridSizer *) x));
26388 }
26389 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26390 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26391 }
26392 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26393 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26394 }
26395 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26396 return (void *)((wxSizer *) ((wxPySizer *) x));
26397 }
26398 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26399 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26400 }
26401 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26403 }
26404 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26405 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26406 }
26407 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26408 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26409 }
26410 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26411 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26412 }
26413 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26414 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26415 }
26416 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26417 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26418 }
26419 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26420 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26421 }
26422 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26423 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26424 }
26425 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26427 }
26428 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26430 }
26431 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26432 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26433 }
26434 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26435 return (void *)((wxEvent *) ((wxPyEvent *) x));
26436 }
26437 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26438 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26439 }
26440 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26441 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26442 }
26443 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26444 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26445 }
26446 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26447 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26448 }
26449 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26450 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26451 }
26452 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26453 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26454 }
26455 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26457 }
26458 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26459 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26460 }
26461 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26462 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26463 }
26464 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26465 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26466 }
26467 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26468 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26469 }
26470 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26471 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26472 }
26473 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26474 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26475 }
26476 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26477 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26478 }
26479 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26480 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26481 }
26482 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26484 }
26485 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26486 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26487 }
26488 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26489 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26490 }
26491 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26492 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26493 }
26494 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26495 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26496 }
26497 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26498 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26499 }
26500 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26501 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26502 }
26503 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26504 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26505 }
26506 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26507 return (void *)((wxEvent *) ((wxShowEvent *) x));
26508 }
26509 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26510 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26511 }
26512 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26513 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26514 }
26515 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26517 }
26518 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26519 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26520 }
26521 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26522 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26523 }
26524 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26525 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26526 }
26527 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26528 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26529 }
26530 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26531 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26532 }
26533 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26534 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26535 }
26536 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26537 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26538 }
26539 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26540 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26541 }
26542 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26543 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26544 }
26545 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26546 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26547 }
26548 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26549 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26550 }
26551 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26552 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26553 }
26554 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26555 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26556 }
26557 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26558 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26559 }
26560 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26561 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26562 }
26563 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26564 return (void *)((wxControl *) ((wxComboBox *) x));
26565 }
26566 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26567 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26568 }
26569 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26570 return (void *)((wxControl *) ((wxStaticBox *) x));
26571 }
26572 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26573 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26574 }
26575 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26576 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26577 }
26578 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26579 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26580 }
26581 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26582 return (void *)((wxControl *) ((wxScrollBar *) x));
26583 }
26584 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26585 return (void *)((wxControl *) ((wxBookCtrl *) x));
26586 }
26587 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26588 return (void *)((wxControl *) ((wxRadioButton *) x));
26589 }
26590 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26591 return (void *)((wxControl *) ((wxToggleButton *) x));
26592 }
26593 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26594 return (void *)((wxControl *) ((wxGauge *) x));
26595 }
26596 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26597 return (void *)((wxControl *) ((wxToolBarBase *) x));
26598 }
26599 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26600 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26601 }
26602 static void *_p_wxButtonTo_p_wxControl(void *x) {
26603 return (void *)((wxControl *) ((wxButton *) x));
26604 }
26605 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26606 return (void *)((wxControl *) ((wxSpinButton *) x));
26607 }
26608 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26609 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26610 }
26611 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26612 return (void *)((wxControl *) ((wxControlWithItems *) x));
26613 }
26614 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26615 return (void *)((wxControl *) ((wxRadioBox *) x));
26616 }
26617 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26618 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26619 }
26620 static void *_p_wxListbookTo_p_wxControl(void *x) {
26621 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26622 }
26623 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26624 return (void *)((wxControl *) ((wxCheckBox *) x));
26625 }
26626 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26627 return (void *)((wxControl *) ((wxTextCtrl *) x));
26628 }
26629 static void *_p_wxListViewTo_p_wxControl(void *x) {
26630 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26631 }
26632 static void *_p_wxSliderTo_p_wxControl(void *x) {
26633 return (void *)((wxControl *) ((wxSlider *) x));
26634 }
26635 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26636 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26637 }
26638 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26639 return (void *)((wxControl *) ((wxPyControl *) x));
26640 }
26641 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26642 return (void *)((wxControl *) ((wxStaticLine *) x));
26643 }
26644 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26645 return (void *)((wxControl *) ((wxStaticText *) x));
26646 }
26647 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26648 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26649 }
26650 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26651 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26652 }
26653 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26654 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26655 }
26656 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26657 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26658 }
26659 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26660 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26661 }
26662 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26663 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26664 }
26665 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26666 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26667 }
26668 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26670 }
26671 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26672 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26673 }
26674 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26675 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26676 }
26677 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26678 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26679 }
26680 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26682 }
26683 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26684 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26685 }
26686 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26688 }
26689 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26690 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26691 }
26692 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26693 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26694 }
26695 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26697 }
26698 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26699 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26700 }
26701 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26702 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26703 }
26704 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26705 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26706 }
26707 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26708 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26709 }
26710 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26711 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26712 }
26713 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26714 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26715 }
26716 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26717 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26718 }
26719 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26720 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26721 }
26722 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26723 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26724 }
26725 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26726 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26727 }
26728 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26729 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26730 }
26731 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26732 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26733 }
26734 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26735 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26736 }
26737 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26738 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26739 }
26740 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26741 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26742 }
26743 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26744 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26745 }
26746 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26747 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26748 }
26749 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26750 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26751 }
26752 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26753 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26754 }
26755 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26756 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26757 }
26758 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26759 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26760 }
26761 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26762 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26763 }
26764 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26765 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26766 }
26767 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26768 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26769 }
26770 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26771 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26772 }
26773 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26774 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26775 }
26776 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26777 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26778 }
26779 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26780 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26781 }
26782 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26783 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26784 }
26785 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26786 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26787 }
26788 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26789 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26790 }
26791 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26792 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26793 }
26794 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26795 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26796 }
26797 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26798 return (void *)((wxButton *) ((wxBitmapButton *) x));
26799 }
26800 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26801 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26802 }
26803 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26804 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26805 }
26806 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26807 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26808 }
26809 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26810 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26811 }
26812 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26813 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26814 }
26815 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26816 return (void *)((wxObject *) ((wxSizerItem *) x));
26817 }
26818 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26820 }
26821 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26822 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26823 }
26824 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26826 }
26827 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26829 }
26830 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26831 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26832 }
26833 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26834 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26835 }
26836 static void *_p_wxSizerTo_p_wxObject(void *x) {
26837 return (void *)((wxObject *) ((wxSizer *) x));
26838 }
26839 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26840 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26841 }
26842 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26844 }
26845 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26847 }
26848 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26849 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26850 }
26851 static void *_p_wxEventTo_p_wxObject(void *x) {
26852 return (void *)((wxObject *) ((wxEvent *) x));
26853 }
26854 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26855 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26856 }
26857 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26858 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26859 }
26860 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26861 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26862 }
26863 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26865 }
26866 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26868 }
26869 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26871 }
26872 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26873 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26874 }
26875 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26876 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26877 }
26878 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26879 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26880 }
26881 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26882 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26883 }
26884 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26885 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26886 }
26887 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26888 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26889 }
26890 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26892 }
26893 static void *_p_wxControlTo_p_wxObject(void *x) {
26894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26895 }
26896 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26898 }
26899 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26901 }
26902 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26904 }
26905 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26907 }
26908 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26910 }
26911 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26912 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26913 }
26914 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26916 }
26917 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26918 return (void *)((wxObject *) ((wxFSFile *) x));
26919 }
26920 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26921 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26922 }
26923 static void *_p_wxListViewTo_p_wxObject(void *x) {
26924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26925 }
26926 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26928 }
26929 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26931 }
26932 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26933 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26934 }
26935 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26937 }
26938 static void *_p_wxListbookTo_p_wxObject(void *x) {
26939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26940 }
26941 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26942 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26943 }
26944 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26946 }
26947 static void *_p_wxSliderTo_p_wxObject(void *x) {
26948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26949 }
26950 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26951 return (void *)((wxObject *) ((wxMenuItem *) x));
26952 }
26953 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26954 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26955 }
26956 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26958 }
26959 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26960 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26961 }
26962 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26963 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26964 }
26965 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26966 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26967 }
26968 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26969 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26970 }
26971 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26972 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26973 }
26974 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26975 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26976 }
26977 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26979 }
26980 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26981 return (void *)((wxObject *) ((wxContextHelp *) x));
26982 }
26983 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26984 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26985 }
26986 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26987 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26988 }
26989 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26990 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26991 }
26992 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26993 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26994 }
26995 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26996 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26997 }
26998 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26999 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27000 }
27001 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27002 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27003 }
27004 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27005 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27006 }
27007 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27008 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27009 }
27010 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27011 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27012 }
27013 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27014 return (void *)((wxObject *) ((wxImageHandler *) x));
27015 }
27016 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27017 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27018 }
27019 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27020 return (void *)((wxObject *) ((wxEvtHandler *) x));
27021 }
27022 static void *_p_wxListEventTo_p_wxObject(void *x) {
27023 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27024 }
27025 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27027 }
27028 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27030 }
27031 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27033 }
27034 static void *_p_wxButtonTo_p_wxObject(void *x) {
27035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27036 }
27037 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27039 }
27040 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27042 }
27043 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27045 }
27046 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27047 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27048 }
27049 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27051 }
27052 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27054 }
27055 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27057 }
27058 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27059 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27060 }
27061 static void *_p_wxListItemTo_p_wxObject(void *x) {
27062 return (void *)((wxObject *) ((wxListItem *) x));
27063 }
27064 static void *_p_wxImageTo_p_wxObject(void *x) {
27065 return (void *)((wxObject *) ((wxImage *) x));
27066 }
27067 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27068 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27069 }
27070 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27071 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27072 }
27073 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27074 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27075 }
27076 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27078 }
27079 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27081 }
27082 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27084 }
27085 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27087 }
27088 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27089 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27090 }
27091 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27092 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27093 }
27094 static void *_p_wxWindowTo_p_wxObject(void *x) {
27095 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27096 }
27097 static void *_p_wxMenuTo_p_wxObject(void *x) {
27098 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27099 }
27100 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27102 }
27103 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27104 return (void *)((wxObject *) ((wxFileSystem *) x));
27105 }
27106 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27107 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27108 }
27109 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27110 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27111 }
27112 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27113 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27114 }
27115 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27116 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27117 }
27118 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27119 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27120 }
27121 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27122 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27123 }
27124 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27126 }
27127 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27129 }
27130 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27131 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27132 }
27133 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27135 }
27136 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27137 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27138 }
27139 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27140 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27141 }
27142 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27144 }
27145 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27147 }
27148 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27149 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27150 }
27151 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27153 }
27154 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27155 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27156 }
27157 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27158 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27159 }
27160 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27161 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27162 }
27163 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27164 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27165 }
27166 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27167 return (void *)((wxWindow *) ((wxMenuBar *) x));
27168 }
27169 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27170 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27171 }
27172 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27173 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27174 }
27175 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27176 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27177 }
27178 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27179 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27180 }
27181 static void *_p_wxControlTo_p_wxWindow(void *x) {
27182 return (void *)((wxWindow *) ((wxControl *) x));
27183 }
27184 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27185 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27186 }
27187 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27188 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27189 }
27190 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27191 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27192 }
27193 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27194 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27195 }
27196 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27197 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27198 }
27199 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27200 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27201 }
27202 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27203 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27204 }
27205 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27206 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27207 }
27208 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27209 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27210 }
27211 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27212 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27213 }
27214 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27215 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27216 }
27217 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27218 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27219 }
27220 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27221 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27222 }
27223 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27224 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27225 }
27226 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27227 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27228 }
27229 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27230 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27231 }
27232 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27233 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27234 }
27235 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27236 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27237 }
27238 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27239 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27240 }
27241 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27242 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27243 }
27244 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27245 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27246 }
27247 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27248 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27249 }
27250 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27251 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27252 }
27253 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27254 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27255 }
27256 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27257 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27258 }
27259 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27260 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27261 }
27262 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27263 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27264 }
27265 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27266 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27267 }
27268 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27269 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27270 }
27271 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27272 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27273 }
27274 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27275 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27276 }
27277 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27278 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27279 }
27280 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27281 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27282 }
27283 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27284 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27285 }
27286 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27287 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27288 }
27289 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27290 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27291 }
27292 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27293 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27294 }
27295 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27296 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27297 }
27298 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27299 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27300 }
27301 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27302 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27303 }
27304 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27305 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27306 }
27307 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27308 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27309 }
27310 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27311 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27312 }
27313 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27314 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27315 }
27316 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27317 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27318 }
27319 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27320 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27321 }
27322 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27323 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27324 }
27325 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27326 return (void *)((wxValidator *) ((wxPyValidator *) x));
27327 }
27328 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27329 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}};
27330 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}};
27331 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27332 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27333 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27334 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27335 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}};
27336 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27337 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27338 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27339 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}};
27340 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27341 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27342 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27343 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}};
27344 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27345 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27346 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27347 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27348 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27349 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27350 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27351 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27352 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27353 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27354 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27355 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27356 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27357 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27358 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27359 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27360 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}};
27361 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27362 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27363 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27364 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27365 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27366 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27367 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27368 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27369 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}};
27370 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27371 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27372 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27373 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}};
27374 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27375 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}};
27376 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27377 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27378 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27379 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27380 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27381 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27382 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27383 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27384 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27385 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27386 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27387 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27388 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27389 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27390 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27391 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27392 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27393 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27394 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27395 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}};
27396 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27397 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27398 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}};
27399 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27400 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27401 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27402 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27403 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}};
27404 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27405 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}};
27406 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27407 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27408 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27409 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27410 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27411
27412 static swig_type_info *swig_types_initial[] = {
27413 _swigt__p_wxTextUrlEvent,
27414 _swigt__p_wxBookCtrlEvent,
27415 _swigt__p_wxSizer,
27416 _swigt__p_wxTreeItemIdValue,
27417 _swigt__wxTreeItemIdValue,
27418 _swigt__p_wxCheckBox,
27419 _swigt__p_wxPyTreeCtrl,
27420 _swigt__p_wxEvent,
27421 _swigt__p_wxGenericDirCtrl,
27422 _swigt__p_bool,
27423 _swigt__p_wxPyTreeItemData,
27424 _swigt__p_wxItemContainer,
27425 _swigt__p_wxDirFilterListCtrl,
27426 _swigt__p_wxPyListCtrl,
27427 _swigt__p_wxStaticLine,
27428 _swigt__p_wxControl,
27429 _swigt__p_wxPyControl,
27430 _swigt__p_wxGauge,
27431 _swigt__p_wxToolBarBase,
27432 _swigt__p_wxFont,
27433 _swigt__p_wxToggleButton,
27434 _swigt__p_wxRadioButton,
27435 _swigt__p_wxChoice,
27436 _swigt__p_wxMemoryDC,
27437 _swigt__p_wxListItemAttr,
27438 _swigt__p_int,
27439 _swigt__p_wxSize,
27440 _swigt__p_wxDC,
27441 _swigt__p_wxListView,
27442 _swigt__p_wxIcon,
27443 _swigt__p_wxTextCtrl,
27444 _swigt__p_wxNotebook,
27445 _swigt__p_wxNotifyEvent,
27446 _swigt__p_wxArrayString,
27447 _swigt__p_wxListbook,
27448 _swigt__p_wxStaticBitmap,
27449 _swigt__p_wxSlider,
27450 _swigt__p_wxStaticBox,
27451 _swigt__p_wxArrayInt,
27452 _swigt__p_wxContextHelp,
27453 _swigt__p_long,
27454 _swigt__p_wxEvtHandler,
27455 _swigt__p_wxListEvent,
27456 _swigt__p_wxListBox,
27457 _swigt__p_wxCheckListBox,
27458 _swigt__p_wxBookCtrl,
27459 _swigt__p_wxSpinButton,
27460 _swigt__p_wxButton,
27461 _swigt__p_wxBitmapButton,
27462 _swigt__p_wxRect,
27463 _swigt__p_wxContextHelpButton,
27464 _swigt__p_wxRadioBox,
27465 _swigt__p_wxScrollBar,
27466 _swigt__p_wxTreeItemId,
27467 _swigt__p_wxComboBox,
27468 _swigt__p_wxHelpEvent,
27469 _swigt__p_wxListItem,
27470 _swigt__p_wxNotebookSizer,
27471 _swigt__p_wxGenericDragImage,
27472 _swigt__p_wxSpinCtrl,
27473 _swigt__p_wxImageList,
27474 _swigt__p_wxHelpProvider,
27475 _swigt__p_wxTextAttr,
27476 _swigt__p_wxSimpleHelpProvider,
27477 _swigt__p_wxPoint,
27478 _swigt__p_wxListbookEvent,
27479 _swigt__p_wxNotebookEvent,
27480 _swigt__p_wxObject,
27481 _swigt__p_wxCursor,
27482 _swigt__p_wxKeyEvent,
27483 _swigt__p_wxWindow,
27484 _swigt__p_wxString,
27485 _swigt__p_wxBitmap,
27486 _swigt__p_wxTreeEvent,
27487 _swigt__p_wxMouseEvent,
27488 _swigt__p_wxCommandEvent,
27489 _swigt__p_wxStaticText,
27490 _swigt__p_wxControlWithItems,
27491 _swigt__p_wxToolBarToolBase,
27492 _swigt__p_wxColour,
27493 _swigt__p_wxToolBar,
27494 _swigt__p_wxBookCtrlSizer,
27495 _swigt__p_wxValidator,
27496 0
27497 };
27498
27499
27500 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27501
27502 static swig_const_info swig_const_table[] = {
27503 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27504 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27505 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27506 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27507 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27508 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27509 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27510 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27511 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27512 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27513 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27514 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27515 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27516 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27517 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27518 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27519 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27520 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27521 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27522 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27523 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27524 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27525 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27526 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27527 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27528 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27529 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27530 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27531 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27532 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27533 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27534 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27535 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27536 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27537 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27538 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27539 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27540 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27541 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27542 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27543 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27544 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27545 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27546 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27547 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27548 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27549 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27550 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27551 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27552 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27553 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27554 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27555 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27556 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27557 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27558 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27559 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27560 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27561 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27562 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27563 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27564 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27565 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27566 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27567 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27568 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27569 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27570 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27571 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27572 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27573 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27574 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27575 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27576 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27577 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27578 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27579 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27580 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27581 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27582 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27583 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27584 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27585 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27586 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27587 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27588 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27589 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27590 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27591 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27592 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27593 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27594 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27595 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27596 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27597 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27598 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27599 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27600 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27601 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27602 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27603 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27604 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27605 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27606 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27607 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27608 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27609 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27610 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27611 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27612 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27613 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27614 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27615 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27616 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27617 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27618 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27619 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27620 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27621 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27622 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27623 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27624 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27625 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27626 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27627 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27628 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27629 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27630 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27631 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27632 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27633 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27634 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27635 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27636 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27637 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27638 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27639 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27640 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27641 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27642 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27643 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27644 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27645 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27646 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27647 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27648 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27649 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27650 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27651 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27652 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27653 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27654 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27655 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27656 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27657 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27658 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27659 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27660 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27661 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27662 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27663 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27664 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27665 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27666 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27667 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27668 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27669 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27670 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27671 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27672 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27673 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27674 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27675 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27676 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27677 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27678 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27679 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27680 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27681 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27682 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27683 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27684 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27685 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27686 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27687 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27688 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27689 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27690 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27691 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27692 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27693 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27694 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27695 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27696 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27697 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27698 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27699 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27700 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27701 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27702 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27703 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27704 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27705 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27706 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27707 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27708 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27709 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27710 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27711 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27712 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27713 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27714 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27715 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27716 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27717 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27718 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27719 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27720 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27721 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27722 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27723 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27724 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27725 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27726 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27727 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27728 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27729 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27730 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27731 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27732 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27733 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27734 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27735 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27736 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27737 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27738 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27739 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27740 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27741 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27742 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27743 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27744 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27745 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27746 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27747 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27748 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27749 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27750 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27751 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27752 {0}};
27753
27754 #ifdef __cplusplus
27755 }
27756 #endif
27757
27758 #ifdef __cplusplus
27759 extern "C"
27760 #endif
27761 SWIGEXPORT(void) SWIG_init(void) {
27762 static PyObject *SWIG_globals = 0;
27763 static int typeinit = 0;
27764 PyObject *m, *d;
27765 int i;
27766 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27767 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27768 d = PyModule_GetDict(m);
27769
27770 if (!typeinit) {
27771 for (i = 0; swig_types_initial[i]; i++) {
27772 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27773 }
27774 typeinit = 1;
27775 }
27776 SWIG_InstallConstants(d,swig_const_table);
27777
27778 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27779 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27780 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27781 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27782 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27783 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27784 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27785 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27786 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27787 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27788 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27789 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27790 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27791 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27792 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27793 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27794 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27795 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27796 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27797 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27798 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27799 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27800 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27801 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27802 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27803 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27804 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27805 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27806 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27807 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27808 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27809 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27810
27811 // Map renamed classes back to their common name for OOR
27812 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27813
27814 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27815 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27816 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27817 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27818 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27819 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27820 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27821 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27822 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27823 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27824 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27825 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27826 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27827 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27828 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27829 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27830 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27831 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27832 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27833
27834 // Map renamed classes back to their common name for OOR
27835 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27836 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27837
27838 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27839 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27840
27841 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
27842
27843 }
27844