]> 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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
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_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
219 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
220 #define SWIGTYPE_p_wxSizer swig_types[2]
221 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
222 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
223 #define SWIGTYPE_p_wxCheckBox swig_types[5]
224 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
227 #define SWIGTYPE_p_bool swig_types[9]
228 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
229 #define SWIGTYPE_p_wxItemContainer swig_types[11]
230 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
231 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
232 #define SWIGTYPE_p_wxStaticLine swig_types[14]
233 #define SWIGTYPE_p_wxControl swig_types[15]
234 #define SWIGTYPE_p_wxPyControl swig_types[16]
235 #define SWIGTYPE_p_wxGauge swig_types[17]
236 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
237 #define SWIGTYPE_p_wxFont swig_types[19]
238 #define SWIGTYPE_p_wxToggleButton swig_types[20]
239 #define SWIGTYPE_p_wxRadioButton swig_types[21]
240 #define SWIGTYPE_p_wxChoice swig_types[22]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
242 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
243 #define SWIGTYPE_p_int swig_types[25]
244 #define SWIGTYPE_p_wxSize swig_types[26]
245 #define SWIGTYPE_p_wxDC swig_types[27]
246 #define SWIGTYPE_p_wxListView swig_types[28]
247 #define SWIGTYPE_p_wxIcon swig_types[29]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
249 #define SWIGTYPE_p_wxNotebook swig_types[31]
250 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
251 #define SWIGTYPE_p_wxArrayString swig_types[33]
252 #define SWIGTYPE_p_wxListbook swig_types[34]
253 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
254 #define SWIGTYPE_p_wxSlider swig_types[36]
255 #define SWIGTYPE_p_wxStaticBox swig_types[37]
256 #define SWIGTYPE_p_wxArrayInt swig_types[38]
257 #define SWIGTYPE_p_wxContextHelp swig_types[39]
258 #define SWIGTYPE_p_long swig_types[40]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
260 #define SWIGTYPE_p_wxListEvent swig_types[42]
261 #define SWIGTYPE_p_wxListBox swig_types[43]
262 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
263 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
264 #define SWIGTYPE_p_wxSpinButton swig_types[46]
265 #define SWIGTYPE_p_wxButton swig_types[47]
266 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
267 #define SWIGTYPE_p_wxRect swig_types[49]
268 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
269 #define SWIGTYPE_p_wxRadioBox swig_types[51]
270 #define SWIGTYPE_p_wxScrollBar swig_types[52]
271 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
272 #define SWIGTYPE_p_wxComboBox swig_types[54]
273 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
274 #define SWIGTYPE_p_wxListItem swig_types[56]
275 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
276 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
277 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
278 #define SWIGTYPE_p_wxImageList swig_types[60]
279 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
280 #define SWIGTYPE_p_wxTextAttr swig_types[62]
281 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
282 #define SWIGTYPE_p_wxPoint swig_types[64]
283 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
284 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
285 #define SWIGTYPE_p_wxObject swig_types[67]
286 #define SWIGTYPE_p_wxCursor swig_types[68]
287 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
288 #define SWIGTYPE_p_wxWindow swig_types[70]
289 #define SWIGTYPE_p_wxString swig_types[71]
290 #define SWIGTYPE_p_wxBitmap swig_types[72]
291 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
292 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxStaticText swig_types[76]
295 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
296 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
300 #define SWIGTYPE_p_wxValidator swig_types[82]
301 static swig_type_info *swig_types[84];
302
303 /* -------- TYPES TABLE (END) -------- */
304
305
306 /*-----------------------------------------------
307 @(target):= _controls.so
308 ------------------------------------------------*/
309 #define SWIG_init init_controls
310
311 #define SWIG_name "_controls"
312
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
315
316 DECLARE_DEF_STRING(PanelNameStr);
317 DECLARE_DEF_STRING(EmptyString);
318 DECLARE_DEF_STRING(ControlNameStr);
319
320
321
322 DECLARE_DEF_STRING(ButtonNameStr);
323
324
325 DECLARE_DEF_STRING(CheckBoxNameStr);
326
327
328 DECLARE_DEF_STRING(ChoiceNameStr);
329
330
331 DECLARE_DEF_STRING(ComboBoxNameStr);
332
333
334 DECLARE_DEF_STRING(GaugeNameStr);
335
336
337 DECLARE_DEF_STRING(StaticBitmapNameStr);
338 DECLARE_DEF_STRING(StaticBoxNameStr);
339 DECLARE_DEF_STRING(StaticTextNameStr);
340
341
342 #include <wx/checklst.h>
343
344 DECLARE_DEF_STRING(ListBoxNameStr);
345
346 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
347 if (clientData) {
348 wxPyClientData* data = new wxPyClientData(clientData);
349 self->Insert(item, pos, data);
350 } else
351 self->Insert(item, pos);
352 }
353 PyObject *wxListBox_GetSelections(wxListBox *self){
354 wxArrayInt lst;
355 self->GetSelections(lst);
356 PyObject *tup = PyTuple_New(lst.GetCount());
357 for(size_t i=0; i<lst.GetCount(); i++) {
358 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
359 }
360 return tup;
361 }
362
363 DECLARE_DEF_STRING(TextCtrlNameStr);
364
365
366 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
367 PyObject* o2;
368 PyObject* o3;
369
370 if (!target) {
371 target = o;
372 } else if (target == Py_None) {
373 Py_DECREF(Py_None);
374 target = o;
375 } else {
376 if (!PyTuple_Check(target)) {
377 o2 = target;
378 target = PyTuple_New(1);
379 PyTuple_SetItem(target, 0, o2);
380 }
381 o3 = PyTuple_New(1);
382 PyTuple_SetItem(o3, 0, o);
383
384 o2 = target;
385 target = PySequence_Concat(o2, o3);
386 Py_DECREF(o2);
387 Py_DECREF(o3);
388 }
389 return target;
390 }
391
392 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
393 self->AppendText(text);
394 }
395 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
396 return self->GetValue().Mid(from, to - from);
397 }
398
399 DECLARE_DEF_STRING(ScrollBarNameStr);
400
401
402 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
403 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
404 DECLARE_DEF_STRING(SpinCtrlNameStr);
405
406
407 DECLARE_DEF_STRING(RadioBoxNameStr);
408 DECLARE_DEF_STRING(RadioButtonNameStr);
409
410
411 #include <wx/slider.h>
412
413 DECLARE_DEF_STRING(SliderNameStr);
414
415
416 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
417 DECLARE_DEF_STRING(ToggleButtonNameStr);
418
419
420 #ifdef __WXMAC__
421 // implement dummy classes and such for wxMac
422
423 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
424
425 class wxToggleButton : public wxControl
426 {
427 public:
428 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
429 const wxPoint&, const wxSize&, long,
430 const wxValidator&, const wxString&)
431 { PyErr_SetNone(PyExc_NotImplementedError); }
432
433 wxToggleButton()
434 { PyErr_SetNone(PyExc_NotImplementedError); }
435 };
436 #endif
437
438
439 DECLARE_DEF_STRING(NOTEBOOK_NAME);
440
441
442 DECLARE_DEF_STRING(ToolBarNameStr);
443
444 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
445 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
446 if (udata) {
447 Py_INCREF(udata->m_obj);
448 return udata->m_obj;
449 } else {
450 Py_INCREF(Py_None);
451 return Py_None;
452 }
453 }
454 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
455 self->SetClientData(new wxPyUserData(clientData));
456 }
457 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){
458 wxPyUserData* udata = NULL;
459 if (clientData && clientData != Py_None)
460 udata = new wxPyUserData(clientData);
461 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
462 shortHelp, longHelp, udata);
463 }
464 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){
465 wxPyUserData* udata = NULL;
466 if (clientData && clientData != Py_None)
467 udata = new wxPyUserData(clientData);
468 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
469 shortHelp, longHelp, udata);
470 }
471 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
472 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
473 if (udata) {
474 Py_INCREF(udata->m_obj);
475 return udata->m_obj;
476 } else {
477 Py_INCREF(Py_None);
478 return Py_None;
479 }
480 }
481 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
482 self->SetToolClientData(id, new wxPyUserData(clientData));
483 }
484
485 #include <wx/listctrl.h>
486
487 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
488 DECLARE_DEF_STRING(ListCtrlNameStr);
489
490 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
491 // Python aware sorting function for wxPyListCtrl
492 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
493 int retval = 0;
494 PyObject* func = (PyObject*)funcPtr;
495 wxPyBeginBlockThreads();
496
497 PyObject* args = Py_BuildValue("(ii)", item1, item2);
498 PyObject* result = PyEval_CallObject(func, args);
499 Py_DECREF(args);
500 if (result) {
501 retval = PyInt_AsLong(result);
502 Py_DECREF(result);
503 }
504
505 wxPyEndBlockThreads();
506 return retval;
507 }
508
509 // C++ Version of a Python aware class
510 class wxPyListCtrl : public wxListCtrl {
511 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
512 public:
513 wxPyListCtrl() : wxListCtrl() {}
514 wxPyListCtrl(wxWindow* parent, wxWindowID id,
515 const wxPoint& pos,
516 const wxSize& size,
517 long style,
518 const wxValidator& validator,
519 const wxString& name) :
520 wxListCtrl(parent, id, pos, size, style, validator, name) {}
521
522 bool Create(wxWindow* parent, wxWindowID id,
523 const wxPoint& pos,
524 const wxSize& size,
525 long style,
526 const wxValidator& validator,
527 const wxString& name) {
528 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
529 }
530
531 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
532 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
533 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
534
535 PYPRIVATE;
536 };
537
538 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
539
540 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
541 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
542 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
543
544 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
545 wxListItem item;
546 item.SetMask( wxLIST_MASK_STATE |
547 wxLIST_MASK_TEXT |
548 wxLIST_MASK_IMAGE |
549 wxLIST_MASK_DATA |
550 wxLIST_SET_ITEM |
551 wxLIST_MASK_WIDTH |
552 wxLIST_MASK_FORMAT
553 );
554 if (self->GetColumn(col, item))
555 return new wxListItem(item);
556 else
557 return NULL;
558 }
559 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
560 wxListItem* info = new wxListItem;
561 info->m_itemId = itemId;
562 info->m_col = col;
563 info->m_mask = 0xFFFF;
564 self->GetItem(*info);
565 return info;
566 }
567 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
568 wxPoint pos;
569 self->GetItemPosition(item, pos);
570 return pos;
571 }
572 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
573 wxRect rect;
574 self->GetItemRect(item, rect, code);
575 return rect;
576 }
577 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
578 if (!PyCallable_Check(func))
579 return False;
580 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
581 }
582 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
583
584
585
586 return (wxWindow*)self->m_mainWin;
587
588 }
589
590 #include <wx/treectrl.h>
591 #include "wx/wxPython/pytree.h"
592
593 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
594 DECLARE_DEF_STRING(_TreeCtrlNameStr);
595
596 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
597 if (!other) return False;
598 return *self == *other;
599 }
600 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
601 if (!other) return True;
602 return *self != *other;
603 }
604 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
605 // C++ version of Python aware wxTreeCtrl
606 class wxPyTreeCtrl : public wxTreeCtrl {
607 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
608 public:
609 wxPyTreeCtrl() : wxTreeCtrl() {}
610 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
611 const wxPoint& pos,
612 const wxSize& size,
613 long style,
614 const wxValidator& validator,
615 const wxString& name) :
616 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
617
618 bool Create(wxWindow *parent, wxWindowID id,
619 const wxPoint& pos,
620 const wxSize& size,
621 long style,
622 const wxValidator& validator,
623 const wxString& name) {
624 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
625 }
626
627
628 int OnCompareItems(const wxTreeItemId& item1,
629 const wxTreeItemId& item2) {
630 int rval = 0;
631 bool found;
632 wxPyBeginBlockThreads();
633 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
634 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
635 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
637 Py_DECREF(o1);
638 Py_DECREF(o2);
639 }
640 wxPyEndBlockThreads();
641 if (! found)
642 rval = wxTreeCtrl::OnCompareItems(item1, item2);
643 return rval;
644 }
645 PYPRIVATE;
646 };
647
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
649
650
651 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
652 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
653 if (data == NULL) {
654 data = new wxPyTreeItemData();
655 data->SetId(item); // set the id
656 self->SetItemData(item, data);
657 }
658 return data;
659 }
660 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
661 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
662 if (data == NULL) {
663 data = new wxPyTreeItemData();
664 data->SetId(item); // set the id
665 self->SetItemData(item, data);
666 }
667 return data->GetData();
668 }
669 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 }
673 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
674 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
675 if (data == NULL) {
676 data = new wxPyTreeItemData(obj);
677 data->SetId(item); // set the id
678 self->SetItemData(item, data);
679 } else
680 data->SetData(obj);
681 }
682 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
683 wxPyBeginBlockThreads();
684 PyObject* rval = PyList_New(0);
685 wxArrayTreeItemIds array;
686 size_t num, x;
687 num = self->GetSelections(array);
688 for (x=0; x < num; x++) {
689 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
690 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
691 PyList_Append(rval, item);
692 }
693 wxPyEndBlockThreads();
694 return rval;
695 }
696 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
697 wxTreeItemIdValue cookie = 0;
698 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
699 wxPyBeginBlockThreads();
700 PyObject* tup = PyTuple_New(2);
701 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
702 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
703 wxPyEndBlockThreads();
704 return tup;
705 }
706 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
707 wxTreeItemId ritem = self->GetNextChild(item, cookie);
708 wxPyBeginBlockThreads();
709 PyObject* tup = PyTuple_New(2);
710 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
711 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
712 wxPyEndBlockThreads();
713 return tup;
714 }
715 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
716 wxRect rect;
717 if (self->GetBoundingRect(item, rect, textOnly)) {
718 wxPyBeginBlockThreads();
719 wxRect* r = new wxRect(rect);
720 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
721 wxPyEndBlockThreads();
722 return val;
723 }
724 else
725 RETURN_NONE();
726 }
727
728 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
729
730 // C++ version of Python aware wxControl
731 class wxPyControl : public wxControl
732 {
733 DECLARE_DYNAMIC_CLASS(wxPyControl)
734 public:
735 wxPyControl() : wxControl() {}
736 wxPyControl(wxWindow* parent, const wxWindowID id,
737 const wxPoint& pos = wxDefaultPosition,
738 const wxSize& size = wxDefaultSize,
739 long style = 0,
740 const wxValidator& validator=wxDefaultValidator,
741 const wxString& name = wxPyControlNameStr)
742 : wxControl(parent, id, pos, size, style, validator, name) {}
743
744
745 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
746 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
748 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
749
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
753
754 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
755 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
756
757 DEC_PYCALLBACK__(InitDialog);
758 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
759 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
760 DEC_PYCALLBACK_BOOL_(Validate);
761
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
763 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
764 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
765
766 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
767 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
768
769 PYPRIVATE;
770 };
771
772 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
773
774 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
775 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
777 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
778
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
782
783 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
784 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
785
786 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
787 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
788 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
789 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
790
791 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
792 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
793 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
794
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
796 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
797
798
799
800
801 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
802
803 #include <wx/generic/dragimgg.h>
804
805 #ifdef __cplusplus
806 extern "C" {
807 #endif
808 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxWindow *arg1 = (wxWindow *) 0 ;
811 int arg2 ;
812 wxString *arg3 = 0 ;
813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
815 wxSize const &arg5_defvalue = wxDefaultSize ;
816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
817 long arg6 = (long) 0 ;
818 wxValidator const &arg7_defvalue = wxDefaultValidator ;
819 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
820 wxString const &arg8_defvalue = wxPyButtonNameStr ;
821 wxString *arg8 = (wxString *) &arg8_defvalue ;
822 wxButton *result;
823 bool temp3 = False ;
824 wxPoint temp4 ;
825 wxSize temp5 ;
826 bool temp8 = False ;
827 PyObject * obj0 = 0 ;
828 PyObject * obj2 = 0 ;
829 PyObject * obj3 = 0 ;
830 PyObject * obj4 = 0 ;
831 PyObject * obj6 = 0 ;
832 PyObject * obj7 = 0 ;
833 char *kwnames[] = {
834 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
835 };
836
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
839 {
840 arg3 = wxString_in_helper(obj2);
841 if (arg3 == NULL) SWIG_fail;
842 temp3 = True;
843 }
844 if (obj3) {
845 {
846 arg4 = &temp4;
847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
848 }
849 }
850 if (obj4) {
851 {
852 arg5 = &temp5;
853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
854 }
855 }
856 if (obj6) {
857 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
858 if (arg7 == NULL) {
859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
860 }
861 }
862 if (obj7) {
863 {
864 arg8 = wxString_in_helper(obj7);
865 if (arg8 == NULL) SWIG_fail;
866 temp8 = True;
867 }
868 }
869 {
870 PyThreadState* __tstate = wxPyBeginAllowThreads();
871 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
872
873 wxPyEndAllowThreads(__tstate);
874 if (PyErr_Occurred()) SWIG_fail;
875 }
876 {
877 resultobj = wxPyMake_wxObject(result);
878 }
879 {
880 if (temp3)
881 delete arg3;
882 }
883 {
884 if (temp8)
885 delete arg8;
886 }
887 return resultobj;
888 fail:
889 {
890 if (temp3)
891 delete arg3;
892 }
893 {
894 if (temp8)
895 delete arg8;
896 }
897 return NULL;
898 }
899
900
901 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject *resultobj;
903 wxButton *result;
904 char *kwnames[] = {
905 NULL
906 };
907
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
909 {
910 PyThreadState* __tstate = wxPyBeginAllowThreads();
911 result = (wxButton *)new wxButton();
912
913 wxPyEndAllowThreads(__tstate);
914 if (PyErr_Occurred()) SWIG_fail;
915 }
916 {
917 resultobj = wxPyMake_wxObject(result);
918 }
919 return resultobj;
920 fail:
921 return NULL;
922 }
923
924
925 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject *resultobj;
927 wxButton *arg1 = (wxButton *) 0 ;
928 wxWindow *arg2 = (wxWindow *) 0 ;
929 int arg3 ;
930 wxString *arg4 = 0 ;
931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
933 wxSize const &arg6_defvalue = wxDefaultSize ;
934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
935 long arg7 = (long) 0 ;
936 wxValidator const &arg8_defvalue = wxDefaultValidator ;
937 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
938 wxString const &arg9_defvalue = wxPyButtonNameStr ;
939 wxString *arg9 = (wxString *) &arg9_defvalue ;
940 bool result;
941 bool temp4 = False ;
942 wxPoint temp5 ;
943 wxSize temp6 ;
944 bool temp9 = False ;
945 PyObject * obj0 = 0 ;
946 PyObject * obj1 = 0 ;
947 PyObject * obj3 = 0 ;
948 PyObject * obj4 = 0 ;
949 PyObject * obj5 = 0 ;
950 PyObject * obj7 = 0 ;
951 PyObject * obj8 = 0 ;
952 char *kwnames[] = {
953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
954 };
955
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 {
960 arg4 = wxString_in_helper(obj3);
961 if (arg4 == NULL) SWIG_fail;
962 temp4 = True;
963 }
964 if (obj4) {
965 {
966 arg5 = &temp5;
967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
968 }
969 }
970 if (obj5) {
971 {
972 arg6 = &temp6;
973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
974 }
975 }
976 if (obj7) {
977 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 if (arg8 == NULL) {
979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
980 }
981 }
982 if (obj8) {
983 {
984 arg9 = wxString_in_helper(obj8);
985 if (arg9 == NULL) SWIG_fail;
986 temp9 = True;
987 }
988 }
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 resultobj = PyInt_FromLong((long)result);
997 {
998 if (temp4)
999 delete arg4;
1000 }
1001 {
1002 if (temp9)
1003 delete arg9;
1004 }
1005 return resultobj;
1006 fail:
1007 {
1008 if (temp4)
1009 delete arg4;
1010 }
1011 {
1012 if (temp9)
1013 delete arg9;
1014 }
1015 return NULL;
1016 }
1017
1018
1019 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1020 PyObject *resultobj;
1021 wxButton *arg1 = (wxButton *) 0 ;
1022 PyObject * obj0 = 0 ;
1023 char *kwnames[] = {
1024 (char *) "self", NULL
1025 };
1026
1027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1029 {
1030 PyThreadState* __tstate = wxPyBeginAllowThreads();
1031 (arg1)->SetDefault();
1032
1033 wxPyEndAllowThreads(__tstate);
1034 if (PyErr_Occurred()) SWIG_fail;
1035 }
1036 Py_INCREF(Py_None); resultobj = Py_None;
1037 return resultobj;
1038 fail:
1039 return NULL;
1040 }
1041
1042
1043 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxSize result;
1046 char *kwnames[] = {
1047 NULL
1048 };
1049
1050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1051 {
1052 PyThreadState* __tstate = wxPyBeginAllowThreads();
1053 result = wxButton::GetDefaultSize();
1054
1055 wxPyEndAllowThreads(__tstate);
1056 if (PyErr_Occurred()) SWIG_fail;
1057 }
1058 {
1059 wxSize * resultptr;
1060 resultptr = new wxSize((wxSize &) result);
1061 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1062 }
1063 return resultobj;
1064 fail:
1065 return NULL;
1066 }
1067
1068
1069 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1070 PyObject *obj;
1071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1072 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1073 Py_INCREF(obj);
1074 return Py_BuildValue((char *)"");
1075 }
1076 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject *resultobj;
1078 wxWindow *arg1 = (wxWindow *) 0 ;
1079 int arg2 ;
1080 wxBitmap *arg3 = 0 ;
1081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1083 wxSize const &arg5_defvalue = wxDefaultSize ;
1084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1085 long arg6 = (long) wxBU_AUTODRAW ;
1086 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1087 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1088 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1089 wxString *arg8 = (wxString *) &arg8_defvalue ;
1090 wxBitmapButton *result;
1091 wxPoint temp4 ;
1092 wxSize temp5 ;
1093 bool temp8 = False ;
1094 PyObject * obj0 = 0 ;
1095 PyObject * obj2 = 0 ;
1096 PyObject * obj3 = 0 ;
1097 PyObject * obj4 = 0 ;
1098 PyObject * obj6 = 0 ;
1099 PyObject * obj7 = 0 ;
1100 char *kwnames[] = {
1101 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1102 };
1103
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1107 if (arg3 == NULL) {
1108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1109 }
1110 if (obj3) {
1111 {
1112 arg4 = &temp4;
1113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1114 }
1115 }
1116 if (obj4) {
1117 {
1118 arg5 = &temp5;
1119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1120 }
1121 }
1122 if (obj6) {
1123 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1124 if (arg7 == NULL) {
1125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1126 }
1127 }
1128 if (obj7) {
1129 {
1130 arg8 = wxString_in_helper(obj7);
1131 if (arg8 == NULL) SWIG_fail;
1132 temp8 = True;
1133 }
1134 }
1135 {
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) SWIG_fail;
1141 }
1142 {
1143 resultobj = wxPyMake_wxObject(result);
1144 }
1145 {
1146 if (temp8)
1147 delete arg8;
1148 }
1149 return resultobj;
1150 fail:
1151 {
1152 if (temp8)
1153 delete arg8;
1154 }
1155 return NULL;
1156 }
1157
1158
1159 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxBitmapButton *result;
1162 char *kwnames[] = {
1163 NULL
1164 };
1165
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = (wxBitmapButton *)new wxBitmapButton();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 resultobj = wxPyMake_wxObject(result);
1176 }
1177 return resultobj;
1178 fail:
1179 return NULL;
1180 }
1181
1182
1183 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject *resultobj;
1185 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1186 wxWindow *arg2 = (wxWindow *) 0 ;
1187 int arg3 ;
1188 wxBitmap *arg4 = 0 ;
1189 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1190 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1191 wxSize const &arg6_defvalue = wxDefaultSize ;
1192 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1193 long arg7 = (long) wxBU_AUTODRAW ;
1194 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1195 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1196 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1197 wxString *arg9 = (wxString *) &arg9_defvalue ;
1198 bool result;
1199 wxPoint temp5 ;
1200 wxSize temp6 ;
1201 bool temp9 = False ;
1202 PyObject * obj0 = 0 ;
1203 PyObject * obj1 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj4 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 PyObject * obj7 = 0 ;
1208 PyObject * obj8 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1217 if (arg4 == NULL) {
1218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1219 }
1220 if (obj4) {
1221 {
1222 arg5 = &temp5;
1223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1224 }
1225 }
1226 if (obj5) {
1227 {
1228 arg6 = &temp6;
1229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1230 }
1231 }
1232 if (obj7) {
1233 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1234 if (arg8 == NULL) {
1235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1236 }
1237 }
1238 if (obj8) {
1239 {
1240 arg9 = wxString_in_helper(obj8);
1241 if (arg9 == NULL) SWIG_fail;
1242 temp9 = True;
1243 }
1244 }
1245 {
1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
1247 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1248
1249 wxPyEndAllowThreads(__tstate);
1250 if (PyErr_Occurred()) SWIG_fail;
1251 }
1252 resultobj = PyInt_FromLong((long)result);
1253 {
1254 if (temp9)
1255 delete arg9;
1256 }
1257 return resultobj;
1258 fail:
1259 {
1260 if (temp9)
1261 delete arg9;
1262 }
1263 return NULL;
1264 }
1265
1266
1267 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject *resultobj;
1269 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1270 wxBitmap result;
1271 PyObject * obj0 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 {
1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
1280 result = (arg1)->GetBitmapLabel();
1281
1282 wxPyEndAllowThreads(__tstate);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 }
1285 {
1286 wxBitmap * resultptr;
1287 resultptr = new wxBitmap((wxBitmap &) result);
1288 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1289 }
1290 return resultobj;
1291 fail:
1292 return NULL;
1293 }
1294
1295
1296 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject *resultobj;
1298 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1299 wxBitmap result;
1300 PyObject * obj0 = 0 ;
1301 char *kwnames[] = {
1302 (char *) "self", NULL
1303 };
1304
1305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1307 {
1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
1309 result = (arg1)->GetBitmapDisabled();
1310
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 {
1315 wxBitmap * resultptr;
1316 resultptr = new wxBitmap((wxBitmap &) result);
1317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1318 }
1319 return resultobj;
1320 fail:
1321 return NULL;
1322 }
1323
1324
1325 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1328 wxBitmap result;
1329 PyObject * obj0 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "self", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (arg1)->GetBitmapFocus();
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 wxBitmap * resultptr;
1345 resultptr = new wxBitmap((wxBitmap &) result);
1346 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1347 }
1348 return resultobj;
1349 fail:
1350 return NULL;
1351 }
1352
1353
1354 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1355 PyObject *resultobj;
1356 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1357 wxBitmap result;
1358 PyObject * obj0 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "self", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 result = (arg1)->GetBitmapSelected();
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 {
1373 wxBitmap * resultptr;
1374 resultptr = new wxBitmap((wxBitmap &) result);
1375 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1376 }
1377 return resultobj;
1378 fail:
1379 return NULL;
1380 }
1381
1382
1383 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject *resultobj;
1385 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1386 wxBitmap *arg2 = 0 ;
1387 PyObject * obj0 = 0 ;
1388 PyObject * obj1 = 0 ;
1389 char *kwnames[] = {
1390 (char *) "self",(char *) "bitmap", NULL
1391 };
1392
1393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1396 if (arg2 == NULL) {
1397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1398 }
1399 {
1400 PyThreadState* __tstate = wxPyBeginAllowThreads();
1401 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1402
1403 wxPyEndAllowThreads(__tstate);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 Py_INCREF(Py_None); resultobj = Py_None;
1407 return resultobj;
1408 fail:
1409 return NULL;
1410 }
1411
1412
1413 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1414 PyObject *resultobj;
1415 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1416 wxBitmap *arg2 = 0 ;
1417 PyObject * obj0 = 0 ;
1418 PyObject * obj1 = 0 ;
1419 char *kwnames[] = {
1420 (char *) "self",(char *) "bitmap", NULL
1421 };
1422
1423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1426 if (arg2 == NULL) {
1427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 Py_INCREF(Py_None); resultobj = Py_None;
1437 return resultobj;
1438 fail:
1439 return NULL;
1440 }
1441
1442
1443 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1444 PyObject *resultobj;
1445 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1446 wxBitmap *arg2 = 0 ;
1447 PyObject * obj0 = 0 ;
1448 PyObject * obj1 = 0 ;
1449 char *kwnames[] = {
1450 (char *) "self",(char *) "bitmap", NULL
1451 };
1452
1453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1456 if (arg2 == NULL) {
1457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1458 }
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject *resultobj;
1475 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1476 wxBitmap *arg2 = 0 ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1479 char *kwnames[] = {
1480 (char *) "self",(char *) "bitmap", NULL
1481 };
1482
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1486 if (arg2 == NULL) {
1487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1488 }
1489 {
1490 PyThreadState* __tstate = wxPyBeginAllowThreads();
1491 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1492
1493 wxPyEndAllowThreads(__tstate);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 Py_INCREF(Py_None); resultobj = Py_None;
1497 return resultobj;
1498 fail:
1499 return NULL;
1500 }
1501
1502
1503 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject *resultobj;
1505 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1506 int arg2 ;
1507 int arg3 ;
1508 PyObject * obj0 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "self",(char *) "x",(char *) "y", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 (arg1)->SetMargins(arg2,arg3);
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 Py_INCREF(Py_None); resultobj = Py_None;
1523 return resultobj;
1524 fail:
1525 return NULL;
1526 }
1527
1528
1529 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject *resultobj;
1531 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1532 int result;
1533 PyObject * obj0 = 0 ;
1534 char *kwnames[] = {
1535 (char *) "self", NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = PyInt_FromLong((long)result);
1548 return resultobj;
1549 fail:
1550 return NULL;
1551 }
1552
1553
1554 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1557 int result;
1558 PyObject * obj0 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 resultobj = PyInt_FromLong((long)result);
1573 return resultobj;
1574 fail:
1575 return NULL;
1576 }
1577
1578
1579 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1580 PyObject *obj;
1581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1582 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1583 Py_INCREF(obj);
1584 return Py_BuildValue((char *)"");
1585 }
1586 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxWindow *arg1 = (wxWindow *) 0 ;
1589 int arg2 ;
1590 wxString *arg3 = 0 ;
1591 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1592 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1593 wxSize const &arg5_defvalue = wxDefaultSize ;
1594 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1595 long arg6 = (long) 0 ;
1596 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1597 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1598 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1599 wxString *arg8 = (wxString *) &arg8_defvalue ;
1600 wxCheckBox *result;
1601 bool temp3 = False ;
1602 wxPoint temp4 ;
1603 wxSize temp5 ;
1604 bool temp8 = False ;
1605 PyObject * obj0 = 0 ;
1606 PyObject * obj2 = 0 ;
1607 PyObject * obj3 = 0 ;
1608 PyObject * obj4 = 0 ;
1609 PyObject * obj6 = 0 ;
1610 PyObject * obj7 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 {
1618 arg3 = wxString_in_helper(obj2);
1619 if (arg3 == NULL) SWIG_fail;
1620 temp3 = True;
1621 }
1622 if (obj3) {
1623 {
1624 arg4 = &temp4;
1625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1626 }
1627 }
1628 if (obj4) {
1629 {
1630 arg5 = &temp5;
1631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1632 }
1633 }
1634 if (obj6) {
1635 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1636 if (arg7 == NULL) {
1637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1638 }
1639 }
1640 if (obj7) {
1641 {
1642 arg8 = wxString_in_helper(obj7);
1643 if (arg8 == NULL) SWIG_fail;
1644 temp8 = True;
1645 }
1646 }
1647 {
1648 PyThreadState* __tstate = wxPyBeginAllowThreads();
1649 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1650
1651 wxPyEndAllowThreads(__tstate);
1652 if (PyErr_Occurred()) SWIG_fail;
1653 }
1654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1655 {
1656 if (temp3)
1657 delete arg3;
1658 }
1659 {
1660 if (temp8)
1661 delete arg8;
1662 }
1663 return resultobj;
1664 fail:
1665 {
1666 if (temp3)
1667 delete arg3;
1668 }
1669 {
1670 if (temp8)
1671 delete arg8;
1672 }
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxCheckBox *result;
1680 char *kwnames[] = {
1681 NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1685 {
1686 PyThreadState* __tstate = wxPyBeginAllowThreads();
1687 result = (wxCheckBox *)new wxCheckBox();
1688
1689 wxPyEndAllowThreads(__tstate);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 }
1692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1693 return resultobj;
1694 fail:
1695 return NULL;
1696 }
1697
1698
1699 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1702 wxWindow *arg2 = (wxWindow *) 0 ;
1703 int arg3 ;
1704 wxString *arg4 = 0 ;
1705 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1706 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1707 wxSize const &arg6_defvalue = wxDefaultSize ;
1708 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1709 long arg7 = (long) 0 ;
1710 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1711 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1712 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1713 wxString *arg9 = (wxString *) &arg9_defvalue ;
1714 bool result;
1715 bool temp4 = False ;
1716 wxPoint temp5 ;
1717 wxSize temp6 ;
1718 bool temp9 = False ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721 PyObject * obj3 = 0 ;
1722 PyObject * obj4 = 0 ;
1723 PyObject * obj5 = 0 ;
1724 PyObject * obj7 = 0 ;
1725 PyObject * obj8 = 0 ;
1726 char *kwnames[] = {
1727 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1728 };
1729
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1733 {
1734 arg4 = wxString_in_helper(obj3);
1735 if (arg4 == NULL) SWIG_fail;
1736 temp4 = True;
1737 }
1738 if (obj4) {
1739 {
1740 arg5 = &temp5;
1741 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1742 }
1743 }
1744 if (obj5) {
1745 {
1746 arg6 = &temp6;
1747 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1748 }
1749 }
1750 if (obj7) {
1751 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1752 if (arg8 == NULL) {
1753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1754 }
1755 }
1756 if (obj8) {
1757 {
1758 arg9 = wxString_in_helper(obj8);
1759 if (arg9 == NULL) SWIG_fail;
1760 temp9 = True;
1761 }
1762 }
1763 {
1764 PyThreadState* __tstate = wxPyBeginAllowThreads();
1765 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1766
1767 wxPyEndAllowThreads(__tstate);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 }
1770 resultobj = PyInt_FromLong((long)result);
1771 {
1772 if (temp4)
1773 delete arg4;
1774 }
1775 {
1776 if (temp9)
1777 delete arg9;
1778 }
1779 return resultobj;
1780 fail:
1781 {
1782 if (temp4)
1783 delete arg4;
1784 }
1785 {
1786 if (temp9)
1787 delete arg9;
1788 }
1789 return NULL;
1790 }
1791
1792
1793 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject *resultobj;
1795 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1796 bool result;
1797 PyObject * obj0 = 0 ;
1798 char *kwnames[] = {
1799 (char *) "self", NULL
1800 };
1801
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 result = (bool)(arg1)->GetValue();
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 resultobj = PyInt_FromLong((long)result);
1812 return resultobj;
1813 fail:
1814 return NULL;
1815 }
1816
1817
1818 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject *resultobj;
1820 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1821 bool result;
1822 PyObject * obj0 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "self", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (bool)(arg1)->IsChecked();
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = PyInt_FromLong((long)result);
1837 return resultobj;
1838 fail:
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1846 bool arg2 ;
1847 PyObject * obj0 = 0 ;
1848 PyObject * obj1 = 0 ;
1849 char *kwnames[] = {
1850 (char *) "self",(char *) "state", NULL
1851 };
1852
1853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1855 arg2 = PyInt_AsLong(obj1) ? true : false;
1856 if (PyErr_Occurred()) SWIG_fail;
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 (arg1)->SetValue(arg2);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 Py_INCREF(Py_None); resultobj = Py_None;
1865 return resultobj;
1866 fail:
1867 return NULL;
1868 }
1869
1870
1871 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject *resultobj;
1873 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1874 int result;
1875 PyObject * obj0 = 0 ;
1876 char *kwnames[] = {
1877 (char *) "self", NULL
1878 };
1879
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1882 {
1883 PyThreadState* __tstate = wxPyBeginAllowThreads();
1884 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1885
1886 wxPyEndAllowThreads(__tstate);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 }
1889 resultobj = PyInt_FromLong((long)result);
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1899 int arg2 ;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self",(char *) "state", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1924 bool result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 resultobj = PyInt_FromLong((long)result);
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1949 bool result;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1957 {
1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
1959 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1960
1961 wxPyEndAllowThreads(__tstate);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 }
1964 resultobj = PyInt_FromLong((long)result);
1965 return resultobj;
1966 fail:
1967 return NULL;
1968 }
1969
1970
1971 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1972 PyObject *obj;
1973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1974 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1975 Py_INCREF(obj);
1976 return Py_BuildValue((char *)"");
1977 }
1978 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxWindow *arg1 = (wxWindow *) 0 ;
1981 int arg2 ;
1982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1984 wxSize const &arg4_defvalue = wxDefaultSize ;
1985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1986 int arg5 = (int) 0 ;
1987 wxString *arg6 = (wxString *) NULL ;
1988 long arg7 = (long) 0 ;
1989 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1990 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1991 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1992 wxString *arg9 = (wxString *) &arg9_defvalue ;
1993 wxChoice *result;
1994 wxPoint temp3 ;
1995 wxSize temp4 ;
1996 bool temp8 = False ;
1997 PyObject * obj0 = 0 ;
1998 PyObject * obj2 = 0 ;
1999 PyObject * obj3 = 0 ;
2000 PyObject * obj4 = 0 ;
2001 PyObject * obj6 = 0 ;
2002 PyObject * obj7 = 0 ;
2003 char *kwnames[] = {
2004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2005 };
2006
2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2009 if (obj2) {
2010 {
2011 arg3 = &temp3;
2012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2013 }
2014 }
2015 if (obj3) {
2016 {
2017 arg4 = &temp4;
2018 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2019 }
2020 }
2021 if (obj4) {
2022 {
2023 arg5 = PyList_Size(obj4);
2024 arg6 = wxString_LIST_helper(obj4);
2025 if (arg6 == NULL) SWIG_fail;
2026 }
2027 }
2028 if (obj6) {
2029 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2030 if (arg8 == NULL) {
2031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2032 }
2033 }
2034 if (obj7) {
2035 {
2036 arg9 = wxString_in_helper(obj7);
2037 if (arg9 == NULL) SWIG_fail;
2038 temp8 = True;
2039 }
2040 }
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 }
2048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2049 {
2050 if (arg6) delete [] arg6;
2051 }
2052 {
2053 if (temp8)
2054 delete arg9;
2055 }
2056 return resultobj;
2057 fail:
2058 {
2059 if (arg6) delete [] arg6;
2060 }
2061 {
2062 if (temp8)
2063 delete arg9;
2064 }
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxChoice *result;
2072 char *kwnames[] = {
2073 NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 result = (wxChoice *)new wxChoice();
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2085 return resultobj;
2086 fail:
2087 return NULL;
2088 }
2089
2090
2091 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject *resultobj;
2093 wxChoice *arg1 = (wxChoice *) 0 ;
2094 wxWindow *arg2 = (wxWindow *) 0 ;
2095 int arg3 ;
2096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2098 wxSize const &arg5_defvalue = wxDefaultSize ;
2099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2100 int arg6 = (int) 0 ;
2101 wxString *arg7 = (wxString *) NULL ;
2102 long arg8 = (long) 0 ;
2103 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2104 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2105 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2106 wxString *arg10 = (wxString *) &arg10_defvalue ;
2107 bool result;
2108 wxPoint temp4 ;
2109 wxSize temp5 ;
2110 bool temp9 = False ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 PyObject * obj3 = 0 ;
2114 PyObject * obj4 = 0 ;
2115 PyObject * obj5 = 0 ;
2116 PyObject * obj7 = 0 ;
2117 PyObject * obj8 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2125 if (obj3) {
2126 {
2127 arg4 = &temp4;
2128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2129 }
2130 }
2131 if (obj4) {
2132 {
2133 arg5 = &temp5;
2134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2135 }
2136 }
2137 if (obj5) {
2138 {
2139 arg6 = PyList_Size(obj5);
2140 arg7 = wxString_LIST_helper(obj5);
2141 if (arg7 == NULL) SWIG_fail;
2142 }
2143 }
2144 if (obj7) {
2145 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2146 if (arg9 == NULL) {
2147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2148 }
2149 }
2150 if (obj8) {
2151 {
2152 arg10 = wxString_in_helper(obj8);
2153 if (arg10 == NULL) SWIG_fail;
2154 temp9 = True;
2155 }
2156 }
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 resultobj = PyInt_FromLong((long)result);
2165 {
2166 if (arg7) delete [] arg7;
2167 }
2168 {
2169 if (temp9)
2170 delete arg10;
2171 }
2172 return resultobj;
2173 fail:
2174 {
2175 if (arg7) delete [] arg7;
2176 }
2177 {
2178 if (temp9)
2179 delete arg10;
2180 }
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxChoice *arg1 = (wxChoice *) 0 ;
2188 int result;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "self", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = (int)(arg1)->GetColumns();
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 resultobj = PyInt_FromLong((long)result);
2204 return resultobj;
2205 fail:
2206 return NULL;
2207 }
2208
2209
2210 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxChoice *arg1 = (wxChoice *) 0 ;
2213 int arg2 = (int) (int)1 ;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self",(char *) "n", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 (arg1)->SetColumns(arg2);
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 Py_INCREF(Py_None); resultobj = Py_None;
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxChoice *arg1 = (wxChoice *) 0 ;
2238 int arg2 ;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self",(char *) "n", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 (arg1)->SetSelection(arg2);
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 Py_INCREF(Py_None); resultobj = Py_None;
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxChoice *arg1 = (wxChoice *) 0 ;
2263 wxString *arg2 = 0 ;
2264 bool temp2 = False ;
2265 PyObject * obj0 = 0 ;
2266 PyObject * obj1 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "string", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2273 {
2274 arg2 = wxString_in_helper(obj1);
2275 if (arg2 == NULL) SWIG_fail;
2276 temp2 = True;
2277 }
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 (arg1)->SetStringSelection((wxString const &)*arg2);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 {
2287 if (temp2)
2288 delete arg2;
2289 }
2290 return resultobj;
2291 fail:
2292 {
2293 if (temp2)
2294 delete arg2;
2295 }
2296 return NULL;
2297 }
2298
2299
2300 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject *resultobj;
2302 wxChoice *arg1 = (wxChoice *) 0 ;
2303 int arg2 ;
2304 wxString *arg3 = 0 ;
2305 bool temp3 = False ;
2306 PyObject * obj0 = 0 ;
2307 PyObject * obj2 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self",(char *) "n",(char *) "s", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 {
2315 arg3 = wxString_in_helper(obj2);
2316 if (arg3 == NULL) SWIG_fail;
2317 temp3 = True;
2318 }
2319 {
2320 PyThreadState* __tstate = wxPyBeginAllowThreads();
2321 (arg1)->SetString(arg2,(wxString const &)*arg3);
2322
2323 wxPyEndAllowThreads(__tstate);
2324 if (PyErr_Occurred()) SWIG_fail;
2325 }
2326 Py_INCREF(Py_None); resultobj = Py_None;
2327 {
2328 if (temp3)
2329 delete arg3;
2330 }
2331 return resultobj;
2332 fail:
2333 {
2334 if (temp3)
2335 delete arg3;
2336 }
2337 return NULL;
2338 }
2339
2340
2341 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2342 PyObject *obj;
2343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2344 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2345 Py_INCREF(obj);
2346 return Py_BuildValue((char *)"");
2347 }
2348 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxWindow *arg1 = (wxWindow *) 0 ;
2351 int arg2 ;
2352 wxString const &arg3_defvalue = wxPyEmptyString ;
2353 wxString *arg3 = (wxString *) &arg3_defvalue ;
2354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2356 wxSize const &arg5_defvalue = wxDefaultSize ;
2357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2358 int arg6 = (int) 0 ;
2359 wxString *arg7 = (wxString *) NULL ;
2360 long arg8 = (long) 0 ;
2361 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2362 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2363 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2364 wxString *arg10 = (wxString *) &arg10_defvalue ;
2365 wxComboBox *result;
2366 bool temp3 = False ;
2367 wxPoint temp4 ;
2368 wxSize temp5 ;
2369 bool temp9 = False ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj2 = 0 ;
2372 PyObject * obj3 = 0 ;
2373 PyObject * obj4 = 0 ;
2374 PyObject * obj5 = 0 ;
2375 PyObject * obj7 = 0 ;
2376 PyObject * obj8 = 0 ;
2377 char *kwnames[] = {
2378 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2379 };
2380
2381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2383 if (obj2) {
2384 {
2385 arg3 = wxString_in_helper(obj2);
2386 if (arg3 == NULL) SWIG_fail;
2387 temp3 = True;
2388 }
2389 }
2390 if (obj3) {
2391 {
2392 arg4 = &temp4;
2393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2394 }
2395 }
2396 if (obj4) {
2397 {
2398 arg5 = &temp5;
2399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2400 }
2401 }
2402 if (obj5) {
2403 {
2404 arg6 = PyList_Size(obj5);
2405 arg7 = wxString_LIST_helper(obj5);
2406 if (arg7 == NULL) SWIG_fail;
2407 }
2408 }
2409 if (obj7) {
2410 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2411 if (arg9 == NULL) {
2412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2413 }
2414 }
2415 if (obj8) {
2416 {
2417 arg10 = wxString_in_helper(obj8);
2418 if (arg10 == NULL) SWIG_fail;
2419 temp9 = True;
2420 }
2421 }
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2430 {
2431 if (temp3)
2432 delete arg3;
2433 }
2434 {
2435 if (arg7) delete [] arg7;
2436 }
2437 {
2438 if (temp9)
2439 delete arg10;
2440 }
2441 return resultobj;
2442 fail:
2443 {
2444 if (temp3)
2445 delete arg3;
2446 }
2447 {
2448 if (arg7) delete [] arg7;
2449 }
2450 {
2451 if (temp9)
2452 delete arg10;
2453 }
2454 return NULL;
2455 }
2456
2457
2458 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxComboBox *result;
2461 char *kwnames[] = {
2462 NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 result = (wxComboBox *)new wxComboBox();
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxComboBox *arg1 = (wxComboBox *) 0 ;
2483 wxWindow *arg2 = (wxWindow *) 0 ;
2484 int arg3 ;
2485 wxString const &arg4_defvalue = wxPyEmptyString ;
2486 wxString *arg4 = (wxString *) &arg4_defvalue ;
2487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2489 wxSize const &arg6_defvalue = wxDefaultSize ;
2490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2491 int arg7 = (int) 0 ;
2492 wxString *arg8 = (wxString *) NULL ;
2493 long arg9 = (long) 0 ;
2494 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2495 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2496 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2497 wxString *arg11 = (wxString *) &arg11_defvalue ;
2498 bool result;
2499 bool temp4 = False ;
2500 wxPoint temp5 ;
2501 wxSize temp6 ;
2502 bool temp10 = False ;
2503 PyObject * obj0 = 0 ;
2504 PyObject * obj1 = 0 ;
2505 PyObject * obj3 = 0 ;
2506 PyObject * obj4 = 0 ;
2507 PyObject * obj5 = 0 ;
2508 PyObject * obj6 = 0 ;
2509 PyObject * obj8 = 0 ;
2510 PyObject * obj9 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 if (obj3) {
2519 {
2520 arg4 = wxString_in_helper(obj3);
2521 if (arg4 == NULL) SWIG_fail;
2522 temp4 = True;
2523 }
2524 }
2525 if (obj4) {
2526 {
2527 arg5 = &temp5;
2528 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2529 }
2530 }
2531 if (obj5) {
2532 {
2533 arg6 = &temp6;
2534 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2535 }
2536 }
2537 if (obj6) {
2538 {
2539 arg7 = PyList_Size(obj6);
2540 arg8 = wxString_LIST_helper(obj6);
2541 if (arg8 == NULL) SWIG_fail;
2542 }
2543 }
2544 if (obj8) {
2545 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2546 if (arg10 == NULL) {
2547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2548 }
2549 }
2550 if (obj9) {
2551 {
2552 arg11 = wxString_in_helper(obj9);
2553 if (arg11 == NULL) SWIG_fail;
2554 temp10 = True;
2555 }
2556 }
2557 {
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) SWIG_fail;
2563 }
2564 resultobj = PyInt_FromLong((long)result);
2565 {
2566 if (temp4)
2567 delete arg4;
2568 }
2569 {
2570 if (arg8) delete [] arg8;
2571 }
2572 {
2573 if (temp10)
2574 delete arg11;
2575 }
2576 return resultobj;
2577 fail:
2578 {
2579 if (temp4)
2580 delete arg4;
2581 }
2582 {
2583 if (arg8) delete [] arg8;
2584 }
2585 {
2586 if (temp10)
2587 delete arg11;
2588 }
2589 return NULL;
2590 }
2591
2592
2593 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxComboBox *arg1 = (wxComboBox *) 0 ;
2596 wxString result;
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 result = ((wxComboBox const *)arg1)->GetValue();
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 {
2612 #if wxUSE_UNICODE
2613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2614 #else
2615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2616 #endif
2617 }
2618 return resultobj;
2619 fail:
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxComboBox *arg1 = (wxComboBox *) 0 ;
2627 wxString *arg2 = 0 ;
2628 bool temp2 = False ;
2629 PyObject * obj0 = 0 ;
2630 PyObject * obj1 = 0 ;
2631 char *kwnames[] = {
2632 (char *) "self",(char *) "value", NULL
2633 };
2634
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2637 {
2638 arg2 = wxString_in_helper(obj1);
2639 if (arg2 == NULL) SWIG_fail;
2640 temp2 = True;
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 (arg1)->SetValue((wxString const &)*arg2);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) SWIG_fail;
2648 }
2649 Py_INCREF(Py_None); resultobj = Py_None;
2650 {
2651 if (temp2)
2652 delete arg2;
2653 }
2654 return resultobj;
2655 fail:
2656 {
2657 if (temp2)
2658 delete arg2;
2659 }
2660 return NULL;
2661 }
2662
2663
2664 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2665 PyObject *resultobj;
2666 wxComboBox *arg1 = (wxComboBox *) 0 ;
2667 PyObject * obj0 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 (arg1)->Copy();
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 Py_INCREF(Py_None); resultobj = Py_None;
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxComboBox *arg1 = (wxComboBox *) 0 ;
2691 PyObject * obj0 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 (arg1)->Cut();
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 return resultobj;
2707 fail:
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxComboBox *arg1 = (wxComboBox *) 0 ;
2715 PyObject * obj0 = 0 ;
2716 char *kwnames[] = {
2717 (char *) "self", NULL
2718 };
2719
2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 (arg1)->Paste();
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxComboBox *arg1 = (wxComboBox *) 0 ;
2739 long arg2 ;
2740 PyObject * obj0 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self",(char *) "pos", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 (arg1)->SetInsertionPoint(arg2);
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 Py_INCREF(Py_None); resultobj = Py_None;
2755 return resultobj;
2756 fail:
2757 return NULL;
2758 }
2759
2760
2761 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxComboBox *arg1 = (wxComboBox *) 0 ;
2764 long result;
2765 PyObject * obj0 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "self", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 resultobj = PyInt_FromLong((long)result);
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxComboBox *arg1 = (wxComboBox *) 0 ;
2789 long result;
2790 PyObject * obj0 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 resultobj = PyInt_FromLong((long)result);
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxComboBox *arg1 = (wxComboBox *) 0 ;
2814 long arg2 ;
2815 long arg3 ;
2816 wxString *arg4 = 0 ;
2817 bool temp4 = False ;
2818 PyObject * obj0 = 0 ;
2819 PyObject * obj3 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2826 {
2827 arg4 = wxString_in_helper(obj3);
2828 if (arg4 == NULL) SWIG_fail;
2829 temp4 = True;
2830 }
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) SWIG_fail;
2837 }
2838 Py_INCREF(Py_None); resultobj = Py_None;
2839 {
2840 if (temp4)
2841 delete arg4;
2842 }
2843 return resultobj;
2844 fail:
2845 {
2846 if (temp4)
2847 delete arg4;
2848 }
2849 return NULL;
2850 }
2851
2852
2853 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject *resultobj;
2855 wxComboBox *arg1 = (wxComboBox *) 0 ;
2856 long arg2 ;
2857 long arg3 ;
2858 PyObject * obj0 = 0 ;
2859 char *kwnames[] = {
2860 (char *) "self",(char *) "from",(char *) "to", NULL
2861 };
2862
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 (arg1)->SetSelection(arg2,arg3);
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 }
2872 Py_INCREF(Py_None); resultobj = Py_None;
2873 return resultobj;
2874 fail:
2875 return NULL;
2876 }
2877
2878
2879 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject *resultobj;
2881 wxComboBox *arg1 = (wxComboBox *) 0 ;
2882 bool arg2 ;
2883 PyObject * obj0 = 0 ;
2884 PyObject * obj1 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "editable", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 arg2 = PyInt_AsLong(obj1) ? true : false;
2892 if (PyErr_Occurred()) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->SetEditable(arg2);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxComboBox *arg1 = (wxComboBox *) 0 ;
2910 PyObject * obj0 = 0 ;
2911 char *kwnames[] = {
2912 (char *) "self", NULL
2913 };
2914
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetInsertionPointEnd();
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxComboBox *arg1 = (wxComboBox *) 0 ;
2934 long arg2 ;
2935 long arg3 ;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self",(char *) "from",(char *) "to", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->Remove(arg2,arg3);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2958 PyObject *obj;
2959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2960 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2961 Py_INCREF(obj);
2962 return Py_BuildValue((char *)"");
2963 }
2964 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxWindow *arg1 = (wxWindow *) 0 ;
2967 int arg2 ;
2968 int arg3 ;
2969 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2970 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2971 wxSize const &arg5_defvalue = wxDefaultSize ;
2972 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2973 long arg6 = (long) wxGA_HORIZONTAL ;
2974 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2975 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2976 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2977 wxString *arg8 = (wxString *) &arg8_defvalue ;
2978 wxGauge *result;
2979 wxPoint temp4 ;
2980 wxSize temp5 ;
2981 bool temp8 = False ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj3 = 0 ;
2984 PyObject * obj4 = 0 ;
2985 PyObject * obj6 = 0 ;
2986 PyObject * obj7 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
2992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2993 if (obj3) {
2994 {
2995 arg4 = &temp4;
2996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2997 }
2998 }
2999 if (obj4) {
3000 {
3001 arg5 = &temp5;
3002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3003 }
3004 }
3005 if (obj6) {
3006 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 if (arg7 == NULL) {
3008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3009 }
3010 }
3011 if (obj7) {
3012 {
3013 arg8 = wxString_in_helper(obj7);
3014 if (arg8 == NULL) SWIG_fail;
3015 temp8 = True;
3016 }
3017 }
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3026 {
3027 if (temp8)
3028 delete arg8;
3029 }
3030 return resultobj;
3031 fail:
3032 {
3033 if (temp8)
3034 delete arg8;
3035 }
3036 return NULL;
3037 }
3038
3039
3040 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3041 PyObject *resultobj;
3042 wxGauge *result;
3043 char *kwnames[] = {
3044 NULL
3045 };
3046
3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 result = (wxGauge *)new wxGauge();
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3056 return resultobj;
3057 fail:
3058 return NULL;
3059 }
3060
3061
3062 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj;
3064 wxGauge *arg1 = (wxGauge *) 0 ;
3065 wxWindow *arg2 = (wxWindow *) 0 ;
3066 int arg3 ;
3067 int arg4 ;
3068 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3069 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3070 wxSize const &arg6_defvalue = wxDefaultSize ;
3071 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3072 long arg7 = (long) wxGA_HORIZONTAL ;
3073 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3074 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3075 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3076 wxString *arg9 = (wxString *) &arg9_defvalue ;
3077 bool result;
3078 wxPoint temp5 ;
3079 wxSize temp6 ;
3080 bool temp9 = False ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 PyObject * obj4 = 0 ;
3084 PyObject * obj5 = 0 ;
3085 PyObject * obj7 = 0 ;
3086 PyObject * obj8 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3094 if (obj4) {
3095 {
3096 arg5 = &temp5;
3097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3098 }
3099 }
3100 if (obj5) {
3101 {
3102 arg6 = &temp6;
3103 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3104 }
3105 }
3106 if (obj7) {
3107 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 if (arg8 == NULL) {
3109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3110 }
3111 }
3112 if (obj8) {
3113 {
3114 arg9 = wxString_in_helper(obj8);
3115 if (arg9 == NULL) SWIG_fail;
3116 temp9 = True;
3117 }
3118 }
3119 {
3120 PyThreadState* __tstate = wxPyBeginAllowThreads();
3121 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3122
3123 wxPyEndAllowThreads(__tstate);
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 resultobj = PyInt_FromLong((long)result);
3127 {
3128 if (temp9)
3129 delete arg9;
3130 }
3131 return resultobj;
3132 fail:
3133 {
3134 if (temp9)
3135 delete arg9;
3136 }
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxGauge *arg1 = (wxGauge *) 0 ;
3144 int arg2 ;
3145 PyObject * obj0 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self",(char *) "range", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->SetRange(arg2);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxGauge *arg1 = (wxGauge *) 0 ;
3169 int result;
3170 PyObject * obj0 = 0 ;
3171 char *kwnames[] = {
3172 (char *) "self", NULL
3173 };
3174
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (int)((wxGauge const *)arg1)->GetRange();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 resultobj = PyInt_FromLong((long)result);
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxGauge *arg1 = (wxGauge *) 0 ;
3194 int arg2 ;
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self",(char *) "pos", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 (arg1)->SetValue(arg2);
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 Py_INCREF(Py_None); resultobj = Py_None;
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxGauge *arg1 = (wxGauge *) 0 ;
3219 int result;
3220 PyObject * obj0 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (int)((wxGauge const *)arg1)->GetValue();
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 resultobj = PyInt_FromLong((long)result);
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxGauge *arg1 = (wxGauge *) 0 ;
3244 bool result;
3245 PyObject * obj0 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 result = (bool)((wxGauge const *)arg1)->IsVertical();
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 resultobj = PyInt_FromLong((long)result);
3260 return resultobj;
3261 fail:
3262 return NULL;
3263 }
3264
3265
3266 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxGauge *arg1 = (wxGauge *) 0 ;
3269 int arg2 ;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "w", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 (arg1)->SetShadowWidth(arg2);
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 Py_INCREF(Py_None); resultobj = Py_None;
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxGauge *arg1 = (wxGauge *) 0 ;
3294 int result;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 resultobj = PyInt_FromLong((long)result);
3310 return resultobj;
3311 fail:
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxGauge *arg1 = (wxGauge *) 0 ;
3319 int arg2 ;
3320 PyObject * obj0 = 0 ;
3321 char *kwnames[] = {
3322 (char *) "self",(char *) "w", NULL
3323 };
3324
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 (arg1)->SetBezelFace(arg2);
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxGauge *arg1 = (wxGauge *) 0 ;
3344 int result;
3345 PyObject * obj0 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 resultobj = PyInt_FromLong((long)result);
3360 return resultobj;
3361 fail:
3362 return NULL;
3363 }
3364
3365
3366 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3367 PyObject *obj;
3368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3369 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3370 Py_INCREF(obj);
3371 return Py_BuildValue((char *)"");
3372 }
3373 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 wxWindow *arg1 = (wxWindow *) 0 ;
3376 int arg2 ;
3377 wxString *arg3 = 0 ;
3378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3380 wxSize const &arg5_defvalue = wxDefaultSize ;
3381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3382 long arg6 = (long) 0 ;
3383 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3384 wxString *arg7 = (wxString *) &arg7_defvalue ;
3385 wxStaticBox *result;
3386 bool temp3 = False ;
3387 wxPoint temp4 ;
3388 wxSize temp5 ;
3389 bool temp7 = False ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj2 = 0 ;
3392 PyObject * obj3 = 0 ;
3393 PyObject * obj4 = 0 ;
3394 PyObject * obj6 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3401 {
3402 arg3 = wxString_in_helper(obj2);
3403 if (arg3 == NULL) SWIG_fail;
3404 temp3 = True;
3405 }
3406 if (obj3) {
3407 {
3408 arg4 = &temp4;
3409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3410 }
3411 }
3412 if (obj4) {
3413 {
3414 arg5 = &temp5;
3415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3416 }
3417 }
3418 if (obj6) {
3419 {
3420 arg7 = wxString_in_helper(obj6);
3421 if (arg7 == NULL) SWIG_fail;
3422 temp7 = True;
3423 }
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 {
3433 resultobj = wxPyMake_wxObject(result);
3434 }
3435 {
3436 if (temp3)
3437 delete arg3;
3438 }
3439 {
3440 if (temp7)
3441 delete arg7;
3442 }
3443 return resultobj;
3444 fail:
3445 {
3446 if (temp3)
3447 delete arg3;
3448 }
3449 {
3450 if (temp7)
3451 delete arg7;
3452 }
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxStaticBox *result;
3460 char *kwnames[] = {
3461 NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 result = (wxStaticBox *)new wxStaticBox();
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 {
3473 resultobj = wxPyMake_wxObject(result);
3474 }
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3484 wxWindow *arg2 = (wxWindow *) 0 ;
3485 int arg3 ;
3486 wxString *arg4 = 0 ;
3487 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3488 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3489 wxSize const &arg6_defvalue = wxDefaultSize ;
3490 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3491 long arg7 = (long) 0 ;
3492 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3493 wxString *arg8 = (wxString *) &arg8_defvalue ;
3494 bool result;
3495 bool temp4 = False ;
3496 wxPoint temp5 ;
3497 wxSize temp6 ;
3498 bool temp8 = False ;
3499 PyObject * obj0 = 0 ;
3500 PyObject * obj1 = 0 ;
3501 PyObject * obj3 = 0 ;
3502 PyObject * obj4 = 0 ;
3503 PyObject * obj5 = 0 ;
3504 PyObject * obj7 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3512 {
3513 arg4 = wxString_in_helper(obj3);
3514 if (arg4 == NULL) SWIG_fail;
3515 temp4 = True;
3516 }
3517 if (obj4) {
3518 {
3519 arg5 = &temp5;
3520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3521 }
3522 }
3523 if (obj5) {
3524 {
3525 arg6 = &temp6;
3526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3527 }
3528 }
3529 if (obj7) {
3530 {
3531 arg8 = wxString_in_helper(obj7);
3532 if (arg8 == NULL) SWIG_fail;
3533 temp8 = True;
3534 }
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = PyInt_FromLong((long)result);
3544 {
3545 if (temp4)
3546 delete arg4;
3547 }
3548 {
3549 if (temp8)
3550 delete arg8;
3551 }
3552 return resultobj;
3553 fail:
3554 {
3555 if (temp4)
3556 delete arg4;
3557 }
3558 {
3559 if (temp8)
3560 delete arg8;
3561 }
3562 return NULL;
3563 }
3564
3565
3566 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3567 PyObject *obj;
3568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3569 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3570 Py_INCREF(obj);
3571 return Py_BuildValue((char *)"");
3572 }
3573 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxWindow *arg1 = (wxWindow *) 0 ;
3576 int arg2 ;
3577 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3578 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3579 wxSize const &arg4_defvalue = wxDefaultSize ;
3580 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3581 long arg5 = (long) wxLI_HORIZONTAL ;
3582 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3583 wxString *arg6 = (wxString *) &arg6_defvalue ;
3584 wxStaticLine *result;
3585 wxPoint temp3 ;
3586 wxSize temp4 ;
3587 bool temp6 = False ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj2 = 0 ;
3590 PyObject * obj3 = 0 ;
3591 PyObject * obj5 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 if (obj2) {
3599 {
3600 arg3 = &temp3;
3601 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3602 }
3603 }
3604 if (obj3) {
3605 {
3606 arg4 = &temp4;
3607 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3608 }
3609 }
3610 if (obj5) {
3611 {
3612 arg6 = wxString_in_helper(obj5);
3613 if (arg6 == NULL) SWIG_fail;
3614 temp6 = True;
3615 }
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3625 {
3626 if (temp6)
3627 delete arg6;
3628 }
3629 return resultobj;
3630 fail:
3631 {
3632 if (temp6)
3633 delete arg6;
3634 }
3635 return NULL;
3636 }
3637
3638
3639 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj;
3641 wxStaticLine *result;
3642 char *kwnames[] = {
3643 NULL
3644 };
3645
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (wxStaticLine *)new wxStaticLine();
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3664 wxWindow *arg2 = (wxWindow *) 0 ;
3665 int arg3 ;
3666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3668 wxSize const &arg5_defvalue = wxDefaultSize ;
3669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3670 long arg6 = (long) wxLI_HORIZONTAL ;
3671 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3672 wxString *arg7 = (wxString *) &arg7_defvalue ;
3673 bool result;
3674 wxPoint temp4 ;
3675 wxSize temp5 ;
3676 bool temp7 = False ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 PyObject * obj3 = 0 ;
3680 PyObject * obj4 = 0 ;
3681 PyObject * obj6 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 if (obj3) {
3690 {
3691 arg4 = &temp4;
3692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3693 }
3694 }
3695 if (obj4) {
3696 {
3697 arg5 = &temp5;
3698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3699 }
3700 }
3701 if (obj6) {
3702 {
3703 arg7 = wxString_in_helper(obj6);
3704 if (arg7 == NULL) SWIG_fail;
3705 temp7 = True;
3706 }
3707 }
3708 {
3709 PyThreadState* __tstate = wxPyBeginAllowThreads();
3710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3711
3712 wxPyEndAllowThreads(__tstate);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 }
3715 resultobj = PyInt_FromLong((long)result);
3716 {
3717 if (temp7)
3718 delete arg7;
3719 }
3720 return resultobj;
3721 fail:
3722 {
3723 if (temp7)
3724 delete arg7;
3725 }
3726 return NULL;
3727 }
3728
3729
3730 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3733 bool result;
3734 PyObject * obj0 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 resultobj = PyInt_FromLong((long)result);
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 int result;
3758 char *kwnames[] = {
3759 NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 result = (int)wxStaticLine::GetDefaultSize();
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 resultobj = PyInt_FromLong((long)result);
3771 return resultobj;
3772 fail:
3773 return NULL;
3774 }
3775
3776
3777 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3778 PyObject *obj;
3779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3780 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3781 Py_INCREF(obj);
3782 return Py_BuildValue((char *)"");
3783 }
3784 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxWindow *arg1 = (wxWindow *) 0 ;
3787 int arg2 ;
3788 wxString *arg3 = 0 ;
3789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3791 wxSize const &arg5_defvalue = wxDefaultSize ;
3792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3793 long arg6 = (long) 0 ;
3794 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3795 wxString *arg7 = (wxString *) &arg7_defvalue ;
3796 wxStaticText *result;
3797 bool temp3 = False ;
3798 wxPoint temp4 ;
3799 wxSize temp5 ;
3800 bool temp7 = False ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj2 = 0 ;
3803 PyObject * obj3 = 0 ;
3804 PyObject * obj4 = 0 ;
3805 PyObject * obj6 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3812 {
3813 arg3 = wxString_in_helper(obj2);
3814 if (arg3 == NULL) SWIG_fail;
3815 temp3 = True;
3816 }
3817 if (obj3) {
3818 {
3819 arg4 = &temp4;
3820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3821 }
3822 }
3823 if (obj4) {
3824 {
3825 arg5 = &temp5;
3826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3827 }
3828 }
3829 if (obj6) {
3830 {
3831 arg7 = wxString_in_helper(obj6);
3832 if (arg7 == NULL) SWIG_fail;
3833 temp7 = True;
3834 }
3835 }
3836 {
3837 PyThreadState* __tstate = wxPyBeginAllowThreads();
3838 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3839
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3844 {
3845 if (temp3)
3846 delete arg3;
3847 }
3848 {
3849 if (temp7)
3850 delete arg7;
3851 }
3852 return resultobj;
3853 fail:
3854 {
3855 if (temp3)
3856 delete arg3;
3857 }
3858 {
3859 if (temp7)
3860 delete arg7;
3861 }
3862 return NULL;
3863 }
3864
3865
3866 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject *resultobj;
3868 wxStaticText *result;
3869 char *kwnames[] = {
3870 NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (wxStaticText *)new wxStaticText();
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 }
3881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 wxStaticText *arg1 = (wxStaticText *) 0 ;
3891 wxWindow *arg2 = (wxWindow *) 0 ;
3892 int arg3 ;
3893 wxString *arg4 = 0 ;
3894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3896 wxSize const &arg6_defvalue = wxDefaultSize ;
3897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3898 long arg7 = (long) 0 ;
3899 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3900 wxString *arg8 = (wxString *) &arg8_defvalue ;
3901 bool result;
3902 bool temp4 = False ;
3903 wxPoint temp5 ;
3904 wxSize temp6 ;
3905 bool temp8 = False ;
3906 PyObject * obj0 = 0 ;
3907 PyObject * obj1 = 0 ;
3908 PyObject * obj3 = 0 ;
3909 PyObject * obj4 = 0 ;
3910 PyObject * obj5 = 0 ;
3911 PyObject * obj7 = 0 ;
3912 char *kwnames[] = {
3913 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3914 };
3915
3916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3919 {
3920 arg4 = wxString_in_helper(obj3);
3921 if (arg4 == NULL) SWIG_fail;
3922 temp4 = True;
3923 }
3924 if (obj4) {
3925 {
3926 arg5 = &temp5;
3927 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3928 }
3929 }
3930 if (obj5) {
3931 {
3932 arg6 = &temp6;
3933 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3934 }
3935 }
3936 if (obj7) {
3937 {
3938 arg8 = wxString_in_helper(obj7);
3939 if (arg8 == NULL) SWIG_fail;
3940 temp8 = True;
3941 }
3942 }
3943 {
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 resultobj = PyInt_FromLong((long)result);
3951 {
3952 if (temp4)
3953 delete arg4;
3954 }
3955 {
3956 if (temp8)
3957 delete arg8;
3958 }
3959 return resultobj;
3960 fail:
3961 {
3962 if (temp4)
3963 delete arg4;
3964 }
3965 {
3966 if (temp8)
3967 delete arg8;
3968 }
3969 return NULL;
3970 }
3971
3972
3973 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3974 PyObject *obj;
3975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3977 Py_INCREF(obj);
3978 return Py_BuildValue((char *)"");
3979 }
3980 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj;
3982 wxWindow *arg1 = (wxWindow *) 0 ;
3983 int arg2 ;
3984 wxBitmap *arg3 = 0 ;
3985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3987 wxSize const &arg5_defvalue = wxDefaultSize ;
3988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3989 long arg6 = (long) 0 ;
3990 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
3991 wxString *arg7 = (wxString *) &arg7_defvalue ;
3992 wxStaticBitmap *result;
3993 wxPoint temp4 ;
3994 wxSize temp5 ;
3995 bool temp7 = False ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj2 = 0 ;
3998 PyObject * obj3 = 0 ;
3999 PyObject * obj4 = 0 ;
4000 PyObject * obj6 = 0 ;
4001 char *kwnames[] = {
4002 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4007 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4008 if (arg3 == NULL) {
4009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4010 }
4011 if (obj3) {
4012 {
4013 arg4 = &temp4;
4014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4015 }
4016 }
4017 if (obj4) {
4018 {
4019 arg5 = &temp5;
4020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4021 }
4022 }
4023 if (obj6) {
4024 {
4025 arg7 = wxString_in_helper(obj6);
4026 if (arg7 == NULL) SWIG_fail;
4027 temp7 = True;
4028 }
4029 }
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4038 {
4039 if (temp7)
4040 delete arg7;
4041 }
4042 return resultobj;
4043 fail:
4044 {
4045 if (temp7)
4046 delete arg7;
4047 }
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxStaticBitmap *result;
4055 char *kwnames[] = {
4056 NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxStaticBitmap *)new wxStaticBitmap();
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4068 return resultobj;
4069 fail:
4070 return NULL;
4071 }
4072
4073
4074 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4075 PyObject *resultobj;
4076 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4077 wxWindow *arg2 = (wxWindow *) 0 ;
4078 int arg3 ;
4079 wxBitmap *arg4 = 0 ;
4080 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4081 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4082 wxSize const &arg6_defvalue = wxDefaultSize ;
4083 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4084 long arg7 = (long) 0 ;
4085 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4086 wxString *arg8 = (wxString *) &arg8_defvalue ;
4087 bool result;
4088 wxPoint temp5 ;
4089 wxSize temp6 ;
4090 bool temp8 = False ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093 PyObject * obj3 = 0 ;
4094 PyObject * obj4 = 0 ;
4095 PyObject * obj5 = 0 ;
4096 PyObject * obj7 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4105 if (arg4 == NULL) {
4106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4107 }
4108 if (obj4) {
4109 {
4110 arg5 = &temp5;
4111 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4112 }
4113 }
4114 if (obj5) {
4115 {
4116 arg6 = &temp6;
4117 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4118 }
4119 }
4120 if (obj7) {
4121 {
4122 arg8 = wxString_in_helper(obj7);
4123 if (arg8 == NULL) SWIG_fail;
4124 temp8 = True;
4125 }
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 resultobj = PyInt_FromLong((long)result);
4135 {
4136 if (temp8)
4137 delete arg8;
4138 }
4139 return resultobj;
4140 fail:
4141 {
4142 if (temp8)
4143 delete arg8;
4144 }
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4152 wxBitmap result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (arg1)->GetBitmap();
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 {
4168 wxBitmap * resultptr;
4169 resultptr = new wxBitmap((wxBitmap &) result);
4170 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4181 wxBitmap *arg2 = 0 ;
4182 PyObject * obj0 = 0 ;
4183 PyObject * obj1 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self",(char *) "bitmap", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4191 if (arg2 == NULL) {
4192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4193 }
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 Py_INCREF(Py_None); resultobj = Py_None;
4202 return resultobj;
4203 fail:
4204 return NULL;
4205 }
4206
4207
4208 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4211 wxIcon *arg2 = 0 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self",(char *) "icon", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4221 if (arg2 == NULL) {
4222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 (arg1)->SetIcon((wxIcon const &)*arg2);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 Py_INCREF(Py_None); resultobj = Py_None;
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4239 PyObject *obj;
4240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4241 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4242 Py_INCREF(obj);
4243 return Py_BuildValue((char *)"");
4244 }
4245 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxWindow *arg1 = (wxWindow *) 0 ;
4248 int arg2 ;
4249 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4250 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4251 wxSize const &arg4_defvalue = wxDefaultSize ;
4252 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4253 int arg5 = (int) 0 ;
4254 wxString *arg6 = (wxString *) NULL ;
4255 long arg7 = (long) 0 ;
4256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4258 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4259 wxString *arg9 = (wxString *) &arg9_defvalue ;
4260 wxListBox *result;
4261 wxPoint temp3 ;
4262 wxSize temp4 ;
4263 bool temp8 = False ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj2 = 0 ;
4266 PyObject * obj3 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 PyObject * obj6 = 0 ;
4269 PyObject * obj7 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4276 if (obj2) {
4277 {
4278 arg3 = &temp3;
4279 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4280 }
4281 }
4282 if (obj3) {
4283 {
4284 arg4 = &temp4;
4285 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4286 }
4287 }
4288 if (obj4) {
4289 {
4290 arg5 = PyList_Size(obj4);
4291 arg6 = wxString_LIST_helper(obj4);
4292 if (arg6 == NULL) SWIG_fail;
4293 }
4294 }
4295 if (obj6) {
4296 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4297 if (arg8 == NULL) {
4298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4299 }
4300 }
4301 if (obj7) {
4302 {
4303 arg9 = wxString_in_helper(obj7);
4304 if (arg9 == NULL) SWIG_fail;
4305 temp8 = True;
4306 }
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4316 {
4317 if (arg6) delete [] arg6;
4318 }
4319 {
4320 if (temp8)
4321 delete arg9;
4322 }
4323 return resultobj;
4324 fail:
4325 {
4326 if (arg6) delete [] arg6;
4327 }
4328 {
4329 if (temp8)
4330 delete arg9;
4331 }
4332 return NULL;
4333 }
4334
4335
4336 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj;
4338 wxListBox *result;
4339 char *kwnames[] = {
4340 NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (wxListBox *)new wxListBox();
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxListBox *arg1 = (wxListBox *) 0 ;
4361 wxWindow *arg2 = (wxWindow *) 0 ;
4362 int arg3 ;
4363 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4364 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4365 wxSize const &arg5_defvalue = wxDefaultSize ;
4366 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4367 int arg6 = (int) 0 ;
4368 wxString *arg7 = (wxString *) NULL ;
4369 long arg8 = (long) 0 ;
4370 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4371 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4372 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4373 wxString *arg10 = (wxString *) &arg10_defvalue ;
4374 bool result;
4375 wxPoint temp4 ;
4376 wxSize temp5 ;
4377 bool temp9 = False ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 PyObject * obj3 = 0 ;
4381 PyObject * obj4 = 0 ;
4382 PyObject * obj5 = 0 ;
4383 PyObject * obj7 = 0 ;
4384 PyObject * obj8 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4392 if (obj3) {
4393 {
4394 arg4 = &temp4;
4395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4396 }
4397 }
4398 if (obj4) {
4399 {
4400 arg5 = &temp5;
4401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4402 }
4403 }
4404 if (obj5) {
4405 {
4406 arg6 = PyList_Size(obj5);
4407 arg7 = wxString_LIST_helper(obj5);
4408 if (arg7 == NULL) SWIG_fail;
4409 }
4410 }
4411 if (obj7) {
4412 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 if (arg9 == NULL) {
4414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4415 }
4416 }
4417 if (obj8) {
4418 {
4419 arg10 = wxString_in_helper(obj8);
4420 if (arg10 == NULL) SWIG_fail;
4421 temp9 = True;
4422 }
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 resultobj = PyInt_FromLong((long)result);
4432 {
4433 if (arg7) delete [] arg7;
4434 }
4435 {
4436 if (temp9)
4437 delete arg10;
4438 }
4439 return resultobj;
4440 fail:
4441 {
4442 if (arg7) delete [] arg7;
4443 }
4444 {
4445 if (temp9)
4446 delete arg10;
4447 }
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxListBox *arg1 = (wxListBox *) 0 ;
4455 wxString *arg2 = 0 ;
4456 int arg3 ;
4457 PyObject *arg4 = (PyObject *) NULL ;
4458 bool temp2 = False ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj3 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4468 {
4469 arg2 = wxString_in_helper(obj1);
4470 if (arg2 == NULL) SWIG_fail;
4471 temp2 = True;
4472 }
4473 if (obj3) {
4474 arg4 = obj3;
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 {
4485 if (temp2)
4486 delete arg2;
4487 }
4488 return resultobj;
4489 fail:
4490 {
4491 if (temp2)
4492 delete arg2;
4493 }
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxListBox *arg1 = (wxListBox *) 0 ;
4501 wxArrayString *arg2 = 0 ;
4502 int arg3 ;
4503 PyObject * obj0 = 0 ;
4504 PyObject * obj1 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self",(char *) "items",(char *) "pos", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 {
4512 if (! PySequence_Check(obj1)) {
4513 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4514 SWIG_fail;
4515 }
4516 arg2 = new wxArrayString;
4517 int i, len=PySequence_Length(obj1);
4518 for (i=0; i<len; i++) {
4519 PyObject* item = PySequence_GetItem(obj1, i);
4520 #if wxUSE_UNICODE
4521 PyObject* str = PyObject_Unicode(item);
4522 #else
4523 PyObject* str = PyObject_Str(item);
4524 #endif
4525 arg2->Add(Py2wxString(str));
4526 Py_DECREF(item);
4527 Py_DECREF(str);
4528 }
4529 }
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 Py_INCREF(Py_None); resultobj = Py_None;
4538 {
4539 if (arg2) delete arg2;
4540 }
4541 return resultobj;
4542 fail:
4543 {
4544 if (arg2) delete arg2;
4545 }
4546 return NULL;
4547 }
4548
4549
4550 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4551 PyObject *resultobj;
4552 wxListBox *arg1 = (wxListBox *) 0 ;
4553 wxArrayString *arg2 = 0 ;
4554 PyObject * obj0 = 0 ;
4555 PyObject * obj1 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self",(char *) "items", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562 {
4563 if (! PySequence_Check(obj1)) {
4564 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4565 SWIG_fail;
4566 }
4567 arg2 = new wxArrayString;
4568 int i, len=PySequence_Length(obj1);
4569 for (i=0; i<len; i++) {
4570 PyObject* item = PySequence_GetItem(obj1, i);
4571 #if wxUSE_UNICODE
4572 PyObject* str = PyObject_Unicode(item);
4573 #else
4574 PyObject* str = PyObject_Str(item);
4575 #endif
4576 arg2->Add(Py2wxString(str));
4577 Py_DECREF(item);
4578 Py_DECREF(str);
4579 }
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 (arg1)->Set((wxArrayString const &)*arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 {
4590 if (arg2) delete arg2;
4591 }
4592 return resultobj;
4593 fail:
4594 {
4595 if (arg2) delete arg2;
4596 }
4597 return NULL;
4598 }
4599
4600
4601 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj;
4603 wxListBox *arg1 = (wxListBox *) 0 ;
4604 int arg2 ;
4605 bool result;
4606 PyObject * obj0 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self",(char *) "n", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4613 {
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
4615 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4616
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 resultobj = PyInt_FromLong((long)result);
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxListBox *arg1 = (wxListBox *) 0 ;
4630 int arg2 ;
4631 bool arg3 = (bool) True ;
4632 PyObject * obj0 = 0 ;
4633 PyObject * obj2 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self",(char *) "n",(char *) "select", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4640 if (obj2) {
4641 arg3 = PyInt_AsLong(obj2) ? true : false;
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 (arg1)->SetSelection(arg2,arg3);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxListBox *arg1 = (wxListBox *) 0 ;
4661 int arg2 ;
4662 PyObject * obj0 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "n", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 (arg1)->Select(arg2);
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 Py_INCREF(Py_None); resultobj = Py_None;
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxListBox *arg1 = (wxListBox *) 0 ;
4686 int arg2 ;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "n", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->Deselect(arg2);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxListBox *arg1 = (wxListBox *) 0 ;
4711 int arg2 = (int) -1 ;
4712 PyObject * obj0 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self",(char *) "itemToLeaveSelected", NULL
4715 };
4716
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 (arg1)->DeselectAll(arg2);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 Py_INCREF(Py_None); resultobj = Py_None;
4727 return resultobj;
4728 fail:
4729 return NULL;
4730 }
4731
4732
4733 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4734 PyObject *resultobj;
4735 wxListBox *arg1 = (wxListBox *) 0 ;
4736 wxString *arg2 = 0 ;
4737 bool arg3 = (bool) True ;
4738 bool result;
4739 bool temp2 = False ;
4740 PyObject * obj0 = 0 ;
4741 PyObject * obj1 = 0 ;
4742 PyObject * obj2 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "s",(char *) "select", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 {
4750 arg2 = wxString_in_helper(obj1);
4751 if (arg2 == NULL) SWIG_fail;
4752 temp2 = True;
4753 }
4754 if (obj2) {
4755 arg3 = PyInt_AsLong(obj2) ? true : false;
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 }
4765 resultobj = PyInt_FromLong((long)result);
4766 {
4767 if (temp2)
4768 delete arg2;
4769 }
4770 return resultobj;
4771 fail:
4772 {
4773 if (temp2)
4774 delete arg2;
4775 }
4776 return NULL;
4777 }
4778
4779
4780 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj;
4782 wxListBox *arg1 = (wxListBox *) 0 ;
4783 PyObject *result;
4784 PyObject * obj0 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4791 {
4792 PyThreadState* __tstate = wxPyBeginAllowThreads();
4793 result = (PyObject *)wxListBox_GetSelections(arg1);
4794
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 resultobj = result;
4799 return resultobj;
4800 fail:
4801 return NULL;
4802 }
4803
4804
4805 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxListBox *arg1 = (wxListBox *) 0 ;
4808 int arg2 ;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self",(char *) "n", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 (arg1)->SetFirstItem(arg2);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 Py_INCREF(Py_None); resultobj = Py_None;
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj;
4832 wxListBox *arg1 = (wxListBox *) 0 ;
4833 wxString *arg2 = 0 ;
4834 bool temp2 = False ;
4835 PyObject * obj0 = 0 ;
4836 PyObject * obj1 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self",(char *) "s", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4843 {
4844 arg2 = wxString_in_helper(obj1);
4845 if (arg2 == NULL) SWIG_fail;
4846 temp2 = True;
4847 }
4848 {
4849 PyThreadState* __tstate = wxPyBeginAllowThreads();
4850 (arg1)->SetFirstItem((wxString const &)*arg2);
4851
4852 wxPyEndAllowThreads(__tstate);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 }
4855 Py_INCREF(Py_None); resultobj = Py_None;
4856 {
4857 if (temp2)
4858 delete arg2;
4859 }
4860 return resultobj;
4861 fail:
4862 {
4863 if (temp2)
4864 delete arg2;
4865 }
4866 return NULL;
4867 }
4868
4869
4870 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxListBox *arg1 = (wxListBox *) 0 ;
4873 int arg2 ;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self",(char *) "n", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 (arg1)->EnsureVisible(arg2);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 Py_INCREF(Py_None); resultobj = Py_None;
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxListBox *arg1 = (wxListBox *) 0 ;
4898 wxString *arg2 = 0 ;
4899 bool temp2 = False ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "s", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4908 {
4909 arg2 = wxString_in_helper(obj1);
4910 if (arg2 == NULL) SWIG_fail;
4911 temp2 = True;
4912 }
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 {
4922 if (temp2)
4923 delete arg2;
4924 }
4925 return resultobj;
4926 fail:
4927 {
4928 if (temp2)
4929 delete arg2;
4930 }
4931 return NULL;
4932 }
4933
4934
4935 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxListBox *arg1 = (wxListBox *) 0 ;
4938 bool result;
4939 PyObject * obj0 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "self", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (bool)((wxListBox const *)arg1)->IsSorted();
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = PyInt_FromLong((long)result);
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4961 PyObject *obj;
4962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4963 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4964 Py_INCREF(obj);
4965 return Py_BuildValue((char *)"");
4966 }
4967 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject *resultobj;
4969 wxWindow *arg1 = (wxWindow *) 0 ;
4970 int arg2 ;
4971 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4972 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4973 wxSize const &arg4_defvalue = wxDefaultSize ;
4974 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4975 int arg5 = (int) 0 ;
4976 wxString *arg6 = (wxString *) NULL ;
4977 long arg7 = (long) 0 ;
4978 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4979 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4980 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4981 wxString *arg9 = (wxString *) &arg9_defvalue ;
4982 wxCheckListBox *result;
4983 wxPoint temp3 ;
4984 wxSize temp4 ;
4985 bool temp8 = False ;
4986 PyObject * obj0 = 0 ;
4987 PyObject * obj2 = 0 ;
4988 PyObject * obj3 = 0 ;
4989 PyObject * obj4 = 0 ;
4990 PyObject * obj6 = 0 ;
4991 PyObject * obj7 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 if (obj2) {
4999 {
5000 arg3 = &temp3;
5001 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5002 }
5003 }
5004 if (obj3) {
5005 {
5006 arg4 = &temp4;
5007 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5008 }
5009 }
5010 if (obj4) {
5011 {
5012 arg5 = PyList_Size(obj4);
5013 arg6 = wxString_LIST_helper(obj4);
5014 if (arg6 == NULL) SWIG_fail;
5015 }
5016 }
5017 if (obj6) {
5018 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 if (arg8 == NULL) {
5020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5021 }
5022 }
5023 if (obj7) {
5024 {
5025 arg9 = wxString_in_helper(obj7);
5026 if (arg9 == NULL) SWIG_fail;
5027 temp8 = True;
5028 }
5029 }
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5038 {
5039 if (arg6) delete [] arg6;
5040 }
5041 {
5042 if (temp8)
5043 delete arg9;
5044 }
5045 return resultobj;
5046 fail:
5047 {
5048 if (arg6) delete [] arg6;
5049 }
5050 {
5051 if (temp8)
5052 delete arg9;
5053 }
5054 return NULL;
5055 }
5056
5057
5058 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxCheckListBox *result;
5061 char *kwnames[] = {
5062 NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (wxCheckListBox *)new wxCheckListBox();
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5083 wxWindow *arg2 = (wxWindow *) 0 ;
5084 int arg3 ;
5085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5087 wxSize const &arg5_defvalue = wxDefaultSize ;
5088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5089 int arg6 = (int) 0 ;
5090 wxString *arg7 = (wxString *) NULL ;
5091 long arg8 = (long) 0 ;
5092 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5093 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5094 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5095 wxString *arg10 = (wxString *) &arg10_defvalue ;
5096 bool result;
5097 wxPoint temp4 ;
5098 wxSize temp5 ;
5099 bool temp9 = False ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 PyObject * obj3 = 0 ;
5103 PyObject * obj4 = 0 ;
5104 PyObject * obj5 = 0 ;
5105 PyObject * obj7 = 0 ;
5106 PyObject * obj8 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5114 if (obj3) {
5115 {
5116 arg4 = &temp4;
5117 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5118 }
5119 }
5120 if (obj4) {
5121 {
5122 arg5 = &temp5;
5123 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5124 }
5125 }
5126 if (obj5) {
5127 {
5128 arg6 = PyList_Size(obj5);
5129 arg7 = wxString_LIST_helper(obj5);
5130 if (arg7 == NULL) SWIG_fail;
5131 }
5132 }
5133 if (obj7) {
5134 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 if (arg9 == NULL) {
5136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5137 }
5138 }
5139 if (obj8) {
5140 {
5141 arg10 = wxString_in_helper(obj8);
5142 if (arg10 == NULL) SWIG_fail;
5143 temp9 = True;
5144 }
5145 }
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = PyInt_FromLong((long)result);
5154 {
5155 if (arg7) delete [] arg7;
5156 }
5157 {
5158 if (temp9)
5159 delete arg10;
5160 }
5161 return resultobj;
5162 fail:
5163 {
5164 if (arg7) delete [] arg7;
5165 }
5166 {
5167 if (temp9)
5168 delete arg10;
5169 }
5170 return NULL;
5171 }
5172
5173
5174 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5177 int arg2 ;
5178 bool result;
5179 PyObject * obj0 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "self",(char *) "index", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (bool)(arg1)->IsChecked(arg2);
5189
5190 wxPyEndAllowThreads(__tstate);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 resultobj = PyInt_FromLong((long)result);
5194 return resultobj;
5195 fail:
5196 return NULL;
5197 }
5198
5199
5200 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5203 int arg2 ;
5204 int arg3 = (int) True ;
5205 PyObject * obj0 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self",(char *) "index",(char *) "check", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 (arg1)->Check(arg2,arg3);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 Py_INCREF(Py_None); resultobj = Py_None;
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5229 wxPoint *arg2 = 0 ;
5230 int result;
5231 wxPoint temp2 ;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "pt", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 {
5241 arg2 = &temp2;
5242 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5243 }
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 resultobj = PyInt_FromLong((long)result);
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5261 int arg2 ;
5262 int arg3 ;
5263 int result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "x",(char *) "y", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 resultobj = PyInt_FromLong((long)result);
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5286 PyObject *obj;
5287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5288 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5289 Py_INCREF(obj);
5290 return Py_BuildValue((char *)"");
5291 }
5292 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5293 PyObject *resultobj;
5294 wxTextAttr *result;
5295
5296 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (wxTextAttr *)new wxTextAttr();
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5312 PyObject *resultobj;
5313 wxColour *arg1 = 0 ;
5314 wxColour const &arg2_defvalue = wxNullColour ;
5315 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5316 wxFont const &arg3_defvalue = wxNullFont ;
5317 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5318 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5319 wxTextAttr *result;
5320 wxColour temp1 ;
5321 wxColour temp2 ;
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 PyObject * obj2 = 0 ;
5325
5326 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5327 {
5328 arg1 = &temp1;
5329 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5330 }
5331 if (obj1) {
5332 {
5333 arg2 = &temp2;
5334 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5335 }
5336 }
5337 if (obj2) {
5338 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 if (arg3 == NULL) {
5340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5341 }
5342 }
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5358 int argc;
5359 PyObject *argv[5];
5360 int ii;
5361
5362 argc = PyObject_Length(args);
5363 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5364 argv[ii] = PyTuple_GetItem(args,ii);
5365 }
5366 if (argc == 0) {
5367 return _wrap_new_TextAttr__SWIG_0(self,args);
5368 }
5369 if ((argc >= 1) && (argc <= 4)) {
5370 int _v;
5371 {
5372 _v = wxColour_typecheck(argv[0]);
5373 }
5374 if (_v) {
5375 if (argc <= 1) {
5376 return _wrap_new_TextAttr__SWIG_1(self,args);
5377 }
5378 {
5379 _v = wxColour_typecheck(argv[1]);
5380 }
5381 if (_v) {
5382 if (argc <= 2) {
5383 return _wrap_new_TextAttr__SWIG_1(self,args);
5384 }
5385 {
5386 void *ptr;
5387 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5388 _v = 0;
5389 PyErr_Clear();
5390 } else {
5391 _v = 1;
5392 }
5393 }
5394 if (_v) {
5395 if (argc <= 3) {
5396 return _wrap_new_TextAttr__SWIG_1(self,args);
5397 }
5398 {
5399 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5400 }
5401 if (_v) {
5402 return _wrap_new_TextAttr__SWIG_1(self,args);
5403 }
5404 }
5405 }
5406 }
5407 }
5408
5409 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5410 return NULL;
5411 }
5412
5413
5414 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject *resultobj;
5416 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5417 PyObject * obj0 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 (arg1)->Init();
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 Py_INCREF(Py_None); resultobj = Py_None;
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5441 wxColour *arg2 = 0 ;
5442 wxColour temp2 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "colText", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5451 {
5452 arg2 = &temp2;
5453 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetTextColour((wxColour const &)*arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5472 wxColour *arg2 = 0 ;
5473 wxColour temp2 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char *kwnames[] = {
5477 (char *) "self",(char *) "colBack", NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5482 {
5483 arg2 = &temp2;
5484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5503 wxFont *arg2 = 0 ;
5504 long arg3 = (long) wxTEXT_ATTR_FONT ;
5505 PyObject * obj0 = 0 ;
5506 PyObject * obj1 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "font",(char *) "flags", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if (arg2 == NULL) {
5515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5534 int arg2 ;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self",(char *) "alignment", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 Py_INCREF(Py_None); resultobj = Py_None;
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5559 wxArrayInt *arg2 = 0 ;
5560 PyObject * obj0 = 0 ;
5561 PyObject * obj1 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "tabs", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5568 {
5569 if (! PySequence_Check(obj1)) {
5570 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5571 SWIG_fail;
5572 }
5573 arg2 = new wxArrayInt;
5574 int i, len=PySequence_Length(obj1);
5575 for (i=0; i<len; i++) {
5576 PyObject* item = PySequence_GetItem(obj1, i);
5577 PyObject* number = PyNumber_Int(item);
5578 arg2->Add(PyInt_AS_LONG(number));
5579 Py_DECREF(item);
5580 Py_DECREF(number);
5581 }
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 {
5592 if (arg2) delete arg2;
5593 }
5594 return resultobj;
5595 fail:
5596 {
5597 if (arg2) delete arg2;
5598 }
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5606 int arg2 ;
5607 PyObject * obj0 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "indent", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->SetLeftIndent(arg2);
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 Py_INCREF(Py_None); resultobj = Py_None;
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5631 int arg2 ;
5632 PyObject * obj0 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "indent", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetRightIndent(arg2);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5656 long arg2 ;
5657 PyObject * obj0 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "flags", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 (arg1)->SetFlags(arg2);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 Py_INCREF(Py_None); resultobj = Py_None;
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5681 bool result;
5682 PyObject * obj0 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 resultobj = PyInt_FromLong((long)result);
5697 return resultobj;
5698 fail:
5699 return NULL;
5700 }
5701
5702
5703 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject *resultobj;
5705 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5706 bool result;
5707 PyObject * obj0 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 resultobj = PyInt_FromLong((long)result);
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj;
5730 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5731 bool result;
5732 PyObject * obj0 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = PyInt_FromLong((long)result);
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5756 bool result;
5757 PyObject * obj0 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 resultobj = PyInt_FromLong((long)result);
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5781 bool result;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = PyInt_FromLong((long)result);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = PyInt_FromLong((long)result);
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5831 bool result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = PyInt_FromLong((long)result);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5856 long arg2 ;
5857 bool result;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self",(char *) "flag", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 resultobj = PyInt_FromLong((long)result);
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5882 wxColour *result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 {
5893 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5894 result = (wxColour *) &_result_ref;
5895 }
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5901 return resultobj;
5902 fail:
5903 return NULL;
5904 }
5905
5906
5907 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5910 wxColour *result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 {
5921 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5922 result = (wxColour *) &_result_ref;
5923 }
5924
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5929 return resultobj;
5930 fail:
5931 return NULL;
5932 }
5933
5934
5935 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5938 wxFont *result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 {
5949 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5950 result = (wxFont *) &_result_ref;
5951 }
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5966 int result;
5967 PyObject * obj0 = 0 ;
5968 char *kwnames[] = {
5969 (char *) "self", NULL
5970 };
5971
5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
5973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = PyInt_FromLong((long)result);
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5991 wxArrayInt *result;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 {
6002 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6003 result = (wxArrayInt *) &_result_ref;
6004 }
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 {
6010 resultobj = PyList_New(0);
6011 size_t idx;
6012 for (idx = 0; idx < result->GetCount(); idx += 1) {
6013 PyObject* val = PyInt_FromLong( result->Item(idx) );
6014 PyList_Append(resultobj, val);
6015 Py_DECREF(val);
6016 }
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6027 long result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 resultobj = PyInt_FromLong((long)result);
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj;
6051 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6052 long result;
6053 PyObject * obj0 = 0 ;
6054 char *kwnames[] = {
6055 (char *) "self", NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = PyInt_FromLong((long)result);
6068 return resultobj;
6069 fail:
6070 return NULL;
6071 }
6072
6073
6074 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj;
6076 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6077 long result;
6078 PyObject * obj0 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "self", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = PyInt_FromLong((long)result);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6102 bool result;
6103 PyObject * obj0 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 resultobj = PyInt_FromLong((long)result);
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxTextAttr *arg1 = 0 ;
6127 wxTextAttr *arg2 = 0 ;
6128 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6129 wxTextAttr result;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 PyObject * obj2 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 if (arg1 == NULL) {
6140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6141 }
6142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143 if (arg2 == NULL) {
6144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6145 }
6146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 wxTextAttr * resultptr;
6156 resultptr = new wxTextAttr((wxTextAttr &) result);
6157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6166 PyObject *obj;
6167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6169 Py_INCREF(obj);
6170 return Py_BuildValue((char *)"");
6171 }
6172 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxWindow *arg1 = (wxWindow *) 0 ;
6175 int arg2 ;
6176 wxString const &arg3_defvalue = wxPyEmptyString ;
6177 wxString *arg3 = (wxString *) &arg3_defvalue ;
6178 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6179 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6180 wxSize const &arg5_defvalue = wxDefaultSize ;
6181 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6182 long arg6 = (long) 0 ;
6183 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6184 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6185 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6186 wxString *arg8 = (wxString *) &arg8_defvalue ;
6187 wxTextCtrl *result;
6188 bool temp3 = False ;
6189 wxPoint temp4 ;
6190 wxSize temp5 ;
6191 bool temp8 = False ;
6192 PyObject * obj0 = 0 ;
6193 PyObject * obj2 = 0 ;
6194 PyObject * obj3 = 0 ;
6195 PyObject * obj4 = 0 ;
6196 PyObject * obj6 = 0 ;
6197 PyObject * obj7 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6204 if (obj2) {
6205 {
6206 arg3 = wxString_in_helper(obj2);
6207 if (arg3 == NULL) SWIG_fail;
6208 temp3 = True;
6209 }
6210 }
6211 if (obj3) {
6212 {
6213 arg4 = &temp4;
6214 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6215 }
6216 }
6217 if (obj4) {
6218 {
6219 arg5 = &temp5;
6220 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6221 }
6222 }
6223 if (obj6) {
6224 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6225 if (arg7 == NULL) {
6226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6227 }
6228 }
6229 if (obj7) {
6230 {
6231 arg8 = wxString_in_helper(obj7);
6232 if (arg8 == NULL) SWIG_fail;
6233 temp8 = True;
6234 }
6235 }
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244 resultobj = wxPyMake_wxObject(result);
6245 }
6246 {
6247 if (temp3)
6248 delete arg3;
6249 }
6250 {
6251 if (temp8)
6252 delete arg8;
6253 }
6254 return resultobj;
6255 fail:
6256 {
6257 if (temp3)
6258 delete arg3;
6259 }
6260 {
6261 if (temp8)
6262 delete arg8;
6263 }
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxTextCtrl *result;
6271 char *kwnames[] = {
6272 NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = (wxTextCtrl *)new wxTextCtrl();
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 {
6284 resultobj = wxPyMake_wxObject(result);
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6295 wxWindow *arg2 = (wxWindow *) 0 ;
6296 int arg3 ;
6297 wxString const &arg4_defvalue = wxPyEmptyString ;
6298 wxString *arg4 = (wxString *) &arg4_defvalue ;
6299 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6300 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6301 wxSize const &arg6_defvalue = wxDefaultSize ;
6302 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6303 long arg7 = (long) 0 ;
6304 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6305 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6306 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6307 wxString *arg9 = (wxString *) &arg9_defvalue ;
6308 bool result;
6309 bool temp4 = False ;
6310 wxPoint temp5 ;
6311 wxSize temp6 ;
6312 bool temp9 = False ;
6313 PyObject * obj0 = 0 ;
6314 PyObject * obj1 = 0 ;
6315 PyObject * obj3 = 0 ;
6316 PyObject * obj4 = 0 ;
6317 PyObject * obj5 = 0 ;
6318 PyObject * obj7 = 0 ;
6319 PyObject * obj8 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327 if (obj3) {
6328 {
6329 arg4 = wxString_in_helper(obj3);
6330 if (arg4 == NULL) SWIG_fail;
6331 temp4 = True;
6332 }
6333 }
6334 if (obj4) {
6335 {
6336 arg5 = &temp5;
6337 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6338 }
6339 }
6340 if (obj5) {
6341 {
6342 arg6 = &temp6;
6343 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6344 }
6345 }
6346 if (obj7) {
6347 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6348 if (arg8 == NULL) {
6349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6350 }
6351 }
6352 if (obj8) {
6353 {
6354 arg9 = wxString_in_helper(obj8);
6355 if (arg9 == NULL) SWIG_fail;
6356 temp9 = True;
6357 }
6358 }
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = PyInt_FromLong((long)result);
6367 {
6368 if (temp4)
6369 delete arg4;
6370 }
6371 {
6372 if (temp9)
6373 delete arg9;
6374 }
6375 return resultobj;
6376 fail:
6377 {
6378 if (temp4)
6379 delete arg4;
6380 }
6381 {
6382 if (temp9)
6383 delete arg9;
6384 }
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6392 wxString result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = ((wxTextCtrl const *)arg1)->GetValue();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 {
6408 #if wxUSE_UNICODE
6409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6410 #else
6411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6412 #endif
6413 }
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6423 wxString *arg2 = 0 ;
6424 bool temp2 = False ;
6425 PyObject * obj0 = 0 ;
6426 PyObject * obj1 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "value", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6433 {
6434 arg2 = wxString_in_helper(obj1);
6435 if (arg2 == NULL) SWIG_fail;
6436 temp2 = True;
6437 }
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SetValue((wxString const &)*arg2);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 Py_INCREF(Py_None); resultobj = Py_None;
6446 {
6447 if (temp2)
6448 delete arg2;
6449 }
6450 return resultobj;
6451 fail:
6452 {
6453 if (temp2)
6454 delete arg2;
6455 }
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6461 PyObject *resultobj;
6462 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6463 long arg2 ;
6464 long arg3 ;
6465 wxString result;
6466 PyObject * obj0 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self",(char *) "from",(char *) "to", NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 {
6481 #if wxUSE_UNICODE
6482 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6483 #else
6484 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6485 #endif
6486 }
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6496 long arg2 ;
6497 int result;
6498 PyObject * obj0 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "self",(char *) "lineNo", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 resultobj = PyInt_FromLong((long)result);
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6522 long arg2 ;
6523 wxString result;
6524 PyObject * obj0 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "lineNo", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6534
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 {
6539 #if wxUSE_UNICODE
6540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6541 #else
6542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6543 #endif
6544 }
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6554 int result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6565
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 resultobj = PyInt_FromLong((long)result);
6570 return resultobj;
6571 fail:
6572 return NULL;
6573 }
6574
6575
6576 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj;
6578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6579 bool result;
6580 PyObject * obj0 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 resultobj = PyInt_FromLong((long)result);
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj;
6603 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6604 bool result;
6605 PyObject * obj0 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 resultobj = PyInt_FromLong((long)result);
6620 return resultobj;
6621 fail:
6622 return NULL;
6623 }
6624
6625
6626 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6629 bool result;
6630 PyObject * obj0 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 resultobj = PyInt_FromLong((long)result);
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6654 bool result;
6655 PyObject * obj0 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 resultobj = PyInt_FromLong((long)result);
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6679 long *arg2 = (long *) 0 ;
6680 long *arg3 = (long *) 0 ;
6681 long temp2 ;
6682 long temp3 ;
6683 PyObject * obj0 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "self", NULL
6686 };
6687
6688 arg2 = &temp2;
6689 arg3 = &temp3;
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 Py_INCREF(Py_None); resultobj = Py_None;
6700 {
6701 PyObject *o = PyInt_FromLong((long) (*arg2));
6702 resultobj = t_output_helper(resultobj,o);
6703 }
6704 {
6705 PyObject *o = PyInt_FromLong((long) (*arg3));
6706 resultobj = t_output_helper(resultobj,o);
6707 }
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6717 wxString result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 #if wxUSE_UNICODE
6734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6735 #else
6736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6737 #endif
6738 }
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 (arg1)->Clear();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 Py_INCREF(Py_None); resultobj = Py_None;
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6772 long arg2 ;
6773 long arg3 ;
6774 wxString *arg4 = 0 ;
6775 bool temp4 = False ;
6776 PyObject * obj0 = 0 ;
6777 PyObject * obj3 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6784 {
6785 arg4 = wxString_in_helper(obj3);
6786 if (arg4 == NULL) SWIG_fail;
6787 temp4 = True;
6788 }
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 {
6798 if (temp4)
6799 delete arg4;
6800 }
6801 return resultobj;
6802 fail:
6803 {
6804 if (temp4)
6805 delete arg4;
6806 }
6807 return NULL;
6808 }
6809
6810
6811 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj;
6813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6814 long arg2 ;
6815 long arg3 ;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "self",(char *) "from",(char *) "to", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 (arg1)->Remove(arg2,arg3);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 Py_INCREF(Py_None); resultobj = Py_None;
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6840 wxString *arg2 = 0 ;
6841 bool result;
6842 bool temp2 = False ;
6843 PyObject * obj0 = 0 ;
6844 PyObject * obj1 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self",(char *) "file", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6851 {
6852 arg2 = wxString_in_helper(obj1);
6853 if (arg2 == NULL) SWIG_fail;
6854 temp2 = True;
6855 }
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = PyInt_FromLong((long)result);
6864 {
6865 if (temp2)
6866 delete arg2;
6867 }
6868 return resultobj;
6869 fail:
6870 {
6871 if (temp2)
6872 delete arg2;
6873 }
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6881 wxString const &arg2_defvalue = wxPyEmptyString ;
6882 wxString *arg2 = (wxString *) &arg2_defvalue ;
6883 bool result;
6884 bool temp2 = False ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "file", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 if (obj1) {
6894 {
6895 arg2 = wxString_in_helper(obj1);
6896 if (arg2 == NULL) SWIG_fail;
6897 temp2 = True;
6898 }
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = PyInt_FromLong((long)result);
6908 {
6909 if (temp2)
6910 delete arg2;
6911 }
6912 return resultobj;
6913 fail:
6914 {
6915 if (temp2)
6916 delete arg2;
6917 }
6918 return NULL;
6919 }
6920
6921
6922 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj;
6924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 (arg1)->MarkDirty();
6935
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 Py_INCREF(Py_None); resultobj = Py_None;
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6949 PyObject * obj0 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 (arg1)->DiscardEdits();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 Py_INCREF(Py_None); resultobj = Py_None;
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6973 unsigned long arg2 ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "self",(char *) "len", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
6981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6982 arg2 = (unsigned long) PyInt_AsLong(obj1);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 (arg1)->SetMaxLength(arg2);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 Py_INCREF(Py_None); resultobj = Py_None;
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7001 wxString *arg2 = 0 ;
7002 bool temp2 = False ;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "text", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7011 {
7012 arg2 = wxString_in_helper(obj1);
7013 if (arg2 == NULL) SWIG_fail;
7014 temp2 = True;
7015 }
7016 {
7017 PyThreadState* __tstate = wxPyBeginAllowThreads();
7018 (arg1)->WriteText((wxString const &)*arg2);
7019
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 Py_INCREF(Py_None); resultobj = Py_None;
7024 {
7025 if (temp2)
7026 delete arg2;
7027 }
7028 return resultobj;
7029 fail:
7030 {
7031 if (temp2)
7032 delete arg2;
7033 }
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7041 wxString *arg2 = 0 ;
7042 bool temp2 = False ;
7043 PyObject * obj0 = 0 ;
7044 PyObject * obj1 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self",(char *) "text", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7051 {
7052 arg2 = wxString_in_helper(obj1);
7053 if (arg2 == NULL) SWIG_fail;
7054 temp2 = True;
7055 }
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 (arg1)->AppendText((wxString const &)*arg2);
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 {
7065 if (temp2)
7066 delete arg2;
7067 }
7068 return resultobj;
7069 fail:
7070 {
7071 if (temp2)
7072 delete arg2;
7073 }
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7081 wxKeyEvent *arg2 = 0 ;
7082 bool result;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "event", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7092 if (arg2 == NULL) {
7093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 resultobj = PyInt_FromLong((long)result);
7103 return resultobj;
7104 fail:
7105 return NULL;
7106 }
7107
7108
7109 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7110 PyObject *resultobj;
7111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7112 long arg2 ;
7113 long arg3 ;
7114 wxTextAttr *arg4 = 0 ;
7115 bool result;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj3 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7124 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125 if (arg4 == NULL) {
7126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7127 }
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = PyInt_FromLong((long)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7145 long arg2 ;
7146 wxTextAttr *arg3 = 0 ;
7147 bool result;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj2 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "position",(char *) "style", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7157 if (arg3 == NULL) {
7158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7159 }
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 resultobj = PyInt_FromLong((long)result);
7168 return resultobj;
7169 fail:
7170 return NULL;
7171 }
7172
7173
7174 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj;
7176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7177 wxTextAttr *arg2 = 0 ;
7178 bool result;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "style", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7188 if (arg2 == NULL) {
7189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7190 }
7191 {
7192 PyThreadState* __tstate = wxPyBeginAllowThreads();
7193 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7194
7195 wxPyEndAllowThreads(__tstate);
7196 if (PyErr_Occurred()) SWIG_fail;
7197 }
7198 resultobj = PyInt_FromLong((long)result);
7199 return resultobj;
7200 fail:
7201 return NULL;
7202 }
7203
7204
7205 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject *resultobj;
7207 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7208 wxTextAttr *result;
7209 PyObject * obj0 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 {
7219 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7220 result = (wxTextAttr *) &_result_ref;
7221 }
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7227 return resultobj;
7228 fail:
7229 return NULL;
7230 }
7231
7232
7233 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7236 long arg2 ;
7237 long arg3 ;
7238 long result;
7239 PyObject * obj0 = 0 ;
7240 char *kwnames[] = {
7241 (char *) "self",(char *) "x",(char *) "y", NULL
7242 };
7243
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 resultobj = PyInt_FromLong((long)result);
7254 return resultobj;
7255 fail:
7256 return NULL;
7257 }
7258
7259
7260 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj;
7262 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7263 long arg2 ;
7264 long *arg3 = (long *) 0 ;
7265 long *arg4 = (long *) 0 ;
7266 long temp3 ;
7267 long temp4 ;
7268 PyObject * obj0 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "pos", NULL
7271 };
7272
7273 arg3 = &temp3;
7274 arg4 = &temp4;
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 Py_INCREF(Py_None); resultobj = Py_None;
7285 {
7286 PyObject *o = PyInt_FromLong((long) (*arg3));
7287 resultobj = t_output_helper(resultobj,o);
7288 }
7289 {
7290 PyObject *o = PyInt_FromLong((long) (*arg4));
7291 resultobj = t_output_helper(resultobj,o);
7292 }
7293 return resultobj;
7294 fail:
7295 return NULL;
7296 }
7297
7298
7299 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7302 long arg2 ;
7303 PyObject * obj0 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self",(char *) "pos", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->ShowPosition(arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7327 PyObject * obj0 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "self", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 (arg1)->Copy();
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 Py_INCREF(Py_None); resultobj = Py_None;
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 (arg1)->Cut();
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 Py_INCREF(Py_None); resultobj = Py_None;
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj;
7374 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 (arg1)->Paste();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 Py_INCREF(Py_None); resultobj = Py_None;
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7399 bool result;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = PyInt_FromLong((long)result);
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7424 bool result;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = PyInt_FromLong((long)result);
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7449 bool result;
7450 PyObject * obj0 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 resultobj = PyInt_FromLong((long)result);
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->Undo();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 (arg1)->Redo();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7522 bool result;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = PyInt_FromLong((long)result);
7538 return resultobj;
7539 fail:
7540 return NULL;
7541 }
7542
7543
7544 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7547 bool result;
7548 PyObject * obj0 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = PyInt_FromLong((long)result);
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7572 long arg2 ;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self",(char *) "pos", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->SetInsertionPoint(arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->SetInsertionPointEnd();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 long result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = PyInt_FromLong((long)result);
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7646 long result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = PyInt_FromLong((long)result);
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7671 long arg2 ;
7672 long arg3 ;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self",(char *) "from",(char *) "to", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->SetSelection(arg2,arg3);
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 (arg1)->SelectAll();
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 Py_INCREF(Py_None); resultobj = Py_None;
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7721 bool arg2 ;
7722 PyObject * obj0 = 0 ;
7723 PyObject * obj1 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self",(char *) "editable", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7730 arg2 = PyInt_AsLong(obj1) ? true : false;
7731 if (PyErr_Occurred()) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetEditable(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7749 wxString *arg2 = 0 ;
7750 bool temp2 = False ;
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "text", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7759 {
7760 arg2 = wxString_in_helper(obj1);
7761 if (arg2 == NULL) SWIG_fail;
7762 temp2 = True;
7763 }
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 {
7773 if (temp2)
7774 delete arg2;
7775 }
7776 return resultobj;
7777 fail:
7778 {
7779 if (temp2)
7780 delete arg2;
7781 }
7782 return NULL;
7783 }
7784
7785
7786 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7787 PyObject *resultobj;
7788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7789 long arg2 ;
7790 long arg3 ;
7791 wxString result;
7792 PyObject * obj0 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "from",(char *) "to", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 {
7807 #if wxUSE_UNICODE
7808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7809 #else
7810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7811 #endif
7812 }
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7820 PyObject *obj;
7821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7822 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7823 Py_INCREF(obj);
7824 return Py_BuildValue((char *)"");
7825 }
7826 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 int arg1 ;
7829 wxMouseEvent *arg2 = 0 ;
7830 long arg3 ;
7831 long arg4 ;
7832 wxTextUrlEvent *result;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7840 if (arg2 == NULL) {
7841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7860 wxMouseEvent *result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 {
7871 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7872 result = (wxMouseEvent *) &_result_ref;
7873 }
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7879 return resultobj;
7880 fail:
7881 return NULL;
7882 }
7883
7884
7885 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7888 long result;
7889 PyObject * obj0 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 resultobj = PyInt_FromLong((long)result);
7904 return resultobj;
7905 fail:
7906 return NULL;
7907 }
7908
7909
7910 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7911 PyObject *resultobj;
7912 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7913 long result;
7914 PyObject * obj0 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 resultobj = PyInt_FromLong((long)result);
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7936 PyObject *obj;
7937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7938 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7939 Py_INCREF(obj);
7940 return Py_BuildValue((char *)"");
7941 }
7942 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxWindow *arg1 = (wxWindow *) 0 ;
7945 int arg2 = (int) -1 ;
7946 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7947 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7948 wxSize const &arg4_defvalue = wxDefaultSize ;
7949 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7950 long arg5 = (long) wxSB_HORIZONTAL ;
7951 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7952 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7953 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7954 wxString *arg7 = (wxString *) &arg7_defvalue ;
7955 wxScrollBar *result;
7956 wxPoint temp3 ;
7957 wxSize temp4 ;
7958 bool temp7 = False ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj2 = 0 ;
7961 PyObject * obj3 = 0 ;
7962 PyObject * obj5 = 0 ;
7963 PyObject * obj6 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 if (obj2) {
7971 {
7972 arg3 = &temp3;
7973 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7974 }
7975 }
7976 if (obj3) {
7977 {
7978 arg4 = &temp4;
7979 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7980 }
7981 }
7982 if (obj5) {
7983 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7984 if (arg6 == NULL) {
7985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7986 }
7987 }
7988 if (obj6) {
7989 {
7990 arg7 = wxString_in_helper(obj6);
7991 if (arg7 == NULL) SWIG_fail;
7992 temp7 = True;
7993 }
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8003 {
8004 if (temp7)
8005 delete arg7;
8006 }
8007 return resultobj;
8008 fail:
8009 {
8010 if (temp7)
8011 delete arg7;
8012 }
8013 return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxScrollBar *result;
8020 char *kwnames[] = {
8021 NULL
8022 };
8023
8024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (wxScrollBar *)new wxScrollBar();
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8042 wxWindow *arg2 = (wxWindow *) 0 ;
8043 int arg3 = (int) -1 ;
8044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8046 wxSize const &arg5_defvalue = wxDefaultSize ;
8047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8048 long arg6 = (long) wxSB_HORIZONTAL ;
8049 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8050 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8051 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8052 wxString *arg8 = (wxString *) &arg8_defvalue ;
8053 bool result;
8054 wxPoint temp4 ;
8055 wxSize temp5 ;
8056 bool temp8 = False ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj3 = 0 ;
8060 PyObject * obj4 = 0 ;
8061 PyObject * obj6 = 0 ;
8062 PyObject * obj7 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8070 if (obj3) {
8071 {
8072 arg4 = &temp4;
8073 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8074 }
8075 }
8076 if (obj4) {
8077 {
8078 arg5 = &temp5;
8079 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8080 }
8081 }
8082 if (obj6) {
8083 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 if (arg7 == NULL) {
8085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8086 }
8087 }
8088 if (obj7) {
8089 {
8090 arg8 = wxString_in_helper(obj7);
8091 if (arg8 == NULL) SWIG_fail;
8092 temp8 = True;
8093 }
8094 }
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 resultobj = PyInt_FromLong((long)result);
8103 {
8104 if (temp8)
8105 delete arg8;
8106 }
8107 return resultobj;
8108 fail:
8109 {
8110 if (temp8)
8111 delete arg8;
8112 }
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8120 int result;
8121 PyObject * obj0 = 0 ;
8122 char *kwnames[] = {
8123 (char *) "self", NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 resultobj = PyInt_FromLong((long)result);
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj;
8144 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8145 int result;
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "self", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 resultobj = PyInt_FromLong((long)result);
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8170 int result;
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 resultobj = PyInt_FromLong((long)result);
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8195 int result;
8196 PyObject * obj0 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 result = (int)((wxScrollBar const *)arg1)->GetRange();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 resultobj = PyInt_FromLong((long)result);
8211 return resultobj;
8212 fail:
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8220 bool result;
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 resultobj = PyInt_FromLong((long)result);
8236 return resultobj;
8237 fail:
8238 return NULL;
8239 }
8240
8241
8242 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8245 int arg2 ;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "viewStart", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 (arg1)->SetThumbPosition(arg2);
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 Py_INCREF(Py_None); resultobj = Py_None;
8261 return resultobj;
8262 fail:
8263 return NULL;
8264 }
8265
8266
8267 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj;
8269 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8270 int arg2 ;
8271 int arg3 ;
8272 int arg4 ;
8273 int arg5 ;
8274 bool arg6 = (bool) True ;
8275 PyObject * obj0 = 0 ;
8276 PyObject * obj5 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8283 if (obj5) {
8284 arg6 = PyInt_AsLong(obj5) ? true : false;
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 Py_INCREF(Py_None); resultobj = Py_None;
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8302 PyObject *obj;
8303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8304 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8305 Py_INCREF(obj);
8306 return Py_BuildValue((char *)"");
8307 }
8308 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxWindow *arg1 = (wxWindow *) 0 ;
8311 int arg2 = (int) -1 ;
8312 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8313 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8314 wxSize const &arg4_defvalue = wxDefaultSize ;
8315 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8316 long arg5 = (long) wxSP_HORIZONTAL ;
8317 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8318 wxString *arg6 = (wxString *) &arg6_defvalue ;
8319 wxSpinButton *result;
8320 wxPoint temp3 ;
8321 wxSize temp4 ;
8322 bool temp6 = False ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj2 = 0 ;
8325 PyObject * obj3 = 0 ;
8326 PyObject * obj5 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8333 if (obj2) {
8334 {
8335 arg3 = &temp3;
8336 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8337 }
8338 }
8339 if (obj3) {
8340 {
8341 arg4 = &temp4;
8342 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8343 }
8344 }
8345 if (obj5) {
8346 {
8347 arg6 = wxString_in_helper(obj5);
8348 if (arg6 == NULL) SWIG_fail;
8349 temp6 = True;
8350 }
8351 }
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8360 {
8361 if (temp6)
8362 delete arg6;
8363 }
8364 return resultobj;
8365 fail:
8366 {
8367 if (temp6)
8368 delete arg6;
8369 }
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxSpinButton *result;
8377 char *kwnames[] = {
8378 NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 result = (wxSpinButton *)new wxSpinButton();
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8399 wxWindow *arg2 = (wxWindow *) 0 ;
8400 int arg3 = (int) -1 ;
8401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8403 wxSize const &arg5_defvalue = wxDefaultSize ;
8404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8405 long arg6 = (long) wxSP_HORIZONTAL ;
8406 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8407 wxString *arg7 = (wxString *) &arg7_defvalue ;
8408 bool result;
8409 wxPoint temp4 ;
8410 wxSize temp5 ;
8411 bool temp7 = False ;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 PyObject * obj3 = 0 ;
8415 PyObject * obj4 = 0 ;
8416 PyObject * obj6 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8424 if (obj3) {
8425 {
8426 arg4 = &temp4;
8427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8428 }
8429 }
8430 if (obj4) {
8431 {
8432 arg5 = &temp5;
8433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8434 }
8435 }
8436 if (obj6) {
8437 {
8438 arg7 = wxString_in_helper(obj6);
8439 if (arg7 == NULL) SWIG_fail;
8440 temp7 = True;
8441 }
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = PyInt_FromLong((long)result);
8451 {
8452 if (temp7)
8453 delete arg7;
8454 }
8455 return resultobj;
8456 fail:
8457 {
8458 if (temp7)
8459 delete arg7;
8460 }
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8468 int result;
8469 PyObject * obj0 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self", NULL
8472 };
8473
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (int)((wxSpinButton const *)arg1)->GetValue();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = PyInt_FromLong((long)result);
8484 return resultobj;
8485 fail:
8486 return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj;
8492 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8493 int result;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = (int)((wxSpinButton const *)arg1)->GetMin();
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 resultobj = PyInt_FromLong((long)result);
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8516 PyObject *resultobj;
8517 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8518 int result;
8519 PyObject * obj0 = 0 ;
8520 char *kwnames[] = {
8521 (char *) "self", NULL
8522 };
8523
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (int)((wxSpinButton const *)arg1)->GetMax();
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 resultobj = PyInt_FromLong((long)result);
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8543 int arg2 ;
8544 PyObject * obj0 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self",(char *) "val", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 (arg1)->SetValue(arg2);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 Py_INCREF(Py_None); resultobj = Py_None;
8559 return resultobj;
8560 fail:
8561 return NULL;
8562 }
8563
8564
8565 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject *resultobj;
8567 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8568 int arg2 ;
8569 PyObject * obj0 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self",(char *) "minVal", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 (arg1)->SetMin(arg2);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
8583 Py_INCREF(Py_None); resultobj = Py_None;
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj;
8592 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8593 int arg2 ;
8594 PyObject * obj0 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "self",(char *) "maxVal", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 (arg1)->SetMax(arg2);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 Py_INCREF(Py_None); resultobj = Py_None;
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj;
8617 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8618 int arg2 ;
8619 int arg3 ;
8620 PyObject * obj0 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->SetRange(arg2,arg3);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj;
8643 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8644 bool result;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 resultobj = PyInt_FromLong((long)result);
8660 return resultobj;
8661 fail:
8662 return NULL;
8663 }
8664
8665
8666 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8667 PyObject *obj;
8668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8669 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8670 Py_INCREF(obj);
8671 return Py_BuildValue((char *)"");
8672 }
8673 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxWindow *arg1 = (wxWindow *) 0 ;
8676 int arg2 = (int) -1 ;
8677 wxString const &arg3_defvalue = wxPyEmptyString ;
8678 wxString *arg3 = (wxString *) &arg3_defvalue ;
8679 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8680 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8681 wxSize const &arg5_defvalue = wxDefaultSize ;
8682 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8683 long arg6 = (long) wxSP_ARROW_KEYS ;
8684 int arg7 = (int) 0 ;
8685 int arg8 = (int) 100 ;
8686 int arg9 = (int) 0 ;
8687 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8688 wxString *arg10 = (wxString *) &arg10_defvalue ;
8689 wxSpinCtrl *result;
8690 bool temp3 = False ;
8691 wxPoint temp4 ;
8692 wxSize temp5 ;
8693 bool temp10 = False ;
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj2 = 0 ;
8696 PyObject * obj3 = 0 ;
8697 PyObject * obj4 = 0 ;
8698 PyObject * obj9 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 if (obj2) {
8706 {
8707 arg3 = wxString_in_helper(obj2);
8708 if (arg3 == NULL) SWIG_fail;
8709 temp3 = True;
8710 }
8711 }
8712 if (obj3) {
8713 {
8714 arg4 = &temp4;
8715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8716 }
8717 }
8718 if (obj4) {
8719 {
8720 arg5 = &temp5;
8721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8722 }
8723 }
8724 if (obj9) {
8725 {
8726 arg10 = wxString_in_helper(obj9);
8727 if (arg10 == NULL) SWIG_fail;
8728 temp10 = True;
8729 }
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8739 {
8740 if (temp3)
8741 delete arg3;
8742 }
8743 {
8744 if (temp10)
8745 delete arg10;
8746 }
8747 return resultobj;
8748 fail:
8749 {
8750 if (temp3)
8751 delete arg3;
8752 }
8753 {
8754 if (temp10)
8755 delete arg10;
8756 }
8757 return NULL;
8758 }
8759
8760
8761 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxSpinCtrl *result;
8764 char *kwnames[] = {
8765 NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 result = (wxSpinCtrl *)new wxSpinCtrl();
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8786 wxWindow *arg2 = (wxWindow *) 0 ;
8787 int arg3 = (int) -1 ;
8788 wxString const &arg4_defvalue = wxPyEmptyString ;
8789 wxString *arg4 = (wxString *) &arg4_defvalue ;
8790 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8791 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8792 wxSize const &arg6_defvalue = wxDefaultSize ;
8793 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8794 long arg7 = (long) wxSP_ARROW_KEYS ;
8795 int arg8 = (int) 0 ;
8796 int arg9 = (int) 100 ;
8797 int arg10 = (int) 0 ;
8798 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8799 wxString *arg11 = (wxString *) &arg11_defvalue ;
8800 bool result;
8801 bool temp4 = False ;
8802 wxPoint temp5 ;
8803 wxSize temp6 ;
8804 bool temp11 = False ;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807 PyObject * obj3 = 0 ;
8808 PyObject * obj4 = 0 ;
8809 PyObject * obj5 = 0 ;
8810 PyObject * obj10 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8818 if (obj3) {
8819 {
8820 arg4 = wxString_in_helper(obj3);
8821 if (arg4 == NULL) SWIG_fail;
8822 temp4 = True;
8823 }
8824 }
8825 if (obj4) {
8826 {
8827 arg5 = &temp5;
8828 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8829 }
8830 }
8831 if (obj5) {
8832 {
8833 arg6 = &temp6;
8834 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8835 }
8836 }
8837 if (obj10) {
8838 {
8839 arg11 = wxString_in_helper(obj10);
8840 if (arg11 == NULL) SWIG_fail;
8841 temp11 = True;
8842 }
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 resultobj = PyInt_FromLong((long)result);
8852 {
8853 if (temp4)
8854 delete arg4;
8855 }
8856 {
8857 if (temp11)
8858 delete arg11;
8859 }
8860 return resultobj;
8861 fail:
8862 {
8863 if (temp4)
8864 delete arg4;
8865 }
8866 {
8867 if (temp11)
8868 delete arg11;
8869 }
8870 return NULL;
8871 }
8872
8873
8874 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj;
8876 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8877 int result;
8878 PyObject * obj0 = 0 ;
8879 char *kwnames[] = {
8880 (char *) "self", NULL
8881 };
8882
8883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = PyInt_FromLong((long)result);
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8902 int arg2 ;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "value", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8910 {
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 (arg1)->SetValue(arg2);
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 Py_INCREF(Py_None); resultobj = Py_None;
8918 return resultobj;
8919 fail:
8920 return NULL;
8921 }
8922
8923
8924 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8927 wxString *arg2 = 0 ;
8928 bool temp2 = False ;
8929 PyObject * obj0 = 0 ;
8930 PyObject * obj1 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self",(char *) "text", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8937 {
8938 arg2 = wxString_in_helper(obj1);
8939 if (arg2 == NULL) SWIG_fail;
8940 temp2 = True;
8941 }
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 (arg1)->SetValue((wxString const &)*arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 Py_INCREF(Py_None); resultobj = Py_None;
8950 {
8951 if (temp2)
8952 delete arg2;
8953 }
8954 return resultobj;
8955 fail:
8956 {
8957 if (temp2)
8958 delete arg2;
8959 }
8960 return NULL;
8961 }
8962
8963
8964 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8967 int arg2 ;
8968 int arg3 ;
8969 PyObject * obj0 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 (arg1)->SetRange(arg2,arg3);
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 Py_INCREF(Py_None); resultobj = Py_None;
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8993 int result;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 resultobj = PyInt_FromLong((long)result);
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9018 int result;
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 resultobj = PyInt_FromLong((long)result);
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9043 long arg2 ;
9044 long arg3 ;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self",(char *) "from",(char *) "to", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 (arg1)->SetSelection(arg2,arg3);
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 Py_INCREF(Py_None); resultobj = Py_None;
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9067 PyObject *obj;
9068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9069 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9070 Py_INCREF(obj);
9071 return Py_BuildValue((char *)"");
9072 }
9073 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxWindow *arg1 = (wxWindow *) 0 ;
9076 int arg2 ;
9077 wxString *arg3 = 0 ;
9078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9080 wxSize const &arg5_defvalue = wxDefaultSize ;
9081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9082 int arg6 = (int) 0 ;
9083 wxString *arg7 = (wxString *) NULL ;
9084 int arg8 = (int) 0 ;
9085 long arg9 = (long) wxRA_HORIZONTAL ;
9086 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9087 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9088 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9089 wxString *arg11 = (wxString *) &arg11_defvalue ;
9090 wxRadioBox *result;
9091 bool temp3 = False ;
9092 wxPoint temp4 ;
9093 wxSize temp5 ;
9094 bool temp10 = False ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj2 = 0 ;
9097 PyObject * obj3 = 0 ;
9098 PyObject * obj4 = 0 ;
9099 PyObject * obj5 = 0 ;
9100 PyObject * obj8 = 0 ;
9101 PyObject * obj9 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9108 {
9109 arg3 = wxString_in_helper(obj2);
9110 if (arg3 == NULL) SWIG_fail;
9111 temp3 = True;
9112 }
9113 if (obj3) {
9114 {
9115 arg4 = &temp4;
9116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9117 }
9118 }
9119 if (obj4) {
9120 {
9121 arg5 = &temp5;
9122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9123 }
9124 }
9125 if (obj5) {
9126 {
9127 arg6 = PyList_Size(obj5);
9128 arg7 = wxString_LIST_helper(obj5);
9129 if (arg7 == NULL) SWIG_fail;
9130 }
9131 }
9132 if (obj8) {
9133 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9134 if (arg10 == NULL) {
9135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9136 }
9137 }
9138 if (obj9) {
9139 {
9140 arg11 = wxString_in_helper(obj9);
9141 if (arg11 == NULL) SWIG_fail;
9142 temp10 = True;
9143 }
9144 }
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 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);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9153 {
9154 if (temp3)
9155 delete arg3;
9156 }
9157 {
9158 if (arg7) delete [] arg7;
9159 }
9160 {
9161 if (temp10)
9162 delete arg11;
9163 }
9164 return resultobj;
9165 fail:
9166 {
9167 if (temp3)
9168 delete arg3;
9169 }
9170 {
9171 if (arg7) delete [] arg7;
9172 }
9173 {
9174 if (temp10)
9175 delete arg11;
9176 }
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxRadioBox *result;
9184 char *kwnames[] = {
9185 NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (wxRadioBox *)new wxRadioBox();
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9206 wxWindow *arg2 = (wxWindow *) 0 ;
9207 int arg3 ;
9208 wxString *arg4 = 0 ;
9209 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9210 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9211 wxSize const &arg6_defvalue = wxDefaultSize ;
9212 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9213 int arg7 = (int) 0 ;
9214 wxString *arg8 = (wxString *) NULL ;
9215 int arg9 = (int) 0 ;
9216 long arg10 = (long) wxRA_HORIZONTAL ;
9217 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9218 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9219 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9220 wxString *arg12 = (wxString *) &arg12_defvalue ;
9221 bool result;
9222 bool temp4 = False ;
9223 wxPoint temp5 ;
9224 wxSize temp6 ;
9225 bool temp11 = False ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj3 = 0 ;
9229 PyObject * obj4 = 0 ;
9230 PyObject * obj5 = 0 ;
9231 PyObject * obj6 = 0 ;
9232 PyObject * obj9 = 0 ;
9233 PyObject * obj10 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9241 {
9242 arg4 = wxString_in_helper(obj3);
9243 if (arg4 == NULL) SWIG_fail;
9244 temp4 = True;
9245 }
9246 if (obj4) {
9247 {
9248 arg5 = &temp5;
9249 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9250 }
9251 }
9252 if (obj5) {
9253 {
9254 arg6 = &temp6;
9255 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9256 }
9257 }
9258 if (obj6) {
9259 {
9260 arg7 = PyList_Size(obj6);
9261 arg8 = wxString_LIST_helper(obj6);
9262 if (arg8 == NULL) SWIG_fail;
9263 }
9264 }
9265 if (obj9) {
9266 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9267 if (arg11 == NULL) {
9268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9269 }
9270 }
9271 if (obj10) {
9272 {
9273 arg12 = wxString_in_helper(obj10);
9274 if (arg12 == NULL) SWIG_fail;
9275 temp11 = True;
9276 }
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 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);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 resultobj = PyInt_FromLong((long)result);
9286 {
9287 if (temp4)
9288 delete arg4;
9289 }
9290 {
9291 if (arg8) delete [] arg8;
9292 }
9293 {
9294 if (temp11)
9295 delete arg12;
9296 }
9297 return resultobj;
9298 fail:
9299 {
9300 if (temp4)
9301 delete arg4;
9302 }
9303 {
9304 if (arg8) delete [] arg8;
9305 }
9306 {
9307 if (temp11)
9308 delete arg12;
9309 }
9310 return NULL;
9311 }
9312
9313
9314 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9317 int arg2 ;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self",(char *) "n", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->SetSelection(arg2);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9342 int result;
9343 PyObject * obj0 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 resultobj = PyInt_FromLong((long)result);
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9367 wxString result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 {
9383 #if wxUSE_UNICODE
9384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9385 #else
9386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9387 #endif
9388 }
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9398 wxString *arg2 = 0 ;
9399 bool result;
9400 bool temp2 = False ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403 char *kwnames[] = {
9404 (char *) "self",(char *) "s", NULL
9405 };
9406
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9409 {
9410 arg2 = wxString_in_helper(obj1);
9411 if (arg2 == NULL) SWIG_fail;
9412 temp2 = True;
9413 }
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 resultobj = PyInt_FromLong((long)result);
9422 {
9423 if (temp2)
9424 delete arg2;
9425 }
9426 return resultobj;
9427 fail:
9428 {
9429 if (temp2)
9430 delete arg2;
9431 }
9432 return NULL;
9433 }
9434
9435
9436 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9439 int result;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (int)((wxRadioBox const *)arg1)->GetCount();
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = PyInt_FromLong((long)result);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9464 wxString *arg2 = 0 ;
9465 int result;
9466 bool temp2 = False ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "s", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9475 {
9476 arg2 = wxString_in_helper(obj1);
9477 if (arg2 == NULL) SWIG_fail;
9478 temp2 = True;
9479 }
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = PyInt_FromLong((long)result);
9488 {
9489 if (temp2)
9490 delete arg2;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp2)
9496 delete arg2;
9497 }
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9505 int arg2 ;
9506 wxString result;
9507 PyObject * obj0 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self",(char *) "n", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 #if wxUSE_UNICODE
9523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9524 #else
9525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9526 #endif
9527 }
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9537 int arg2 ;
9538 wxString *arg3 = 0 ;
9539 bool temp3 = False ;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj2 = 0 ;
9542 char *kwnames[] = {
9543 (char *) "self",(char *) "n",(char *) "label", NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9548 {
9549 arg3 = wxString_in_helper(obj2);
9550 if (arg3 == NULL) SWIG_fail;
9551 temp3 = True;
9552 }
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 (arg1)->SetString(arg2,(wxString const &)*arg3);
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 Py_INCREF(Py_None); resultobj = Py_None;
9561 {
9562 if (temp3)
9563 delete arg3;
9564 }
9565 return resultobj;
9566 fail:
9567 {
9568 if (temp3)
9569 delete arg3;
9570 }
9571 return NULL;
9572 }
9573
9574
9575 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9578 int arg2 ;
9579 bool arg3 = (bool) True ;
9580 PyObject * obj0 = 0 ;
9581 PyObject * obj2 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self",(char *) "n",(char *) "enable", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9588 if (obj2) {
9589 arg3 = PyInt_AsLong(obj2) ? true : false;
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 (arg1)->Enable(arg2,arg3);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 Py_INCREF(Py_None); resultobj = Py_None;
9600 return resultobj;
9601 fail:
9602 return NULL;
9603 }
9604
9605
9606 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj;
9608 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9609 int arg2 ;
9610 bool arg3 = (bool) True ;
9611 PyObject * obj0 = 0 ;
9612 PyObject * obj2 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "n",(char *) "show", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 if (obj2) {
9620 arg3 = PyInt_AsLong(obj2) ? true : false;
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 (arg1)->Show(arg2,arg3);
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 Py_INCREF(Py_None); resultobj = Py_None;
9631 return resultobj;
9632 fail:
9633 return NULL;
9634 }
9635
9636
9637 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9640 int result;
9641 PyObject * obj0 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = PyInt_FromLong((long)result);
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9665 int result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 resultobj = PyInt_FromLong((long)result);
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9690 int arg2 ;
9691 int arg3 ;
9692 long arg4 ;
9693 int result;
9694 PyObject * obj0 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 resultobj = PyInt_FromLong((long)result);
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9716 PyObject *obj;
9717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9718 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9719 Py_INCREF(obj);
9720 return Py_BuildValue((char *)"");
9721 }
9722 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxWindow *arg1 = (wxWindow *) 0 ;
9725 int arg2 ;
9726 wxString *arg3 = 0 ;
9727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9729 wxSize const &arg5_defvalue = wxDefaultSize ;
9730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9731 long arg6 = (long) 0 ;
9732 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9733 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9734 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9735 wxString *arg8 = (wxString *) &arg8_defvalue ;
9736 wxRadioButton *result;
9737 bool temp3 = False ;
9738 wxPoint temp4 ;
9739 wxSize temp5 ;
9740 bool temp8 = False ;
9741 PyObject * obj0 = 0 ;
9742 PyObject * obj2 = 0 ;
9743 PyObject * obj3 = 0 ;
9744 PyObject * obj4 = 0 ;
9745 PyObject * obj6 = 0 ;
9746 PyObject * obj7 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9753 {
9754 arg3 = wxString_in_helper(obj2);
9755 if (arg3 == NULL) SWIG_fail;
9756 temp3 = True;
9757 }
9758 if (obj3) {
9759 {
9760 arg4 = &temp4;
9761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9762 }
9763 }
9764 if (obj4) {
9765 {
9766 arg5 = &temp5;
9767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9768 }
9769 }
9770 if (obj6) {
9771 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 if (arg7 == NULL) {
9773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9774 }
9775 }
9776 if (obj7) {
9777 {
9778 arg8 = wxString_in_helper(obj7);
9779 if (arg8 == NULL) SWIG_fail;
9780 temp8 = True;
9781 }
9782 }
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9791 {
9792 if (temp3)
9793 delete arg3;
9794 }
9795 {
9796 if (temp8)
9797 delete arg8;
9798 }
9799 return resultobj;
9800 fail:
9801 {
9802 if (temp3)
9803 delete arg3;
9804 }
9805 {
9806 if (temp8)
9807 delete arg8;
9808 }
9809 return NULL;
9810 }
9811
9812
9813 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 wxRadioButton *result;
9816 char *kwnames[] = {
9817 NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (wxRadioButton *)new wxRadioButton();
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9838 wxWindow *arg2 = (wxWindow *) 0 ;
9839 int arg3 ;
9840 wxString *arg4 = 0 ;
9841 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9842 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9843 wxSize const &arg6_defvalue = wxDefaultSize ;
9844 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9845 long arg7 = (long) 0 ;
9846 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9847 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9848 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9849 wxString *arg9 = (wxString *) &arg9_defvalue ;
9850 bool result;
9851 bool temp4 = False ;
9852 wxPoint temp5 ;
9853 wxSize temp6 ;
9854 bool temp9 = False ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 PyObject * obj3 = 0 ;
9858 PyObject * obj4 = 0 ;
9859 PyObject * obj5 = 0 ;
9860 PyObject * obj7 = 0 ;
9861 PyObject * obj8 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9869 {
9870 arg4 = wxString_in_helper(obj3);
9871 if (arg4 == NULL) SWIG_fail;
9872 temp4 = True;
9873 }
9874 if (obj4) {
9875 {
9876 arg5 = &temp5;
9877 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9878 }
9879 }
9880 if (obj5) {
9881 {
9882 arg6 = &temp6;
9883 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9884 }
9885 }
9886 if (obj7) {
9887 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 if (arg8 == NULL) {
9889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9890 }
9891 }
9892 if (obj8) {
9893 {
9894 arg9 = wxString_in_helper(obj8);
9895 if (arg9 == NULL) SWIG_fail;
9896 temp9 = True;
9897 }
9898 }
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 resultobj = PyInt_FromLong((long)result);
9907 {
9908 if (temp4)
9909 delete arg4;
9910 }
9911 {
9912 if (temp9)
9913 delete arg9;
9914 }
9915 return resultobj;
9916 fail:
9917 {
9918 if (temp4)
9919 delete arg4;
9920 }
9921 {
9922 if (temp9)
9923 delete arg9;
9924 }
9925 return NULL;
9926 }
9927
9928
9929 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9932 bool result;
9933 PyObject * obj0 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (bool)(arg1)->GetValue();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 resultobj = PyInt_FromLong((long)result);
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9957 bool arg2 ;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "value", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9966 arg2 = PyInt_AsLong(obj1) ? true : false;
9967 if (PyErr_Occurred()) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetValue(arg2);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
9983 PyObject *obj;
9984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
9986 Py_INCREF(obj);
9987 return Py_BuildValue((char *)"");
9988 }
9989 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxWindow *arg1 = (wxWindow *) 0 ;
9992 int arg2 ;
9993 int arg3 ;
9994 int arg4 ;
9995 int arg5 ;
9996 wxPoint const &arg6_defvalue = wxDefaultPosition ;
9997 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
9998 wxSize const &arg7_defvalue = wxDefaultSize ;
9999 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10000 long arg8 = (long) wxSL_HORIZONTAL ;
10001 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10002 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10003 wxString const &arg10_defvalue = wxPySliderNameStr ;
10004 wxString *arg10 = (wxString *) &arg10_defvalue ;
10005 wxSlider *result;
10006 wxPoint temp6 ;
10007 wxSize temp7 ;
10008 bool temp10 = False ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj5 = 0 ;
10011 PyObject * obj6 = 0 ;
10012 PyObject * obj8 = 0 ;
10013 PyObject * obj9 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10020 if (obj5) {
10021 {
10022 arg6 = &temp6;
10023 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10024 }
10025 }
10026 if (obj6) {
10027 {
10028 arg7 = &temp7;
10029 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10030 }
10031 }
10032 if (obj8) {
10033 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 if (arg9 == NULL) {
10035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10036 }
10037 }
10038 if (obj9) {
10039 {
10040 arg10 = wxString_in_helper(obj9);
10041 if (arg10 == NULL) SWIG_fail;
10042 temp10 = True;
10043 }
10044 }
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10053 {
10054 if (temp10)
10055 delete arg10;
10056 }
10057 return resultobj;
10058 fail:
10059 {
10060 if (temp10)
10061 delete arg10;
10062 }
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxSlider *result;
10070 char *kwnames[] = {
10071 NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (wxSlider *)new wxSlider();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxSlider *arg1 = (wxSlider *) 0 ;
10092 wxWindow *arg2 = (wxWindow *) 0 ;
10093 int arg3 ;
10094 int arg4 ;
10095 int arg5 ;
10096 int arg6 ;
10097 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10098 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10099 wxSize const &arg8_defvalue = wxDefaultSize ;
10100 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10101 long arg9 = (long) wxSL_HORIZONTAL ;
10102 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10103 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10104 wxString const &arg11_defvalue = wxPySliderNameStr ;
10105 wxString *arg11 = (wxString *) &arg11_defvalue ;
10106 bool result;
10107 wxPoint temp7 ;
10108 wxSize temp8 ;
10109 bool temp11 = False ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112 PyObject * obj6 = 0 ;
10113 PyObject * obj7 = 0 ;
10114 PyObject * obj9 = 0 ;
10115 PyObject * obj10 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10123 if (obj6) {
10124 {
10125 arg7 = &temp7;
10126 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10127 }
10128 }
10129 if (obj7) {
10130 {
10131 arg8 = &temp8;
10132 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10133 }
10134 }
10135 if (obj9) {
10136 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10137 if (arg10 == NULL) {
10138 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10139 }
10140 }
10141 if (obj10) {
10142 {
10143 arg11 = wxString_in_helper(obj10);
10144 if (arg11 == NULL) SWIG_fail;
10145 temp11 = True;
10146 }
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 resultobj = PyInt_FromLong((long)result);
10156 {
10157 if (temp11)
10158 delete arg11;
10159 }
10160 return resultobj;
10161 fail:
10162 {
10163 if (temp11)
10164 delete arg11;
10165 }
10166 return NULL;
10167 }
10168
10169
10170 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10171 PyObject *resultobj;
10172 wxSlider *arg1 = (wxSlider *) 0 ;
10173 int result;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = (int)((wxSlider const *)arg1)->GetValue();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = PyInt_FromLong((long)result);
10189 return resultobj;
10190 fail:
10191 return NULL;
10192 }
10193
10194
10195 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxSlider *arg1 = (wxSlider *) 0 ;
10198 int arg2 ;
10199 PyObject * obj0 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self",(char *) "value", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 (arg1)->SetValue(arg2);
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 Py_INCREF(Py_None); resultobj = Py_None;
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxSlider *arg1 = (wxSlider *) 0 ;
10223 int arg2 ;
10224 int arg3 ;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 (arg1)->SetRange(arg2,arg3);
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 Py_INCREF(Py_None); resultobj = Py_None;
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxSlider *arg1 = (wxSlider *) 0 ;
10249 int result;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (int)((wxSlider const *)arg1)->GetMin();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = PyInt_FromLong((long)result);
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxSlider *arg1 = (wxSlider *) 0 ;
10274 int result;
10275 PyObject * obj0 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "self", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (int)((wxSlider const *)arg1)->GetMax();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 resultobj = PyInt_FromLong((long)result);
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxSlider *arg1 = (wxSlider *) 0 ;
10299 int arg2 ;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "minValue", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->SetMin(arg2);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxSlider *arg1 = (wxSlider *) 0 ;
10324 int arg2 ;
10325 PyObject * obj0 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "maxValue", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 (arg1)->SetMax(arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj;
10348 wxSlider *arg1 = (wxSlider *) 0 ;
10349 int arg2 ;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "lineSize", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 (arg1)->SetLineSize(arg2);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 Py_INCREF(Py_None); resultobj = Py_None;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxSlider *arg1 = (wxSlider *) 0 ;
10374 int arg2 ;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "pageSize", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetPageSize(arg2);
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 Py_INCREF(Py_None); resultobj = Py_None;
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxSlider *arg1 = (wxSlider *) 0 ;
10399 int result;
10400 PyObject * obj0 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (int)((wxSlider const *)arg1)->GetLineSize();
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 resultobj = PyInt_FromLong((long)result);
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj;
10423 wxSlider *arg1 = (wxSlider *) 0 ;
10424 int result;
10425 PyObject * obj0 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = (int)((wxSlider const *)arg1)->GetPageSize();
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 resultobj = PyInt_FromLong((long)result);
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxSlider *arg1 = (wxSlider *) 0 ;
10449 int arg2 ;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self",(char *) "lenPixels", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->SetThumbLength(arg2);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxSlider *arg1 = (wxSlider *) 0 ;
10474 int result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = PyInt_FromLong((long)result);
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject *resultobj;
10498 wxSlider *arg1 = (wxSlider *) 0 ;
10499 int arg2 ;
10500 int arg3 ;
10501 PyObject * obj0 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self",(char *) "n",(char *) "pos", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 (arg1)->SetTickFreq(arg2,arg3);
10511
10512 wxPyEndAllowThreads(__tstate);
10513 if (PyErr_Occurred()) SWIG_fail;
10514 }
10515 Py_INCREF(Py_None); resultobj = Py_None;
10516 return resultobj;
10517 fail:
10518 return NULL;
10519 }
10520
10521
10522 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 wxSlider *arg1 = (wxSlider *) 0 ;
10525 int result;
10526 PyObject * obj0 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 resultobj = PyInt_FromLong((long)result);
10541 return resultobj;
10542 fail:
10543 return NULL;
10544 }
10545
10546
10547 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxSlider *arg1 = (wxSlider *) 0 ;
10550 PyObject * obj0 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->ClearTicks();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxSlider *arg1 = (wxSlider *) 0 ;
10574 int arg2 ;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "tickPos", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->SetTick(arg2);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 Py_INCREF(Py_None); resultobj = Py_None;
10590 return resultobj;
10591 fail:
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxSlider *arg1 = (wxSlider *) 0 ;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 (arg1)->ClearSel();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxSlider *arg1 = (wxSlider *) 0 ;
10623 int result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = PyInt_FromLong((long)result);
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxSlider *arg1 = (wxSlider *) 0 ;
10648 int result;
10649 PyObject * obj0 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)((wxSlider const *)arg1)->GetSelStart();
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 resultobj = PyInt_FromLong((long)result);
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxSlider *arg1 = (wxSlider *) 0 ;
10673 int arg2 ;
10674 int arg3 ;
10675 PyObject * obj0 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "min",(char *) "max", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetSelection(arg2,arg3);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10697 PyObject *obj;
10698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10699 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10700 Py_INCREF(obj);
10701 return Py_BuildValue((char *)"");
10702 }
10703 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxWindow *arg1 = (wxWindow *) 0 ;
10706 int arg2 ;
10707 wxString *arg3 = 0 ;
10708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10710 wxSize const &arg5_defvalue = wxDefaultSize ;
10711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10712 long arg6 = (long) 0 ;
10713 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10714 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10715 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10716 wxString *arg8 = (wxString *) &arg8_defvalue ;
10717 wxToggleButton *result;
10718 bool temp3 = False ;
10719 wxPoint temp4 ;
10720 wxSize temp5 ;
10721 bool temp8 = False ;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj2 = 0 ;
10724 PyObject * obj3 = 0 ;
10725 PyObject * obj4 = 0 ;
10726 PyObject * obj6 = 0 ;
10727 PyObject * obj7 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 {
10735 arg3 = wxString_in_helper(obj2);
10736 if (arg3 == NULL) SWIG_fail;
10737 temp3 = True;
10738 }
10739 if (obj3) {
10740 {
10741 arg4 = &temp4;
10742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10743 }
10744 }
10745 if (obj4) {
10746 {
10747 arg5 = &temp5;
10748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10749 }
10750 }
10751 if (obj6) {
10752 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10753 if (arg7 == NULL) {
10754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10755 }
10756 }
10757 if (obj7) {
10758 {
10759 arg8 = wxString_in_helper(obj7);
10760 if (arg8 == NULL) SWIG_fail;
10761 temp8 = True;
10762 }
10763 }
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10772 {
10773 if (temp3)
10774 delete arg3;
10775 }
10776 {
10777 if (temp8)
10778 delete arg8;
10779 }
10780 return resultobj;
10781 fail:
10782 {
10783 if (temp3)
10784 delete arg3;
10785 }
10786 {
10787 if (temp8)
10788 delete arg8;
10789 }
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxToggleButton *result;
10797 char *kwnames[] = {
10798 NULL
10799 };
10800
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (wxToggleButton *)new wxToggleButton();
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
10817 PyObject *obj;
10818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10819 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
10820 Py_INCREF(obj);
10821 return Py_BuildValue((char *)"");
10822 }
10823 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10826 size_t result;
10827 PyObject * obj0 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
10833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
10837
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 resultobj = PyInt_FromLong((long)result);
10842 return resultobj;
10843 fail:
10844 return NULL;
10845 }
10846
10847
10848 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10851 size_t arg2 ;
10852 wxWindow *result;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "n", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10861 arg2 = (size_t) PyInt_AsLong(obj1);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 result = (wxWindow *)(arg1)->GetPage(arg2);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 {
10871 resultobj = wxPyMake_wxObject(result);
10872 }
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject *resultobj;
10881 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10882 int result;
10883 PyObject * obj0 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "self", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = PyInt_FromLong((long)result);
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10907 size_t arg2 ;
10908 wxString *arg3 = 0 ;
10909 bool result;
10910 bool temp3 = False ;
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
10913 PyObject * obj2 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "self",(char *) "n",(char *) "strText", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10920 arg2 = (size_t) PyInt_AsLong(obj1);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 {
10923 arg3 = wxString_in_helper(obj2);
10924 if (arg3 == NULL) SWIG_fail;
10925 temp3 = True;
10926 }
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 resultobj = PyInt_FromLong((long)result);
10935 {
10936 if (temp3)
10937 delete arg3;
10938 }
10939 return resultobj;
10940 fail:
10941 {
10942 if (temp3)
10943 delete arg3;
10944 }
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10952 size_t arg2 ;
10953 wxString result;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "self",(char *) "n", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
10961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10962 arg2 = (size_t) PyInt_AsLong(obj1);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 {
10972 #if wxUSE_UNICODE
10973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10974 #else
10975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10976 #endif
10977 }
10978 return resultobj;
10979 fail:
10980 return NULL;
10981 }
10982
10983
10984 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10987 wxImageList *arg2 = (wxImageList *) 0 ;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self",(char *) "imageList", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->SetImageList(arg2);
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 Py_INCREF(Py_None); resultobj = Py_None;
11005 return resultobj;
11006 fail:
11007 return NULL;
11008 }
11009
11010
11011 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj;
11013 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11014 wxImageList *arg2 = (wxImageList *) 0 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self",(char *) "imageList", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 (arg1)->AssignImageList(arg2);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11041 wxImageList *result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
11057 resultobj = wxPyMake_wxObject(result);
11058 }
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11068 size_t arg2 ;
11069 int result;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self",(char *) "n", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11078 arg2 = (size_t) PyInt_AsLong(obj1);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 resultobj = PyInt_FromLong((long)result);
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11097 size_t arg2 ;
11098 int arg3 ;
11099 bool result;
11100 PyObject * obj0 = 0 ;
11101 PyObject * obj1 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self",(char *) "n",(char *) "imageId", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 arg2 = (size_t) PyInt_AsLong(obj1);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = PyInt_FromLong((long)result);
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject *resultobj;
11126 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11127 wxSize *arg2 = 0 ;
11128 wxSize temp2 ;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "self",(char *) "size", NULL
11133 };
11134
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11137 {
11138 arg2 = &temp2;
11139 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11140 }
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetPageSize((wxSize const &)*arg2);
11144
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 Py_INCREF(Py_None); resultobj = Py_None;
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11158 wxSize *arg2 = 0 ;
11159 wxSize result;
11160 wxSize temp2 ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "sizePage", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11169 {
11170 arg2 = &temp2;
11171 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11172 }
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 wxSize * resultptr;
11182 resultptr = new wxSize((wxSize &) result);
11183 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11184 }
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11194 size_t arg2 ;
11195 bool result;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "n", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 arg2 = (size_t) PyInt_AsLong(obj1);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (bool)(arg1)->DeletePage(arg2);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 resultobj = PyInt_FromLong((long)result);
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11223 size_t arg2 ;
11224 bool result;
11225 PyObject * obj0 = 0 ;
11226 PyObject * obj1 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self",(char *) "n", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 arg2 = (size_t) PyInt_AsLong(obj1);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (bool)(arg1)->RemovePage(arg2);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 resultobj = PyInt_FromLong((long)result);
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11252 bool result;
11253 PyObject * obj0 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (bool)(arg1)->DeleteAllPages();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = PyInt_FromLong((long)result);
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11277 wxWindow *arg2 = (wxWindow *) 0 ;
11278 wxString *arg3 = 0 ;
11279 bool arg4 = (bool) False ;
11280 int arg5 = (int) -1 ;
11281 bool result;
11282 bool temp3 = False ;
11283 PyObject * obj0 = 0 ;
11284 PyObject * obj1 = 0 ;
11285 PyObject * obj2 = 0 ;
11286 PyObject * obj3 = 0 ;
11287 char *kwnames[] = {
11288 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11289 };
11290
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 {
11295 arg3 = wxString_in_helper(obj2);
11296 if (arg3 == NULL) SWIG_fail;
11297 temp3 = True;
11298 }
11299 if (obj3) {
11300 arg4 = PyInt_AsLong(obj3) ? true : false;
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = PyInt_FromLong((long)result);
11311 {
11312 if (temp3)
11313 delete arg3;
11314 }
11315 return resultobj;
11316 fail:
11317 {
11318 if (temp3)
11319 delete arg3;
11320 }
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11328 size_t arg2 ;
11329 wxWindow *arg3 = (wxWindow *) 0 ;
11330 wxString *arg4 = 0 ;
11331 bool arg5 = (bool) False ;
11332 int arg6 = (int) -1 ;
11333 bool result;
11334 bool temp4 = False ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 PyObject * obj2 = 0 ;
11338 PyObject * obj3 = 0 ;
11339 PyObject * obj4 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 arg2 = (size_t) PyInt_AsLong(obj1);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11349 {
11350 arg4 = wxString_in_helper(obj3);
11351 if (arg4 == NULL) SWIG_fail;
11352 temp4 = True;
11353 }
11354 if (obj4) {
11355 arg5 = PyInt_AsLong(obj4) ? true : false;
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 resultobj = PyInt_FromLong((long)result);
11366 {
11367 if (temp4)
11368 delete arg4;
11369 }
11370 return resultobj;
11371 fail:
11372 {
11373 if (temp4)
11374 delete arg4;
11375 }
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11383 size_t arg2 ;
11384 int result;
11385 PyObject * obj0 = 0 ;
11386 PyObject * obj1 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self",(char *) "n", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11393 arg2 = (size_t) PyInt_AsLong(obj1);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 result = (int)(arg1)->SetSelection(arg2);
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = PyInt_FromLong((long)result);
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11412 bool arg2 = (bool) True ;
11413 PyObject * obj0 = 0 ;
11414 PyObject * obj1 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self",(char *) "forward", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 if (obj1) {
11422 arg2 = PyInt_AsLong(obj1) ? true : false;
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->AdvanceSelection(arg2);
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11440 PyObject *obj;
11441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11442 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11443 Py_INCREF(obj);
11444 return Py_BuildValue((char *)"");
11445 }
11446 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj;
11448 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11449 int arg2 = (int) 0 ;
11450 int arg3 = (int) -1 ;
11451 int arg4 = (int) -1 ;
11452 wxBookCtrlEvent *result;
11453 char *kwnames[] = {
11454 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11466 return resultobj;
11467 fail:
11468 return NULL;
11469 }
11470
11471
11472 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11475 int result;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = PyInt_FromLong((long)result);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11500 int arg2 ;
11501 PyObject * obj0 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "nSel", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetSelection(arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 Py_INCREF(Py_None); resultobj = Py_None;
11516 return resultobj;
11517 fail:
11518 return NULL;
11519 }
11520
11521
11522 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11525 int result;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11550 int arg2 ;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "nOldSel", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetOldSelection(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11573 PyObject *obj;
11574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11575 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11576 Py_INCREF(obj);
11577 return Py_BuildValue((char *)"");
11578 }
11579 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj;
11581 wxWindow *arg1 = (wxWindow *) 0 ;
11582 int arg2 ;
11583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11585 wxSize const &arg4_defvalue = wxDefaultSize ;
11586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11587 long arg5 = (long) 0 ;
11588 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11589 wxString *arg6 = (wxString *) &arg6_defvalue ;
11590 wxNotebook *result;
11591 wxPoint temp3 ;
11592 wxSize temp4 ;
11593 bool temp6 = False ;
11594 PyObject * obj0 = 0 ;
11595 PyObject * obj2 = 0 ;
11596 PyObject * obj3 = 0 ;
11597 PyObject * obj5 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11604 if (obj2) {
11605 {
11606 arg3 = &temp3;
11607 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11608 }
11609 }
11610 if (obj3) {
11611 {
11612 arg4 = &temp4;
11613 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11614 }
11615 }
11616 if (obj5) {
11617 {
11618 arg6 = wxString_in_helper(obj5);
11619 if (arg6 == NULL) SWIG_fail;
11620 temp6 = True;
11621 }
11622 }
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 {
11631 resultobj = wxPyMake_wxObject(result);
11632 }
11633 {
11634 if (temp6)
11635 delete arg6;
11636 }
11637 return resultobj;
11638 fail:
11639 {
11640 if (temp6)
11641 delete arg6;
11642 }
11643 return NULL;
11644 }
11645
11646
11647 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject *resultobj;
11649 wxNotebook *result;
11650 char *kwnames[] = {
11651 NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 result = (wxNotebook *)new wxNotebook();
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 {
11663 resultobj = wxPyMake_wxObject(result);
11664 }
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxNotebook *arg1 = (wxNotebook *) 0 ;
11674 wxWindow *arg2 = (wxWindow *) 0 ;
11675 int arg3 ;
11676 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11677 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11678 wxSize const &arg5_defvalue = wxDefaultSize ;
11679 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11680 long arg6 = (long) 0 ;
11681 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11682 wxString *arg7 = (wxString *) &arg7_defvalue ;
11683 bool result;
11684 wxPoint temp4 ;
11685 wxSize temp5 ;
11686 bool temp7 = False ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 PyObject * obj3 = 0 ;
11690 PyObject * obj4 = 0 ;
11691 PyObject * obj6 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11699 if (obj3) {
11700 {
11701 arg4 = &temp4;
11702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11703 }
11704 }
11705 if (obj4) {
11706 {
11707 arg5 = &temp5;
11708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11709 }
11710 }
11711 if (obj6) {
11712 {
11713 arg7 = wxString_in_helper(obj6);
11714 if (arg7 == NULL) SWIG_fail;
11715 temp7 = True;
11716 }
11717 }
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = PyInt_FromLong((long)result);
11726 {
11727 if (temp7)
11728 delete arg7;
11729 }
11730 return resultobj;
11731 fail:
11732 {
11733 if (temp7)
11734 delete arg7;
11735 }
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxNotebook *arg1 = (wxNotebook *) 0 ;
11743 int result;
11744 PyObject * obj0 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11754
11755 wxPyEndAllowThreads(__tstate);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
11758 resultobj = PyInt_FromLong((long)result);
11759 return resultobj;
11760 fail:
11761 return NULL;
11762 }
11763
11764
11765 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11766 PyObject *resultobj;
11767 wxNotebook *arg1 = (wxNotebook *) 0 ;
11768 wxSize *arg2 = 0 ;
11769 wxSize temp2 ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772 char *kwnames[] = {
11773 (char *) "self",(char *) "padding", NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11778 {
11779 arg2 = &temp2;
11780 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11781 }
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 (arg1)->SetPadding((wxSize const &)*arg2);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxNotebook *arg1 = (wxNotebook *) 0 ;
11799 wxSize *arg2 = 0 ;
11800 wxSize temp2 ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "sz", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11809 {
11810 arg2 = &temp2;
11811 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11812 }
11813 {
11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
11815 (arg1)->SetTabSize((wxSize const &)*arg2);
11816
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 Py_INCREF(Py_None); resultobj = Py_None;
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxNotebook *arg1 = (wxNotebook *) 0 ;
11830 wxPoint *arg2 = 0 ;
11831 long *arg3 = (long *) 0 ;
11832 int result;
11833 wxPoint temp2 ;
11834 long temp3 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self",(char *) "pt", NULL
11839 };
11840
11841 arg3 = &temp3;
11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 {
11845 arg2 = &temp2;
11846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11847 }
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = PyInt_FromLong((long)result);
11856 {
11857 PyObject *o = PyInt_FromLong((long) (*arg3));
11858 resultobj = t_output_helper(resultobj,o);
11859 }
11860 return resultobj;
11861 fail:
11862 return NULL;
11863 }
11864
11865
11866 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxNotebook *arg1 = (wxNotebook *) 0 ;
11869 wxSize *arg2 = 0 ;
11870 wxSize result;
11871 wxSize temp2 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 char *kwnames[] = {
11875 (char *) "self",(char *) "sizePage", NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11880 {
11881 arg2 = &temp2;
11882 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 {
11892 wxSize * resultptr;
11893 resultptr = new wxSize((wxSize &) result);
11894 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11895 }
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
11903 PyObject *obj;
11904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
11906 Py_INCREF(obj);
11907 return Py_BuildValue((char *)"");
11908 }
11909 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11912 int arg2 = (int) 0 ;
11913 int arg3 = (int) -1 ;
11914 int arg4 = (int) -1 ;
11915 wxNotebookEvent *result;
11916 char *kwnames[] = {
11917 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
11936 PyObject *obj;
11937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11938 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
11939 Py_INCREF(obj);
11940 return Py_BuildValue((char *)"");
11941 }
11942 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject *resultobj;
11944 wxWindow *arg1 = (wxWindow *) 0 ;
11945 int arg2 ;
11946 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11947 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11948 wxSize const &arg4_defvalue = wxDefaultSize ;
11949 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11950 long arg5 = (long) 0 ;
11951 wxString const &arg6_defvalue = wxPyEmptyString ;
11952 wxString *arg6 = (wxString *) &arg6_defvalue ;
11953 wxListbook *result;
11954 wxPoint temp3 ;
11955 wxSize temp4 ;
11956 bool temp6 = False ;
11957 PyObject * obj0 = 0 ;
11958 PyObject * obj2 = 0 ;
11959 PyObject * obj3 = 0 ;
11960 PyObject * obj5 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 if (obj2) {
11968 {
11969 arg3 = &temp3;
11970 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11971 }
11972 }
11973 if (obj3) {
11974 {
11975 arg4 = &temp4;
11976 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11977 }
11978 }
11979 if (obj5) {
11980 {
11981 arg6 = wxString_in_helper(obj5);
11982 if (arg6 == NULL) SWIG_fail;
11983 temp6 = True;
11984 }
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
11994 {
11995 if (temp6)
11996 delete arg6;
11997 }
11998 return resultobj;
11999 fail:
12000 {
12001 if (temp6)
12002 delete arg6;
12003 }
12004 return NULL;
12005 }
12006
12007
12008 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj;
12010 wxListbook *result;
12011 char *kwnames[] = {
12012 NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (wxListbook *)new wxListbook();
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxListbook *arg1 = (wxListbook *) 0 ;
12033 wxWindow *arg2 = (wxWindow *) 0 ;
12034 int arg3 ;
12035 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12036 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12037 wxSize const &arg5_defvalue = wxDefaultSize ;
12038 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12039 long arg6 = (long) 0 ;
12040 wxString const &arg7_defvalue = wxPyEmptyString ;
12041 wxString *arg7 = (wxString *) &arg7_defvalue ;
12042 bool result;
12043 wxPoint temp4 ;
12044 wxSize temp5 ;
12045 bool temp7 = False ;
12046 PyObject * obj0 = 0 ;
12047 PyObject * obj1 = 0 ;
12048 PyObject * obj3 = 0 ;
12049 PyObject * obj4 = 0 ;
12050 PyObject * obj6 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12058 if (obj3) {
12059 {
12060 arg4 = &temp4;
12061 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12062 }
12063 }
12064 if (obj4) {
12065 {
12066 arg5 = &temp5;
12067 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12068 }
12069 }
12070 if (obj6) {
12071 {
12072 arg7 = wxString_in_helper(obj6);
12073 if (arg7 == NULL) SWIG_fail;
12074 temp7 = True;
12075 }
12076 }
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = PyInt_FromLong((long)result);
12085 {
12086 if (temp7)
12087 delete arg7;
12088 }
12089 return resultobj;
12090 fail:
12091 {
12092 if (temp7)
12093 delete arg7;
12094 }
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxListbook *arg1 = (wxListbook *) 0 ;
12102 bool result;
12103 PyObject * obj0 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 result = (bool)((wxListbook const *)arg1)->IsVertical();
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 resultobj = PyInt_FromLong((long)result);
12118 return resultobj;
12119 fail:
12120 return NULL;
12121 }
12122
12123
12124 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12125 PyObject *obj;
12126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12127 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12128 Py_INCREF(obj);
12129 return Py_BuildValue((char *)"");
12130 }
12131 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12134 int arg2 = (int) 0 ;
12135 int arg3 = (int) -1 ;
12136 int arg4 = (int) -1 ;
12137 wxListbookEvent *result;
12138 char *kwnames[] = {
12139 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12151 return resultobj;
12152 fail:
12153 return NULL;
12154 }
12155
12156
12157 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12158 PyObject *obj;
12159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12160 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12161 Py_INCREF(obj);
12162 return Py_BuildValue((char *)"");
12163 }
12164 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12167 wxBookCtrlSizer *result;
12168 PyObject * obj0 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "nb", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12192 PyObject * obj0 = 0 ;
12193 char *kwnames[] = {
12194 (char *) "self", NULL
12195 };
12196
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12199 {
12200 PyThreadState* __tstate = wxPyBeginAllowThreads();
12201 (arg1)->RecalcSizes();
12202
12203 wxPyEndAllowThreads(__tstate);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 Py_INCREF(Py_None); resultobj = Py_None;
12207 return resultobj;
12208 fail:
12209 return NULL;
12210 }
12211
12212
12213 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12214 PyObject *resultobj;
12215 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12216 wxSize result;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (arg1)->CalcMin();
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 {
12232 wxSize * resultptr;
12233 resultptr = new wxSize((wxSize &) result);
12234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12235 }
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12245 wxBookCtrl *result;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = (wxBookCtrl *)(arg1)->GetControl();
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12268 PyObject *obj;
12269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12270 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12271 Py_INCREF(obj);
12272 return Py_BuildValue((char *)"");
12273 }
12274 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxNotebook *arg1 = (wxNotebook *) 0 ;
12277 wxNotebookSizer *result;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "nb", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12288
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12293 return resultobj;
12294 fail:
12295 return NULL;
12296 }
12297
12298
12299 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 (arg1)->RecalcSizes();
12312
12313 wxPyEndAllowThreads(__tstate);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 Py_INCREF(Py_None); resultobj = Py_None;
12317 return resultobj;
12318 fail:
12319 return NULL;
12320 }
12321
12322
12323 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12326 wxSize result;
12327 PyObject * obj0 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = (arg1)->CalcMin();
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 {
12342 wxSize * resultptr;
12343 resultptr = new wxSize((wxSize &) result);
12344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12345 }
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12355 wxNotebook *result;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 result = (wxNotebook *)(arg1)->GetNotebook();
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 {
12371 resultobj = wxPyMake_wxObject(result);
12372 }
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12380 PyObject *obj;
12381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12382 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12383 Py_INCREF(obj);
12384 return Py_BuildValue((char *)"");
12385 }
12386 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12389 int result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 result = (int)(arg1)->GetId();
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 resultobj = PyInt_FromLong((long)result);
12405 return resultobj;
12406 fail:
12407 return NULL;
12408 }
12409
12410
12411 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12414 wxControl *result;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxControl *)(arg1)->GetControl();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 {
12430 resultobj = wxPyMake_wxObject(result);
12431 }
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12441 wxToolBarBase *result;
12442 PyObject * obj0 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (wxToolBarBase *)(arg1)->GetToolBar();
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 {
12457 resultobj = wxPyMake_wxObject(result);
12458 }
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12468 int result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (int)(arg1)->IsButton();
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = PyInt_FromLong((long)result);
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12493 int result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (int)(arg1)->IsControl();
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = PyInt_FromLong((long)result);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12518 int result;
12519 PyObject * obj0 = 0 ;
12520 char *kwnames[] = {
12521 (char *) "self", NULL
12522 };
12523
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (int)(arg1)->IsSeparator();
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = PyInt_FromLong((long)result);
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12543 int result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (int)(arg1)->GetStyle();
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = PyInt_FromLong((long)result);
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12568 int result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (int)(arg1)->GetKind();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 resultobj = PyInt_FromLong((long)result);
12584 return resultobj;
12585 fail:
12586 return NULL;
12587 }
12588
12589
12590 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12591 PyObject *resultobj;
12592 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12593 bool result;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 result = (bool)(arg1)->IsEnabled();
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 resultobj = PyInt_FromLong((long)result);
12609 return resultobj;
12610 fail:
12611 return NULL;
12612 }
12613
12614
12615 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12616 PyObject *resultobj;
12617 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12618 bool result;
12619 PyObject * obj0 = 0 ;
12620 char *kwnames[] = {
12621 (char *) "self", NULL
12622 };
12623
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 result = (bool)(arg1)->IsToggled();
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = PyInt_FromLong((long)result);
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12641 PyObject *resultobj;
12642 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12643 bool result;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (bool)(arg1)->CanBeToggled();
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 resultobj = PyInt_FromLong((long)result);
12659 return resultobj;
12660 fail:
12661 return NULL;
12662 }
12663
12664
12665 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12668 wxBitmap *result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 {
12679 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12680 result = (wxBitmap *) &_result_ref;
12681 }
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12696 wxBitmap *result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 {
12707 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12708 result = (wxBitmap *) &_result_ref;
12709 }
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12715 return resultobj;
12716 fail:
12717 return NULL;
12718 }
12719
12720
12721 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12724 wxBitmap result;
12725 PyObject * obj0 = 0 ;
12726 char *kwnames[] = {
12727 (char *) "self", NULL
12728 };
12729
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (arg1)->GetBitmap();
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 {
12740 wxBitmap * resultptr;
12741 resultptr = new wxBitmap((wxBitmap &) result);
12742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12743 }
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12753 wxString result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (arg1)->GetLabel();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 {
12769 #if wxUSE_UNICODE
12770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12771 #else
12772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12773 #endif
12774 }
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12784 wxString result;
12785 PyObject * obj0 = 0 ;
12786 char *kwnames[] = {
12787 (char *) "self", NULL
12788 };
12789
12790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
12791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 result = (arg1)->GetShortHelp();
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 {
12800 #if wxUSE_UNICODE
12801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12802 #else
12803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12804 #endif
12805 }
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12815 wxString result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
12822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (arg1)->GetLongHelp();
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 {
12831 #if wxUSE_UNICODE
12832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12833 #else
12834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12835 #endif
12836 }
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12846 bool arg2 ;
12847 bool result;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self",(char *) "enable", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
12855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12856 arg2 = PyInt_AsLong(obj1) ? true : false;
12857 if (PyErr_Occurred()) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (bool)(arg1)->Enable(arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 resultobj = PyInt_FromLong((long)result);
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12875 PyObject * obj0 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
12881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 (arg1)->Toggle();
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 Py_INCREF(Py_None); resultobj = Py_None;
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12899 bool arg2 ;
12900 bool result;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self",(char *) "toggle", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12909 arg2 = PyInt_AsLong(obj1) ? true : false;
12910 if (PyErr_Occurred()) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 result = (bool)(arg1)->SetToggle(arg2);
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = PyInt_FromLong((long)result);
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12928 wxString *arg2 = 0 ;
12929 bool result;
12930 bool temp2 = False ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "help", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
12938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12939 {
12940 arg2 = wxString_in_helper(obj1);
12941 if (arg2 == NULL) SWIG_fail;
12942 temp2 = True;
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = PyInt_FromLong((long)result);
12952 {
12953 if (temp2)
12954 delete arg2;
12955 }
12956 return resultobj;
12957 fail:
12958 {
12959 if (temp2)
12960 delete arg2;
12961 }
12962 return NULL;
12963 }
12964
12965
12966 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12969 wxString *arg2 = 0 ;
12970 bool result;
12971 bool temp2 = False ;
12972 PyObject * obj0 = 0 ;
12973 PyObject * obj1 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self",(char *) "help", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
12979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12980 {
12981 arg2 = wxString_in_helper(obj1);
12982 if (arg2 == NULL) SWIG_fail;
12983 temp2 = True;
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = PyInt_FromLong((long)result);
12993 {
12994 if (temp2)
12995 delete arg2;
12996 }
12997 return resultobj;
12998 fail:
12999 {
13000 if (temp2)
13001 delete arg2;
13002 }
13003 return NULL;
13004 }
13005
13006
13007 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13010 wxBitmap *arg2 = 0 ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 char *kwnames[] = {
13014 (char *) "self",(char *) "bmp", NULL
13015 };
13016
13017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13019 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13020 if (arg2 == NULL) {
13021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 Py_INCREF(Py_None); resultobj = Py_None;
13031 return resultobj;
13032 fail:
13033 return NULL;
13034 }
13035
13036
13037 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj;
13039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13040 wxBitmap *arg2 = 0 ;
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 char *kwnames[] = {
13044 (char *) "self",(char *) "bmp", NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13050 if (arg2 == NULL) {
13051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 Py_INCREF(Py_None); resultobj = Py_None;
13061 return resultobj;
13062 fail:
13063 return NULL;
13064 }
13065
13066
13067 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13068 PyObject *resultobj;
13069 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13070 wxString *arg2 = 0 ;
13071 bool temp2 = False ;
13072 PyObject * obj0 = 0 ;
13073 PyObject * obj1 = 0 ;
13074 char *kwnames[] = {
13075 (char *) "self",(char *) "label", NULL
13076 };
13077
13078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13080 {
13081 arg2 = wxString_in_helper(obj1);
13082 if (arg2 == NULL) SWIG_fail;
13083 temp2 = True;
13084 }
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 (arg1)->SetLabel((wxString const &)*arg2);
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 Py_INCREF(Py_None); resultobj = Py_None;
13093 {
13094 if (temp2)
13095 delete arg2;
13096 }
13097 return resultobj;
13098 fail:
13099 {
13100 if (temp2)
13101 delete arg2;
13102 }
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13110 PyObject * obj0 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 (arg1)->Detach();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 Py_INCREF(Py_None); resultobj = Py_None;
13125 return resultobj;
13126 fail:
13127 return NULL;
13128 }
13129
13130
13131 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13134 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13135 PyObject * obj0 = 0 ;
13136 PyObject * obj1 = 0 ;
13137 char *kwnames[] = {
13138 (char *) "self",(char *) "tbar", NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 (arg1)->Attach(arg2);
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 Py_INCREF(Py_None); resultobj = Py_None;
13152 return resultobj;
13153 fail:
13154 return NULL;
13155 }
13156
13157
13158 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj;
13160 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13161 PyObject *result;
13162 PyObject * obj0 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 resultobj = result;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13186 PyObject *arg2 = (PyObject *) 0 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char *kwnames[] = {
13190 (char *) "self",(char *) "clientData", NULL
13191 };
13192
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13195 arg2 = obj1;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 wxToolBarToolBase_SetClientData(arg1,arg2);
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13211 PyObject *obj;
13212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13213 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13214 Py_INCREF(obj);
13215 return Py_BuildValue((char *)"");
13216 }
13217 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13220 int arg2 ;
13221 wxString *arg3 = 0 ;
13222 wxBitmap *arg4 = 0 ;
13223 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13224 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13225 int arg6 = (int) wxITEM_NORMAL ;
13226 wxString const &arg7_defvalue = wxPyEmptyString ;
13227 wxString *arg7 = (wxString *) &arg7_defvalue ;
13228 wxString const &arg8_defvalue = wxPyEmptyString ;
13229 wxString *arg8 = (wxString *) &arg8_defvalue ;
13230 PyObject *arg9 = (PyObject *) NULL ;
13231 wxToolBarToolBase *result;
13232 bool temp3 = False ;
13233 bool temp7 = False ;
13234 bool temp8 = False ;
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj2 = 0 ;
13237 PyObject * obj3 = 0 ;
13238 PyObject * obj4 = 0 ;
13239 PyObject * obj6 = 0 ;
13240 PyObject * obj7 = 0 ;
13241 PyObject * obj8 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 {
13249 arg3 = wxString_in_helper(obj2);
13250 if (arg3 == NULL) SWIG_fail;
13251 temp3 = True;
13252 }
13253 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13254 if (arg4 == NULL) {
13255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13256 }
13257 if (obj4) {
13258 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13259 if (arg5 == NULL) {
13260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13261 }
13262 }
13263 if (obj6) {
13264 {
13265 arg7 = wxString_in_helper(obj6);
13266 if (arg7 == NULL) SWIG_fail;
13267 temp7 = True;
13268 }
13269 }
13270 if (obj7) {
13271 {
13272 arg8 = wxString_in_helper(obj7);
13273 if (arg8 == NULL) SWIG_fail;
13274 temp8 = True;
13275 }
13276 }
13277 if (obj8) {
13278 arg9 = obj8;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 {
13288 resultobj = wxPyMake_wxObject(result);
13289 }
13290 {
13291 if (temp3)
13292 delete arg3;
13293 }
13294 {
13295 if (temp7)
13296 delete arg7;
13297 }
13298 {
13299 if (temp8)
13300 delete arg8;
13301 }
13302 return resultobj;
13303 fail:
13304 {
13305 if (temp3)
13306 delete arg3;
13307 }
13308 {
13309 if (temp7)
13310 delete arg7;
13311 }
13312 {
13313 if (temp8)
13314 delete arg8;
13315 }
13316 return NULL;
13317 }
13318
13319
13320 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13323 size_t arg2 ;
13324 int arg3 ;
13325 wxString *arg4 = 0 ;
13326 wxBitmap *arg5 = 0 ;
13327 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13328 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13329 int arg7 = (int) wxITEM_NORMAL ;
13330 wxString const &arg8_defvalue = wxPyEmptyString ;
13331 wxString *arg8 = (wxString *) &arg8_defvalue ;
13332 wxString const &arg9_defvalue = wxPyEmptyString ;
13333 wxString *arg9 = (wxString *) &arg9_defvalue ;
13334 PyObject *arg10 = (PyObject *) NULL ;
13335 wxToolBarToolBase *result;
13336 bool temp4 = False ;
13337 bool temp8 = False ;
13338 bool temp9 = False ;
13339 PyObject * obj0 = 0 ;
13340 PyObject * obj1 = 0 ;
13341 PyObject * obj3 = 0 ;
13342 PyObject * obj4 = 0 ;
13343 PyObject * obj5 = 0 ;
13344 PyObject * obj7 = 0 ;
13345 PyObject * obj8 = 0 ;
13346 PyObject * obj9 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 arg2 = (size_t) PyInt_AsLong(obj1);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 {
13356 arg4 = wxString_in_helper(obj3);
13357 if (arg4 == NULL) SWIG_fail;
13358 temp4 = True;
13359 }
13360 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13361 if (arg5 == NULL) {
13362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13363 }
13364 if (obj5) {
13365 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13366 if (arg6 == NULL) {
13367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13368 }
13369 }
13370 if (obj7) {
13371 {
13372 arg8 = wxString_in_helper(obj7);
13373 if (arg8 == NULL) SWIG_fail;
13374 temp8 = True;
13375 }
13376 }
13377 if (obj8) {
13378 {
13379 arg9 = wxString_in_helper(obj8);
13380 if (arg9 == NULL) SWIG_fail;
13381 temp9 = True;
13382 }
13383 }
13384 if (obj9) {
13385 arg10 = obj9;
13386 }
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 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);
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 {
13395 resultobj = wxPyMake_wxObject(result);
13396 }
13397 {
13398 if (temp4)
13399 delete arg4;
13400 }
13401 {
13402 if (temp8)
13403 delete arg8;
13404 }
13405 {
13406 if (temp9)
13407 delete arg9;
13408 }
13409 return resultobj;
13410 fail:
13411 {
13412 if (temp4)
13413 delete arg4;
13414 }
13415 {
13416 if (temp8)
13417 delete arg8;
13418 }
13419 {
13420 if (temp9)
13421 delete arg9;
13422 }
13423 return NULL;
13424 }
13425
13426
13427 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13428 PyObject *resultobj;
13429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13430 wxControl *arg2 = (wxControl *) 0 ;
13431 wxToolBarToolBase *result;
13432 PyObject * obj0 = 0 ;
13433 PyObject * obj1 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self",(char *) "control", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13444
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
13448 {
13449 resultobj = wxPyMake_wxObject(result);
13450 }
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13460 size_t arg2 ;
13461 wxControl *arg3 = (wxControl *) 0 ;
13462 wxToolBarToolBase *result;
13463 PyObject * obj0 = 0 ;
13464 PyObject * obj1 = 0 ;
13465 PyObject * obj2 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "pos",(char *) "control", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13472 arg2 = (size_t) PyInt_AsLong(obj1);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = wxPyMake_wxObject(result);
13484 }
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj;
13493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13494 int arg2 ;
13495 wxControl *result;
13496 PyObject * obj0 = 0 ;
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "id", NULL
13499 };
13500
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (wxControl *)(arg1)->FindControl(arg2);
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 resultobj = wxPyMake_wxObject(result);
13512 }
13513 return resultobj;
13514 fail:
13515 return NULL;
13516 }
13517
13518
13519 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject *resultobj;
13521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13522 wxToolBarToolBase *result;
13523 PyObject * obj0 = 0 ;
13524 char *kwnames[] = {
13525 (char *) "self", NULL
13526 };
13527
13528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 {
13538 resultobj = wxPyMake_wxObject(result);
13539 }
13540 return resultobj;
13541 fail:
13542 return NULL;
13543 }
13544
13545
13546 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13549 size_t arg2 ;
13550 wxToolBarToolBase *result;
13551 PyObject * obj0 = 0 ;
13552 PyObject * obj1 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self",(char *) "pos", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13559 arg2 = (size_t) PyInt_AsLong(obj1);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 {
13569 resultobj = wxPyMake_wxObject(result);
13570 }
13571 return resultobj;
13572 fail:
13573 return NULL;
13574 }
13575
13576
13577 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13580 int arg2 ;
13581 wxToolBarToolBase *result;
13582 PyObject * obj0 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self",(char *) "id", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 {
13597 resultobj = wxPyMake_wxObject(result);
13598 }
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13608 size_t arg2 ;
13609 bool result;
13610 PyObject * obj0 = 0 ;
13611 PyObject * obj1 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "pos", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13618 arg2 = (size_t) PyInt_AsLong(obj1);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (bool)(arg1)->DeleteToolByPos(arg2);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = PyInt_FromLong((long)result);
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13637 int arg2 ;
13638 bool result;
13639 PyObject * obj0 = 0 ;
13640 char *kwnames[] = {
13641 (char *) "self",(char *) "id", NULL
13642 };
13643
13644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (bool)(arg1)->DeleteTool(arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = PyInt_FromLong((long)result);
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13663 PyObject * obj0 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->ClearTools();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13687 bool result;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)(arg1)->Realize();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = PyInt_FromLong((long)result);
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13712 int arg2 ;
13713 bool arg3 ;
13714 PyObject * obj0 = 0 ;
13715 PyObject * obj2 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "self",(char *) "id",(char *) "enable", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13722 arg3 = PyInt_AsLong(obj2) ? true : false;
13723 if (PyErr_Occurred()) SWIG_fail;
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 (arg1)->EnableTool(arg2,arg3);
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
13731 Py_INCREF(Py_None); resultobj = Py_None;
13732 return resultobj;
13733 fail:
13734 return NULL;
13735 }
13736
13737
13738 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13741 int arg2 ;
13742 bool arg3 ;
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj2 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "id",(char *) "toggle", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13751 arg3 = PyInt_AsLong(obj2) ? true : false;
13752 if (PyErr_Occurred()) SWIG_fail;
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 (arg1)->ToggleTool(arg2,arg3);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 Py_INCREF(Py_None); resultobj = Py_None;
13761 return resultobj;
13762 fail:
13763 return NULL;
13764 }
13765
13766
13767 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13770 int arg2 ;
13771 bool arg3 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj2 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self",(char *) "id",(char *) "toggle", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13780 arg3 = PyInt_AsLong(obj2) ? true : false;
13781 if (PyErr_Occurred()) SWIG_fail;
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 (arg1)->SetToggle(arg2,arg3);
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 Py_INCREF(Py_None); resultobj = Py_None;
13790 return resultobj;
13791 fail:
13792 return NULL;
13793 }
13794
13795
13796 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13797 PyObject *resultobj;
13798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13799 int arg2 ;
13800 PyObject *result;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self",(char *) "id", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 resultobj = result;
13816 return resultobj;
13817 fail:
13818 return NULL;
13819 }
13820
13821
13822 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj;
13824 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13825 int arg2 ;
13826 PyObject *arg3 = (PyObject *) 0 ;
13827 PyObject * obj0 = 0 ;
13828 PyObject * obj2 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self",(char *) "id",(char *) "clientData", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
13834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13835 arg3 = obj2;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 Py_INCREF(Py_None); resultobj = Py_None;
13844 return resultobj;
13845 fail:
13846 return NULL;
13847 }
13848
13849
13850 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj;
13852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13853 int arg2 ;
13854 int result;
13855 PyObject * obj0 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self",(char *) "id", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
13861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = PyInt_FromLong((long)result);
13870 return resultobj;
13871 fail:
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13879 int arg2 ;
13880 bool result;
13881 PyObject * obj0 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "id", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
13887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (bool)(arg1)->GetToolState(arg2);
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 resultobj = PyInt_FromLong((long)result);
13896 return resultobj;
13897 fail:
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13905 int arg2 ;
13906 bool result;
13907 PyObject * obj0 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "id", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (bool)(arg1)->GetToolEnabled(arg2);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 resultobj = PyInt_FromLong((long)result);
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13931 int arg2 ;
13932 wxString *arg3 = 0 ;
13933 bool temp3 = False ;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj2 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "id",(char *) "helpString", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13942 {
13943 arg3 = wxString_in_helper(obj2);
13944 if (arg3 == NULL) SWIG_fail;
13945 temp3 = True;
13946 }
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 {
13956 if (temp3)
13957 delete arg3;
13958 }
13959 return resultobj;
13960 fail:
13961 {
13962 if (temp3)
13963 delete arg3;
13964 }
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13972 int arg2 ;
13973 wxString result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "id", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (arg1)->GetToolShortHelp(arg2);
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 {
13989 #if wxUSE_UNICODE
13990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13991 #else
13992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13993 #endif
13994 }
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj;
14003 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14004 int arg2 ;
14005 wxString *arg3 = 0 ;
14006 bool temp3 = False ;
14007 PyObject * obj0 = 0 ;
14008 PyObject * obj2 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self",(char *) "id",(char *) "helpString", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14015 {
14016 arg3 = wxString_in_helper(obj2);
14017 if (arg3 == NULL) SWIG_fail;
14018 temp3 = True;
14019 }
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 Py_INCREF(Py_None); resultobj = Py_None;
14028 {
14029 if (temp3)
14030 delete arg3;
14031 }
14032 return resultobj;
14033 fail:
14034 {
14035 if (temp3)
14036 delete arg3;
14037 }
14038 return NULL;
14039 }
14040
14041
14042 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14043 PyObject *resultobj;
14044 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14045 int arg2 ;
14046 wxString result;
14047 PyObject * obj0 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self",(char *) "id", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 {
14055 PyThreadState* __tstate = wxPyBeginAllowThreads();
14056 result = (arg1)->GetToolLongHelp(arg2);
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 {
14062 #if wxUSE_UNICODE
14063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14064 #else
14065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14066 #endif
14067 }
14068 return resultobj;
14069 fail:
14070 return NULL;
14071 }
14072
14073
14074 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14077 int arg2 ;
14078 int arg3 ;
14079 PyObject * obj0 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "self",(char *) "x",(char *) "y", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 (arg1)->SetMargins(arg2,arg3);
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 Py_INCREF(Py_None); resultobj = Py_None;
14094 return resultobj;
14095 fail:
14096 return NULL;
14097 }
14098
14099
14100 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14103 wxSize *arg2 = 0 ;
14104 wxSize temp2 ;
14105 PyObject * obj0 = 0 ;
14106 PyObject * obj1 = 0 ;
14107 char *kwnames[] = {
14108 (char *) "self",(char *) "size", NULL
14109 };
14110
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14113 {
14114 arg2 = &temp2;
14115 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14116 }
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 (arg1)->SetMargins((wxSize const &)*arg2);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 Py_INCREF(Py_None); resultobj = Py_None;
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj;
14133 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14134 int arg2 ;
14135 PyObject * obj0 = 0 ;
14136 char *kwnames[] = {
14137 (char *) "self",(char *) "packing", NULL
14138 };
14139
14140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetToolPacking(arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14159 int arg2 ;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self",(char *) "separation", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 (arg1)->SetToolSeparation(arg2);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 Py_INCREF(Py_None); resultobj = Py_None;
14175 return resultobj;
14176 fail:
14177 return NULL;
14178 }
14179
14180
14181 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14184 wxSize result;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (arg1)->GetToolMargins();
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 {
14200 wxSize * resultptr;
14201 resultptr = new wxSize((wxSize &) result);
14202 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14203 }
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14213 wxSize result;
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (arg1)->GetMargins();
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 {
14229 wxSize * resultptr;
14230 resultptr = new wxSize((wxSize &) result);
14231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14232 }
14233 return resultobj;
14234 fail:
14235 return NULL;
14236 }
14237
14238
14239 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14242 int result;
14243 PyObject * obj0 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (int)(arg1)->GetToolPacking();
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 resultobj = PyInt_FromLong((long)result);
14258 return resultobj;
14259 fail:
14260 return NULL;
14261 }
14262
14263
14264 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14267 int result;
14268 PyObject * obj0 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "self", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 result = (int)(arg1)->GetToolSeparation();
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 resultobj = PyInt_FromLong((long)result);
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14292 int arg2 ;
14293 PyObject * obj0 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "nRows", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->SetRows(arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14317 int arg2 ;
14318 int arg3 ;
14319 PyObject * obj0 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "self",(char *) "rows",(char *) "cols", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 (arg1)->SetMaxRowsCols(arg2,arg3);
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 Py_INCREF(Py_None); resultobj = Py_None;
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14341 PyObject *resultobj;
14342 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14343 int result;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (int)(arg1)->GetMaxRows();
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = PyInt_FromLong((long)result);
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj;
14367 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14368 int result;
14369 PyObject * obj0 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (int)(arg1)->GetMaxCols();
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = PyInt_FromLong((long)result);
14384 return resultobj;
14385 fail:
14386 return NULL;
14387 }
14388
14389
14390 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14393 wxSize *arg2 = 0 ;
14394 wxSize temp2 ;
14395 PyObject * obj0 = 0 ;
14396 PyObject * obj1 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self",(char *) "size", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14403 {
14404 arg2 = &temp2;
14405 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14406 }
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14424 wxSize result;
14425 PyObject * obj0 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self", NULL
14428 };
14429
14430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (arg1)->GetToolBitmapSize();
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 {
14440 wxSize * resultptr;
14441 resultptr = new wxSize((wxSize &) result);
14442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14453 wxSize result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (arg1)->GetToolSize();
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 {
14469 wxSize * resultptr;
14470 resultptr = new wxSize((wxSize &) result);
14471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14472 }
14473 return resultobj;
14474 fail:
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14482 int arg2 ;
14483 int arg3 ;
14484 wxToolBarToolBase *result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self",(char *) "x",(char *) "y", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 resultobj = wxPyMake_wxObject(result);
14501 }
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14511 bool result;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 result = (bool)(arg1)->IsVertical();
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 resultobj = PyInt_FromLong((long)result);
14527 return resultobj;
14528 fail:
14529 return NULL;
14530 }
14531
14532
14533 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14534 PyObject *obj;
14535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14536 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14537 Py_INCREF(obj);
14538 return Py_BuildValue((char *)"");
14539 }
14540 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj;
14542 wxWindow *arg1 = (wxWindow *) 0 ;
14543 int arg2 ;
14544 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14545 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14546 wxSize const &arg4_defvalue = wxDefaultSize ;
14547 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14548 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14549 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14550 wxString *arg6 = (wxString *) &arg6_defvalue ;
14551 wxToolBar *result;
14552 wxPoint temp3 ;
14553 wxSize temp4 ;
14554 bool temp6 = False ;
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj2 = 0 ;
14557 PyObject * obj3 = 0 ;
14558 PyObject * obj5 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14565 if (obj2) {
14566 {
14567 arg3 = &temp3;
14568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14569 }
14570 }
14571 if (obj3) {
14572 {
14573 arg4 = &temp4;
14574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14575 }
14576 }
14577 if (obj5) {
14578 {
14579 arg6 = wxString_in_helper(obj5);
14580 if (arg6 == NULL) SWIG_fail;
14581 temp6 = True;
14582 }
14583 }
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = wxPyMake_wxObject(result);
14593 }
14594 {
14595 if (temp6)
14596 delete arg6;
14597 }
14598 return resultobj;
14599 fail:
14600 {
14601 if (temp6)
14602 delete arg6;
14603 }
14604 return NULL;
14605 }
14606
14607
14608 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxToolBar *result;
14611 char *kwnames[] = {
14612 NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (wxToolBar *)new wxToolBar();
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 {
14624 resultobj = wxPyMake_wxObject(result);
14625 }
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxToolBar *arg1 = (wxToolBar *) 0 ;
14635 wxWindow *arg2 = (wxWindow *) 0 ;
14636 int arg3 ;
14637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14639 wxSize const &arg5_defvalue = wxDefaultSize ;
14640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14641 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14642 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14643 wxString *arg7 = (wxString *) &arg7_defvalue ;
14644 bool result;
14645 wxPoint temp4 ;
14646 wxSize temp5 ;
14647 bool temp7 = False ;
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 PyObject * obj3 = 0 ;
14651 PyObject * obj4 = 0 ;
14652 PyObject * obj6 = 0 ;
14653 char *kwnames[] = {
14654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14655 };
14656
14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14660 if (obj3) {
14661 {
14662 arg4 = &temp4;
14663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14664 }
14665 }
14666 if (obj4) {
14667 {
14668 arg5 = &temp5;
14669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14670 }
14671 }
14672 if (obj6) {
14673 {
14674 arg7 = wxString_in_helper(obj6);
14675 if (arg7 == NULL) SWIG_fail;
14676 temp7 = True;
14677 }
14678 }
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 resultobj = PyInt_FromLong((long)result);
14687 {
14688 if (temp7)
14689 delete arg7;
14690 }
14691 return resultobj;
14692 fail:
14693 {
14694 if (temp7)
14695 delete arg7;
14696 }
14697 return NULL;
14698 }
14699
14700
14701 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxToolBar *arg1 = (wxToolBar *) 0 ;
14704 int arg2 ;
14705 int arg3 ;
14706 wxToolBarToolBase *result;
14707 PyObject * obj0 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self",(char *) "x",(char *) "y", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 {
14722 resultobj = wxPyMake_wxObject(result);
14723 }
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14731 PyObject *obj;
14732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14733 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14734 Py_INCREF(obj);
14735 return Py_BuildValue((char *)"");
14736 }
14737 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj;
14739 wxColour const &arg1_defvalue = wxNullColour ;
14740 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14741 wxColour const &arg2_defvalue = wxNullColour ;
14742 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14743 wxFont const &arg3_defvalue = wxNullFont ;
14744 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14745 wxListItemAttr *result;
14746 wxColour temp1 ;
14747 wxColour temp2 ;
14748 PyObject * obj0 = 0 ;
14749 PyObject * obj1 = 0 ;
14750 PyObject * obj2 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14756 if (obj0) {
14757 {
14758 arg1 = &temp1;
14759 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14760 }
14761 }
14762 if (obj1) {
14763 {
14764 arg2 = &temp2;
14765 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14766 }
14767 }
14768 if (obj2) {
14769 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 if (arg3 == NULL) {
14771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14772 }
14773 }
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
14776 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14777
14778 wxPyEndAllowThreads(__tstate);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14782 return resultobj;
14783 fail:
14784 return NULL;
14785 }
14786
14787
14788 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14789 PyObject *resultobj;
14790 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14791 wxColour *arg2 = 0 ;
14792 wxColour temp2 ;
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self",(char *) "colText", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14801 {
14802 arg2 = &temp2;
14803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 (arg1)->SetTextColour((wxColour const &)*arg2);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 Py_INCREF(Py_None); resultobj = Py_None;
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj;
14821 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14822 wxColour *arg2 = 0 ;
14823 wxColour temp2 ;
14824 PyObject * obj0 = 0 ;
14825 PyObject * obj1 = 0 ;
14826 char *kwnames[] = {
14827 (char *) "self",(char *) "colBack", NULL
14828 };
14829
14830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
14831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14832 {
14833 arg2 = &temp2;
14834 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14835 }
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 Py_INCREF(Py_None); resultobj = Py_None;
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14853 wxFont *arg2 = 0 ;
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "font", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
14861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14863 if (arg2 == NULL) {
14864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14865 }
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 (arg1)->SetFont((wxFont const &)*arg2);
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 Py_INCREF(Py_None); resultobj = Py_None;
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj;
14882 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14883 bool result;
14884 PyObject * obj0 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
14890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (bool)(arg1)->HasTextColour();
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = PyInt_FromLong((long)result);
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14908 bool result;
14909 PyObject * obj0 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self", NULL
14912 };
14913
14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
14915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (bool)(arg1)->HasBackgroundColour();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = PyInt_FromLong((long)result);
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14933 bool result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (bool)(arg1)->HasFont();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = PyInt_FromLong((long)result);
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14958 wxColour result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
14965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (arg1)->GetTextColour();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 wxColour * resultptr;
14975 resultptr = new wxColour((wxColour &) result);
14976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14987 wxColour result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (arg1)->GetBackgroundColour();
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 {
15003 wxColour * resultptr;
15004 resultptr = new wxColour((wxColour &) result);
15005 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15006 }
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15016 wxFont result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (arg1)->GetFont();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 {
15032 wxFont * resultptr;
15033 resultptr = new wxFont((wxFont &) result);
15034 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15035 }
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15045 PyObject * obj0 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 wxListItemAttr_Destroy(arg1);
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063 }
15064
15065
15066 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15067 PyObject *obj;
15068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15069 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15070 Py_INCREF(obj);
15071 return Py_BuildValue((char *)"");
15072 }
15073 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxListItem *result;
15076 char *kwnames[] = {
15077 NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (wxListItem *)new wxListItem();
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 {
15089 resultobj = wxPyMake_wxObject(result);
15090 }
15091 return resultobj;
15092 fail:
15093 return NULL;
15094 }
15095
15096
15097 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxListItem *arg1 = (wxListItem *) 0 ;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 delete arg1;
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 Py_INCREF(Py_None); resultobj = Py_None;
15115 return resultobj;
15116 fail:
15117 return NULL;
15118 }
15119
15120
15121 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxListItem *arg1 = (wxListItem *) 0 ;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 (arg1)->Clear();
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 Py_INCREF(Py_None); resultobj = Py_None;
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxListItem *arg1 = (wxListItem *) 0 ;
15148 PyObject * obj0 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 (arg1)->ClearAttributes();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 Py_INCREF(Py_None); resultobj = Py_None;
15163 return resultobj;
15164 fail:
15165 return NULL;
15166 }
15167
15168
15169 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj;
15171 wxListItem *arg1 = (wxListItem *) 0 ;
15172 long arg2 ;
15173 PyObject * obj0 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "mask", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 (arg1)->SetMask(arg2);
15183
15184 wxPyEndAllowThreads(__tstate);
15185 if (PyErr_Occurred()) SWIG_fail;
15186 }
15187 Py_INCREF(Py_None); resultobj = Py_None;
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxListItem *arg1 = (wxListItem *) 0 ;
15197 long arg2 ;
15198 PyObject * obj0 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "self",(char *) "id", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 (arg1)->SetId(arg2);
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 Py_INCREF(Py_None); resultobj = Py_None;
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxListItem *arg1 = (wxListItem *) 0 ;
15222 int arg2 ;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self",(char *) "col", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 (arg1)->SetColumn(arg2);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 Py_INCREF(Py_None); resultobj = Py_None;
15238 return resultobj;
15239 fail:
15240 return NULL;
15241 }
15242
15243
15244 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxListItem *arg1 = (wxListItem *) 0 ;
15247 long arg2 ;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "state", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 (arg1)->SetState(arg2);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 Py_INCREF(Py_None); resultobj = Py_None;
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxListItem *arg1 = (wxListItem *) 0 ;
15272 long arg2 ;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self",(char *) "stateMask", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 (arg1)->SetStateMask(arg2);
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 Py_INCREF(Py_None); resultobj = Py_None;
15288 return resultobj;
15289 fail:
15290 return NULL;
15291 }
15292
15293
15294 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxListItem *arg1 = (wxListItem *) 0 ;
15297 wxString *arg2 = 0 ;
15298 bool temp2 = False ;
15299 PyObject * obj0 = 0 ;
15300 PyObject * obj1 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self",(char *) "text", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15307 {
15308 arg2 = wxString_in_helper(obj1);
15309 if (arg2 == NULL) SWIG_fail;
15310 temp2 = True;
15311 }
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->SetText((wxString const &)*arg2);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 Py_INCREF(Py_None); resultobj = Py_None;
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 return resultobj;
15325 fail:
15326 {
15327 if (temp2)
15328 delete arg2;
15329 }
15330 return NULL;
15331 }
15332
15333
15334 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxListItem *arg1 = (wxListItem *) 0 ;
15337 int arg2 ;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "image", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 (arg1)->SetImage(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 Py_INCREF(Py_None); resultobj = Py_None;
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxListItem *arg1 = (wxListItem *) 0 ;
15362 long arg2 ;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self",(char *) "data", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 (arg1)->SetData(arg2);
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 Py_INCREF(Py_None); resultobj = Py_None;
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxListItem *arg1 = (wxListItem *) 0 ;
15387 int arg2 ;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "width", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->SetWidth(arg2);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 Py_INCREF(Py_None); resultobj = Py_None;
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxListItem *arg1 = (wxListItem *) 0 ;
15412 int arg2 ;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self",(char *) "align", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 (arg1)->SetAlign((wxListColumnFormat )arg2);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 Py_INCREF(Py_None); resultobj = Py_None;
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxListItem *arg1 = (wxListItem *) 0 ;
15437 wxColour *arg2 = 0 ;
15438 wxColour temp2 ;
15439 PyObject * obj0 = 0 ;
15440 PyObject * obj1 = 0 ;
15441 char *kwnames[] = {
15442 (char *) "self",(char *) "colText", NULL
15443 };
15444
15445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15447 {
15448 arg2 = &temp2;
15449 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15450 }
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 (arg1)->SetTextColour((wxColour const &)*arg2);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 Py_INCREF(Py_None); resultobj = Py_None;
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15466 PyObject *resultobj;
15467 wxListItem *arg1 = (wxListItem *) 0 ;
15468 wxColour *arg2 = 0 ;
15469 wxColour temp2 ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self",(char *) "colBack", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15478 {
15479 arg2 = &temp2;
15480 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15481 }
15482 {
15483 PyThreadState* __tstate = wxPyBeginAllowThreads();
15484 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15485
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 Py_INCREF(Py_None); resultobj = Py_None;
15490 return resultobj;
15491 fail:
15492 return NULL;
15493 }
15494
15495
15496 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj;
15498 wxListItem *arg1 = (wxListItem *) 0 ;
15499 wxFont *arg2 = 0 ;
15500 PyObject * obj0 = 0 ;
15501 PyObject * obj1 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "font", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15509 if (arg2 == NULL) {
15510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15511 }
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->SetFont((wxFont const &)*arg2);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxListItem *arg1 = (wxListItem *) 0 ;
15529 long result;
15530 PyObject * obj0 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 result = (long)(arg1)->GetMask();
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 resultobj = PyInt_FromLong((long)result);
15545 return resultobj;
15546 fail:
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxListItem *arg1 = (wxListItem *) 0 ;
15554 long result;
15555 PyObject * obj0 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (long)(arg1)->GetId();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 resultobj = PyInt_FromLong((long)result);
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxListItem *arg1 = (wxListItem *) 0 ;
15579 int result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (int)(arg1)->GetColumn();
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 resultobj = PyInt_FromLong((long)result);
15595 return resultobj;
15596 fail:
15597 return NULL;
15598 }
15599
15600
15601 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxListItem *arg1 = (wxListItem *) 0 ;
15604 long result;
15605 PyObject * obj0 = 0 ;
15606 char *kwnames[] = {
15607 (char *) "self", NULL
15608 };
15609
15610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (long)(arg1)->GetState();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = PyInt_FromLong((long)result);
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxListItem *arg1 = (wxListItem *) 0 ;
15629 wxString *result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 {
15640 wxString const &_result_ref = (arg1)->GetText();
15641 result = (wxString *) &_result_ref;
15642 }
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15648 return resultobj;
15649 fail:
15650 return NULL;
15651 }
15652
15653
15654 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxListItem *arg1 = (wxListItem *) 0 ;
15657 int result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (int)(arg1)->GetImage();
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = PyInt_FromLong((long)result);
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxListItem *arg1 = (wxListItem *) 0 ;
15682 long result;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (long)(arg1)->GetData();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 resultobj = PyInt_FromLong((long)result);
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxListItem *arg1 = (wxListItem *) 0 ;
15707 int result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (int)(arg1)->GetWidth();
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 resultobj = PyInt_FromLong((long)result);
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxListItem *arg1 = (wxListItem *) 0 ;
15732 int result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (int)(arg1)->GetAlign();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 resultobj = PyInt_FromLong((long)result);
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxListItem *arg1 = (wxListItem *) 0 ;
15757 wxListItemAttr *result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 result = (wxListItemAttr *)(arg1)->GetAttributes();
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxListItem *arg1 = (wxListItem *) 0 ;
15782 bool result;
15783 PyObject * obj0 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (bool)(arg1)->HasAttributes();
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = PyInt_FromLong((long)result);
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxListItem *arg1 = (wxListItem *) 0 ;
15807 wxColour result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = ((wxListItem const *)arg1)->GetTextColour();
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 {
15823 wxColour * resultptr;
15824 resultptr = new wxColour((wxColour &) result);
15825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15826 }
15827 return resultobj;
15828 fail:
15829 return NULL;
15830 }
15831
15832
15833 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxListItem *arg1 = (wxListItem *) 0 ;
15836 wxColour result;
15837 PyObject * obj0 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15844 {
15845 PyThreadState* __tstate = wxPyBeginAllowThreads();
15846 result = ((wxListItem const *)arg1)->GetBackgroundColour();
15847
15848 wxPyEndAllowThreads(__tstate);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
15851 {
15852 wxColour * resultptr;
15853 resultptr = new wxColour((wxColour &) result);
15854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15855 }
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxListItem *arg1 = (wxListItem *) 0 ;
15865 wxFont result;
15866 PyObject * obj0 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15873 {
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 result = ((wxListItem const *)arg1)->GetFont();
15876
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 {
15881 wxFont * resultptr;
15882 resultptr = new wxFont((wxFont &) result);
15883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15884 }
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxListItem *arg1 = (wxListItem *) 0 ;
15894 long arg2 ;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self",(char *) "m_mask", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
15901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15902 if (arg1) (arg1)->m_mask = arg2;
15903
15904 Py_INCREF(Py_None); resultobj = Py_None;
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxListItem *arg1 = (wxListItem *) 0 ;
15914 long result;
15915 PyObject * obj0 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15922 result = (long) ((arg1)->m_mask);
15923
15924 resultobj = PyInt_FromLong((long)result);
15925 return resultobj;
15926 fail:
15927 return NULL;
15928 }
15929
15930
15931 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15932 PyObject *resultobj;
15933 wxListItem *arg1 = (wxListItem *) 0 ;
15934 long arg2 ;
15935 PyObject * obj0 = 0 ;
15936 char *kwnames[] = {
15937 (char *) "self",(char *) "m_itemId", NULL
15938 };
15939
15940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
15941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15942 if (arg1) (arg1)->m_itemId = arg2;
15943
15944 Py_INCREF(Py_None); resultobj = Py_None;
15945 return resultobj;
15946 fail:
15947 return NULL;
15948 }
15949
15950
15951 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15952 PyObject *resultobj;
15953 wxListItem *arg1 = (wxListItem *) 0 ;
15954 long result;
15955 PyObject * obj0 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15962 result = (long) ((arg1)->m_itemId);
15963
15964 resultobj = PyInt_FromLong((long)result);
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxListItem *arg1 = (wxListItem *) 0 ;
15974 int arg2 ;
15975 PyObject * obj0 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self",(char *) "m_col", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
15981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15982 if (arg1) (arg1)->m_col = arg2;
15983
15984 Py_INCREF(Py_None); resultobj = Py_None;
15985 return resultobj;
15986 fail:
15987 return NULL;
15988 }
15989
15990
15991 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxListItem *arg1 = (wxListItem *) 0 ;
15994 int result;
15995 PyObject * obj0 = 0 ;
15996 char *kwnames[] = {
15997 (char *) "self", NULL
15998 };
15999
16000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16002 result = (int) ((arg1)->m_col);
16003
16004 resultobj = PyInt_FromLong((long)result);
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxListItem *arg1 = (wxListItem *) 0 ;
16014 long arg2 ;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self",(char *) "m_state", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16022 if (arg1) (arg1)->m_state = arg2;
16023
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxListItem *arg1 = (wxListItem *) 0 ;
16034 long result;
16035 PyObject * obj0 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16042 result = (long) ((arg1)->m_state);
16043
16044 resultobj = PyInt_FromLong((long)result);
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxListItem *arg1 = (wxListItem *) 0 ;
16054 long arg2 ;
16055 PyObject * obj0 = 0 ;
16056 char *kwnames[] = {
16057 (char *) "self",(char *) "m_stateMask", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16062 if (arg1) (arg1)->m_stateMask = arg2;
16063
16064 Py_INCREF(Py_None); resultobj = Py_None;
16065 return resultobj;
16066 fail:
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxListItem *arg1 = (wxListItem *) 0 ;
16074 long result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16082 result = (long) ((arg1)->m_stateMask);
16083
16084 resultobj = PyInt_FromLong((long)result);
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxListItem *arg1 = (wxListItem *) 0 ;
16094 wxString arg2 ;
16095 PyObject * obj0 = 0 ;
16096 PyObject * obj1 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "m_text", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16103 {
16104 wxString* sptr = wxString_in_helper(obj1);
16105 if (sptr == NULL) SWIG_fail;
16106 arg2 = *sptr;
16107 delete sptr;
16108 }
16109 if (arg1) (arg1)->m_text = arg2;
16110
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 return resultobj;
16113 fail:
16114 return NULL;
16115 }
16116
16117
16118 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxListItem *arg1 = (wxListItem *) 0 ;
16121 wxString result;
16122 PyObject * obj0 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16129 result = ((arg1)->m_text);
16130
16131 {
16132 #if wxUSE_UNICODE
16133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16134 #else
16135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16136 #endif
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxListItem *arg1 = (wxListItem *) 0 ;
16147 int arg2 ;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self",(char *) "m_image", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16155 if (arg1) (arg1)->m_image = arg2;
16156
16157 Py_INCREF(Py_None); resultobj = Py_None;
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxListItem *arg1 = (wxListItem *) 0 ;
16167 int result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16175 result = (int) ((arg1)->m_image);
16176
16177 resultobj = PyInt_FromLong((long)result);
16178 return resultobj;
16179 fail:
16180 return NULL;
16181 }
16182
16183
16184 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj;
16186 wxListItem *arg1 = (wxListItem *) 0 ;
16187 long arg2 ;
16188 PyObject * obj0 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self",(char *) "m_data", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16195 if (arg1) (arg1)->m_data = arg2;
16196
16197 Py_INCREF(Py_None); resultobj = Py_None;
16198 return resultobj;
16199 fail:
16200 return NULL;
16201 }
16202
16203
16204 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxListItem *arg1 = (wxListItem *) 0 ;
16207 long result;
16208 PyObject * obj0 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16215 result = (long) ((arg1)->m_data);
16216
16217 resultobj = PyInt_FromLong((long)result);
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxListItem *arg1 = (wxListItem *) 0 ;
16227 int arg2 ;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self",(char *) "m_format", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 if (arg1) (arg1)->m_format = arg2;
16236
16237 Py_INCREF(Py_None); resultobj = Py_None;
16238 return resultobj;
16239 fail:
16240 return NULL;
16241 }
16242
16243
16244 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxListItem *arg1 = (wxListItem *) 0 ;
16247 int result;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16255 result = (int) ((arg1)->m_format);
16256
16257 resultobj = PyInt_FromLong((long)result);
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxListItem *arg1 = (wxListItem *) 0 ;
16267 int arg2 ;
16268 PyObject * obj0 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self",(char *) "m_width", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16275 if (arg1) (arg1)->m_width = arg2;
16276
16277 Py_INCREF(Py_None); resultobj = Py_None;
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj;
16286 wxListItem *arg1 = (wxListItem *) 0 ;
16287 int result;
16288 PyObject * obj0 = 0 ;
16289 char *kwnames[] = {
16290 (char *) "self", NULL
16291 };
16292
16293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16295 result = (int) ((arg1)->m_width);
16296
16297 resultobj = PyInt_FromLong((long)result);
16298 return resultobj;
16299 fail:
16300 return NULL;
16301 }
16302
16303
16304 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16305 PyObject *obj;
16306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16307 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16308 Py_INCREF(obj);
16309 return Py_BuildValue((char *)"");
16310 }
16311 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16314 int arg2 = (int) 0 ;
16315 wxListEvent *result;
16316 char *kwnames[] = {
16317 (char *) "commandType",(char *) "id", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxListEvent *arg1 = (wxListEvent *) 0 ;
16338 int arg2 ;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self",(char *) "m_code", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16346 if (arg1) (arg1)->m_code = arg2;
16347
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxListEvent *arg1 = (wxListEvent *) 0 ;
16358 int result;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16366 result = (int) ((arg1)->m_code);
16367
16368 resultobj = PyInt_FromLong((long)result);
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxListEvent *arg1 = (wxListEvent *) 0 ;
16378 long arg2 ;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "m_oldItemIndex", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16386 if (arg1) (arg1)->m_oldItemIndex = arg2;
16387
16388 Py_INCREF(Py_None); resultobj = Py_None;
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxListEvent *arg1 = (wxListEvent *) 0 ;
16398 long result;
16399 PyObject * obj0 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16406 result = (long) ((arg1)->m_oldItemIndex);
16407
16408 resultobj = PyInt_FromLong((long)result);
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxListEvent *arg1 = (wxListEvent *) 0 ;
16418 long arg2 ;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self",(char *) "m_itemIndex", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16426 if (arg1) (arg1)->m_itemIndex = arg2;
16427
16428 Py_INCREF(Py_None); resultobj = Py_None;
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj;
16437 wxListEvent *arg1 = (wxListEvent *) 0 ;
16438 long result;
16439 PyObject * obj0 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 result = (long) ((arg1)->m_itemIndex);
16447
16448 resultobj = PyInt_FromLong((long)result);
16449 return resultobj;
16450 fail:
16451 return NULL;
16452 }
16453
16454
16455 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16456 PyObject *resultobj;
16457 wxListEvent *arg1 = (wxListEvent *) 0 ;
16458 int arg2 ;
16459 PyObject * obj0 = 0 ;
16460 char *kwnames[] = {
16461 (char *) "self",(char *) "m_col", NULL
16462 };
16463
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16466 if (arg1) (arg1)->m_col = arg2;
16467
16468 Py_INCREF(Py_None); resultobj = Py_None;
16469 return resultobj;
16470 fail:
16471 return NULL;
16472 }
16473
16474
16475 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxListEvent *arg1 = (wxListEvent *) 0 ;
16478 int result;
16479 PyObject * obj0 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16486 result = (int) ((arg1)->m_col);
16487
16488 resultobj = PyInt_FromLong((long)result);
16489 return resultobj;
16490 fail:
16491 return NULL;
16492 }
16493
16494
16495 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxListEvent *arg1 = (wxListEvent *) 0 ;
16498 wxPoint *arg2 = (wxPoint *) 0 ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "m_pointDrag", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 if (arg1) (arg1)->m_pointDrag = *arg2;
16509
16510 Py_INCREF(Py_None); resultobj = Py_None;
16511 return resultobj;
16512 fail:
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxListEvent *arg1 = (wxListEvent *) 0 ;
16520 wxPoint *result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16528 result = (wxPoint *)& ((arg1)->m_pointDrag);
16529
16530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16531 return resultobj;
16532 fail:
16533 return NULL;
16534 }
16535
16536
16537 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16538 PyObject *resultobj;
16539 wxListEvent *arg1 = (wxListEvent *) 0 ;
16540 wxListItem *result;
16541 PyObject * obj0 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self", NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16548 result = (wxListItem *)& ((arg1)->m_item);
16549
16550 {
16551 resultobj = wxPyMake_wxObject(result);
16552 }
16553 return resultobj;
16554 fail:
16555 return NULL;
16556 }
16557
16558
16559 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16560 PyObject *resultobj;
16561 wxListEvent *arg1 = (wxListEvent *) 0 ;
16562 int result;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (int)(arg1)->GetKeyCode();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 resultobj = PyInt_FromLong((long)result);
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxListEvent *arg1 = (wxListEvent *) 0 ;
16587 long result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (long)(arg1)->GetIndex();
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 resultobj = PyInt_FromLong((long)result);
16603 return resultobj;
16604 fail:
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxListEvent *arg1 = (wxListEvent *) 0 ;
16612 int result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 result = (int)(arg1)->GetColumn();
16623
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = PyInt_FromLong((long)result);
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxListEvent *arg1 = (wxListEvent *) 0 ;
16637 wxPoint result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (arg1)->GetPoint();
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 {
16653 wxPoint * resultptr;
16654 resultptr = new wxPoint((wxPoint &) result);
16655 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16656 }
16657 return resultobj;
16658 fail:
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxListEvent *arg1 = (wxListEvent *) 0 ;
16666 wxString *result;
16667 PyObject * obj0 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 {
16677 wxString const &_result_ref = (arg1)->GetLabel();
16678 result = (wxString *) &_result_ref;
16679 }
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxListEvent *arg1 = (wxListEvent *) 0 ;
16694 wxString *result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 {
16705 wxString const &_result_ref = (arg1)->GetText();
16706 result = (wxString *) &_result_ref;
16707 }
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16713 return resultobj;
16714 fail:
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxListEvent *arg1 = (wxListEvent *) 0 ;
16722 int result;
16723 PyObject * obj0 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 result = (int)(arg1)->GetImage();
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 resultobj = PyInt_FromLong((long)result);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxListEvent *arg1 = (wxListEvent *) 0 ;
16747 long result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 result = (long)(arg1)->GetData();
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = PyInt_FromLong((long)result);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxListEvent *arg1 = (wxListEvent *) 0 ;
16772 long result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (long)(arg1)->GetMask();
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 resultobj = PyInt_FromLong((long)result);
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxListEvent *arg1 = (wxListEvent *) 0 ;
16797 wxListItem *result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
16804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 {
16808 wxListItem const &_result_ref = (arg1)->GetItem();
16809 result = (wxListItem *) &_result_ref;
16810 }
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
16816 return resultobj;
16817 fail:
16818 return NULL;
16819 }
16820
16821
16822 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
16823 PyObject *resultobj;
16824 wxListEvent *arg1 = (wxListEvent *) 0 ;
16825 long result;
16826 PyObject * obj0 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
16832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (long)(arg1)->GetCacheFrom();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = PyInt_FromLong((long)result);
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj;
16849 wxListEvent *arg1 = (wxListEvent *) 0 ;
16850 long result;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
16857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 result = (long)(arg1)->GetCacheTo();
16861
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 resultobj = PyInt_FromLong((long)result);
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxListEvent *arg1 = (wxListEvent *) 0 ;
16875 bool result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = PyInt_FromLong((long)result);
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxListEvent *arg1 = (wxListEvent *) 0 ;
16900 bool arg2 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self",(char *) "editCancelled", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 arg2 = PyInt_AsLong(obj1) ? true : false;
16910 if (PyErr_Occurred()) SWIG_fail;
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 (arg1)->SetEditCanceled(arg2);
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 Py_INCREF(Py_None); resultobj = Py_None;
16919 return resultobj;
16920 fail:
16921 return NULL;
16922 }
16923
16924
16925 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
16926 PyObject *obj;
16927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16928 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
16929 Py_INCREF(obj);
16930 return Py_BuildValue((char *)"");
16931 }
16932 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxWindow *arg1 = (wxWindow *) 0 ;
16935 int arg2 = (int) -1 ;
16936 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16937 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16938 wxSize const &arg4_defvalue = wxDefaultSize ;
16939 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16940 long arg5 = (long) wxLC_ICON ;
16941 wxValidator const &arg6_defvalue = wxDefaultValidator ;
16942 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
16943 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
16944 wxString *arg7 = (wxString *) &arg7_defvalue ;
16945 wxPyListCtrl *result;
16946 wxPoint temp3 ;
16947 wxSize temp4 ;
16948 bool temp7 = False ;
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj2 = 0 ;
16951 PyObject * obj3 = 0 ;
16952 PyObject * obj5 = 0 ;
16953 PyObject * obj6 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16960 if (obj2) {
16961 {
16962 arg3 = &temp3;
16963 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16964 }
16965 }
16966 if (obj3) {
16967 {
16968 arg4 = &temp4;
16969 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16970 }
16971 }
16972 if (obj5) {
16973 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16974 if (arg6 == NULL) {
16975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16976 }
16977 }
16978 if (obj6) {
16979 {
16980 arg7 = wxString_in_helper(obj6);
16981 if (arg7 == NULL) SWIG_fail;
16982 temp7 = True;
16983 }
16984 }
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
16993 {
16994 if (temp7)
16995 delete arg7;
16996 }
16997 return resultobj;
16998 fail:
16999 {
17000 if (temp7)
17001 delete arg7;
17002 }
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxPyListCtrl *result;
17010 char *kwnames[] = {
17011 NULL
17012 };
17013
17014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 result = (wxPyListCtrl *)new wxPyListCtrl();
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17032 wxWindow *arg2 = (wxWindow *) 0 ;
17033 int arg3 = (int) -1 ;
17034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17036 wxSize const &arg5_defvalue = wxDefaultSize ;
17037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17038 long arg6 = (long) wxLC_ICON ;
17039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17041 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17042 wxString *arg8 = (wxString *) &arg8_defvalue ;
17043 bool result;
17044 wxPoint temp4 ;
17045 wxSize temp5 ;
17046 bool temp8 = False ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 PyObject * obj3 = 0 ;
17050 PyObject * obj4 = 0 ;
17051 PyObject * obj6 = 0 ;
17052 PyObject * obj7 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17060 if (obj3) {
17061 {
17062 arg4 = &temp4;
17063 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17064 }
17065 }
17066 if (obj4) {
17067 {
17068 arg5 = &temp5;
17069 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17070 }
17071 }
17072 if (obj6) {
17073 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17074 if (arg7 == NULL) {
17075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17076 }
17077 }
17078 if (obj7) {
17079 {
17080 arg8 = wxString_in_helper(obj7);
17081 if (arg8 == NULL) SWIG_fail;
17082 temp8 = True;
17083 }
17084 }
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 resultobj = PyInt_FromLong((long)result);
17093 {
17094 if (temp8)
17095 delete arg8;
17096 }
17097 return resultobj;
17098 fail:
17099 {
17100 if (temp8)
17101 delete arg8;
17102 }
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17110 PyObject *arg2 = (PyObject *) 0 ;
17111 PyObject *arg3 = (PyObject *) 0 ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 PyObject * obj2 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self",(char *) "self",(char *) "_class", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17121 arg2 = obj1;
17122 arg3 = obj2;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->_setCallbackInfo(arg2,arg3);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 Py_INCREF(Py_None); resultobj = Py_None;
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17140 wxColour *arg2 = 0 ;
17141 bool result;
17142 wxColour temp2 ;
17143 PyObject * obj0 = 0 ;
17144 PyObject * obj1 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self",(char *) "col", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17151 {
17152 arg2 = &temp2;
17153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17154 }
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 resultobj = PyInt_FromLong((long)result);
17163 return resultobj;
17164 fail:
17165 return NULL;
17166 }
17167
17168
17169 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17172 wxColour *arg2 = 0 ;
17173 bool result;
17174 wxColour temp2 ;
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "col", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 {
17184 arg2 = &temp2;
17185 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17186 }
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = PyInt_FromLong((long)result);
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17204 int arg2 ;
17205 wxListItem *result;
17206 PyObject * obj0 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "self",(char *) "col", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 {
17221 resultobj = wxPyMake_wxObject(result);
17222 }
17223 return resultobj;
17224 fail:
17225 return NULL;
17226 }
17227
17228
17229 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj;
17231 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17232 int arg2 ;
17233 wxListItem *arg3 = 0 ;
17234 bool result;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj2 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "col",(char *) "item", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17244 if (arg3 == NULL) {
17245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17246 }
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 resultobj = PyInt_FromLong((long)result);
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17264 int arg2 ;
17265 int result;
17266 PyObject * obj0 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self",(char *) "col", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17273 {
17274 PyThreadState* __tstate = wxPyBeginAllowThreads();
17275 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 resultobj = PyInt_FromLong((long)result);
17281 return resultobj;
17282 fail:
17283 return NULL;
17284 }
17285
17286
17287 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17290 int arg2 ;
17291 int arg3 ;
17292 bool result;
17293 PyObject * obj0 = 0 ;
17294 char *kwnames[] = {
17295 (char *) "self",(char *) "col",(char *) "width", NULL
17296 };
17297
17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 resultobj = PyInt_FromLong((long)result);
17308 return resultobj;
17309 fail:
17310 return NULL;
17311 }
17312
17313
17314 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17317 int result;
17318 PyObject * obj0 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = PyInt_FromLong((long)result);
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17342 wxRect result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 {
17358 wxRect * resultptr;
17359 resultptr = new wxRect((wxRect &) result);
17360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17361 }
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17371 long arg2 ;
17372 int arg3 = (int) 0 ;
17373 wxListItem *result;
17374 PyObject * obj0 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "itemId",(char *) "col", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 resultobj = wxPyMake_wxObject(result);
17390 }
17391 return resultobj;
17392 fail:
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17400 wxListItem *arg2 = 0 ;
17401 bool result;
17402 PyObject * obj0 = 0 ;
17403 PyObject * obj1 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self",(char *) "info", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17411 if (arg2 == NULL) {
17412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17413 }
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (bool)(arg1)->SetItem(*arg2);
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = PyInt_FromLong((long)result);
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17431 long arg2 ;
17432 int arg3 ;
17433 wxString *arg4 = 0 ;
17434 int arg5 = (int) -1 ;
17435 long result;
17436 bool temp4 = False ;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj3 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17445 {
17446 arg4 = wxString_in_helper(obj3);
17447 if (arg4 == NULL) SWIG_fail;
17448 temp4 = True;
17449 }
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 resultobj = PyInt_FromLong((long)result);
17458 {
17459 if (temp4)
17460 delete arg4;
17461 }
17462 return resultobj;
17463 fail:
17464 {
17465 if (temp4)
17466 delete arg4;
17467 }
17468 return NULL;
17469 }
17470
17471
17472 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17475 long arg2 ;
17476 long arg3 ;
17477 int result;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = PyInt_FromLong((long)result);
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17502 long arg2 ;
17503 long arg3 ;
17504 long arg4 ;
17505 bool result;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = PyInt_FromLong((long)result);
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17530 long arg2 ;
17531 int arg3 ;
17532 int arg4 ;
17533 bool result;
17534 PyObject * obj0 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17541 {
17542 PyThreadState* __tstate = wxPyBeginAllowThreads();
17543 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17544
17545 wxPyEndAllowThreads(__tstate);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 }
17548 resultobj = PyInt_FromLong((long)result);
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17558 long arg2 ;
17559 wxString result;
17560 PyObject * obj0 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self",(char *) "item", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17570
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
17575 #if wxUSE_UNICODE
17576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17577 #else
17578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17579 #endif
17580 }
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17590 long arg2 ;
17591 wxString *arg3 = 0 ;
17592 bool temp3 = False ;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj2 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "item",(char *) "str", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17601 {
17602 arg3 = wxString_in_helper(obj2);
17603 if (arg3 == NULL) SWIG_fail;
17604 temp3 = True;
17605 }
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17609
17610 wxPyEndAllowThreads(__tstate);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 Py_INCREF(Py_None); resultobj = Py_None;
17614 {
17615 if (temp3)
17616 delete arg3;
17617 }
17618 return resultobj;
17619 fail:
17620 {
17621 if (temp3)
17622 delete arg3;
17623 }
17624 return NULL;
17625 }
17626
17627
17628 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17631 long arg2 ;
17632 long result;
17633 PyObject * obj0 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "self",(char *) "item", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17643
17644 wxPyEndAllowThreads(__tstate);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 resultobj = PyInt_FromLong((long)result);
17648 return resultobj;
17649 fail:
17650 return NULL;
17651 }
17652
17653
17654 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17657 long arg2 ;
17658 long arg3 ;
17659 bool result;
17660 PyObject * obj0 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self",(char *) "item",(char *) "data", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (bool)(arg1)->SetItemData(arg2,arg3);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = PyInt_FromLong((long)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17684 long arg2 ;
17685 wxPoint result;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "item", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 {
17701 wxPoint * resultptr;
17702 resultptr = new wxPoint((wxPoint &) result);
17703 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17704 }
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17714 long arg2 ;
17715 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17716 wxRect result;
17717 PyObject * obj0 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "item",(char *) "code", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 wxRect * resultptr;
17733 resultptr = new wxRect((wxRect &) result);
17734 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17735 }
17736 return resultobj;
17737 fail:
17738 return NULL;
17739 }
17740
17741
17742 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17745 long arg2 ;
17746 wxPoint *arg3 = 0 ;
17747 bool result;
17748 wxPoint temp3 ;
17749 PyObject * obj0 = 0 ;
17750 PyObject * obj2 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self",(char *) "item",(char *) "pos", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 {
17758 arg3 = &temp3;
17759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17760 }
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17764
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = PyInt_FromLong((long)result);
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17776 PyObject *resultobj;
17777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17778 int result;
17779 PyObject * obj0 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 resultobj = PyInt_FromLong((long)result);
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17803 int result;
17804 PyObject * obj0 = 0 ;
17805 char *kwnames[] = {
17806 (char *) "self", NULL
17807 };
17808
17809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
17810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = PyInt_FromLong((long)result);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17828 wxSize result;
17829 PyObject * obj0 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
17835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 {
17844 wxSize * resultptr;
17845 resultptr = new wxSize((wxSize &) result);
17846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17847 }
17848 return resultobj;
17849 fail:
17850 return NULL;
17851 }
17852
17853
17854 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj;
17856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17857 int arg2 ;
17858 bool arg3 = (bool) False ;
17859 PyObject * obj0 = 0 ;
17860 PyObject * obj2 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17867 if (obj2) {
17868 arg3 = PyInt_AsLong(obj2) ? true : false;
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 (arg1)->SetItemSpacing(arg2,arg3);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 Py_INCREF(Py_None); resultobj = Py_None;
17879 return resultobj;
17880 fail:
17881 return NULL;
17882 }
17883
17884
17885 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17888 int result;
17889 PyObject * obj0 = 0 ;
17890 char *kwnames[] = {
17891 (char *) "self", NULL
17892 };
17893
17894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
17895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = PyInt_FromLong((long)result);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17913 wxColour result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 {
17929 wxColour * resultptr;
17930 resultptr = new wxColour((wxColour &) result);
17931 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17932 }
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17942 wxColour *arg2 = 0 ;
17943 wxColour temp2 ;
17944 PyObject * obj0 = 0 ;
17945 PyObject * obj1 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "col", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17952 {
17953 arg2 = &temp2;
17954 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17955 }
17956 {
17957 PyThreadState* __tstate = wxPyBeginAllowThreads();
17958 (arg1)->SetTextColour((wxColour const &)*arg2);
17959
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 Py_INCREF(Py_None); resultobj = Py_None;
17964 return resultobj;
17965 fail:
17966 return NULL;
17967 }
17968
17969
17970 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17971 PyObject *resultobj;
17972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17973 long result;
17974 PyObject * obj0 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 resultobj = PyInt_FromLong((long)result);
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17998 long arg2 ;
17999 bool arg3 = (bool) True ;
18000 PyObject * obj0 = 0 ;
18001 PyObject * obj2 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self",(char *) "style",(char *) "add", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18008 if (obj2) {
18009 arg3 = PyInt_AsLong(obj2) ? true : false;
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->SetSingleStyle(arg2,arg3);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 Py_INCREF(Py_None); resultobj = Py_None;
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18029 long arg2 ;
18030 PyObject * obj0 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self",(char *) "style", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->SetWindowStyleFlag(arg2);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 return resultobj;
18046 fail:
18047 return NULL;
18048 }
18049
18050
18051 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18054 long arg2 ;
18055 int arg3 = (int) wxLIST_NEXT_ALL ;
18056 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18057 long result;
18058 PyObject * obj0 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 resultobj = PyInt_FromLong((long)result);
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18082 int arg2 ;
18083 wxImageList *result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "which", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 {
18099 resultobj = wxPyMake_wxObject(result);
18100 }
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18110 wxImageList *arg2 = (wxImageList *) 0 ;
18111 int arg3 ;
18112 PyObject * obj0 = 0 ;
18113 PyObject * obj1 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "imageList",(char *) "which", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 (arg1)->SetImageList(arg2,arg3);
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 Py_INCREF(Py_None); resultobj = Py_None;
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18138 wxImageList *arg2 = (wxImageList *) 0 ;
18139 int arg3 ;
18140 PyObject * obj0 = 0 ;
18141 PyObject * obj1 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self",(char *) "imageList",(char *) "which", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 (arg1)->AssignImageList(arg2,arg3);
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 Py_INCREF(Py_None); resultobj = Py_None;
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18166 bool result;
18167 PyObject * obj0 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 resultobj = PyInt_FromLong((long)result);
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18191 long arg2 ;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self",(char *) "item", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->RefreshItem(arg2);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18216 long arg2 ;
18217 long arg3 ;
18218 PyObject * obj0 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->RefreshItems(arg2,arg3);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18242 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18243 bool result;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self",(char *) "flag", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (bool)(arg1)->Arrange(arg2);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = PyInt_FromLong((long)result);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18268 long arg2 ;
18269 bool result;
18270 PyObject * obj0 = 0 ;
18271 char *kwnames[] = {
18272 (char *) "self",(char *) "item", NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 result = (bool)(arg1)->DeleteItem(arg2);
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 resultobj = PyInt_FromLong((long)result);
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj;
18293 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18294 bool result;
18295 PyObject * obj0 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (bool)(arg1)->DeleteAllItems();
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 resultobj = PyInt_FromLong((long)result);
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18319 int arg2 ;
18320 bool result;
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "self",(char *) "col", NULL
18324 };
18325
18326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (bool)(arg1)->DeleteColumn(arg2);
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 resultobj = PyInt_FromLong((long)result);
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (bool)(arg1)->DeleteAllColumns();
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 resultobj = PyInt_FromLong((long)result);
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 (arg1)->ClearAll();
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 Py_INCREF(Py_None); resultobj = Py_None;
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18394 long arg2 ;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self",(char *) "item", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->EditLabel(arg2);
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 Py_INCREF(Py_None); resultobj = Py_None;
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18419 long arg2 ;
18420 bool result;
18421 PyObject * obj0 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self",(char *) "item", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (bool)(arg1)->EnsureVisible(arg2);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = PyInt_FromLong((long)result);
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18445 long arg2 ;
18446 wxString *arg3 = 0 ;
18447 bool arg4 = (bool) False ;
18448 long result;
18449 bool temp3 = False ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj2 = 0 ;
18452 PyObject * obj3 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18459 {
18460 arg3 = wxString_in_helper(obj2);
18461 if (arg3 == NULL) SWIG_fail;
18462 temp3 = True;
18463 }
18464 if (obj3) {
18465 arg4 = PyInt_AsLong(obj3) ? true : false;
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = PyInt_FromLong((long)result);
18476 {
18477 if (temp3)
18478 delete arg3;
18479 }
18480 return resultobj;
18481 fail:
18482 {
18483 if (temp3)
18484 delete arg3;
18485 }
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18493 long arg2 ;
18494 long arg3 ;
18495 long result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self",(char *) "start",(char *) "data", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (long)(arg1)->FindItem(arg2,arg3);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 resultobj = PyInt_FromLong((long)result);
18511 return resultobj;
18512 fail:
18513 return NULL;
18514 }
18515
18516
18517 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj;
18519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18520 long arg2 ;
18521 wxPoint *arg3 = 0 ;
18522 int arg4 ;
18523 long result;
18524 wxPoint temp3 ;
18525 PyObject * obj0 = 0 ;
18526 PyObject * obj2 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18533 {
18534 arg3 = &temp3;
18535 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18536 }
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 resultobj = PyInt_FromLong((long)result);
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18554 wxPoint *arg2 = 0 ;
18555 int *arg3 = 0 ;
18556 long result;
18557 wxPoint temp2 ;
18558 int temp3 ;
18559 PyObject * obj0 = 0 ;
18560 PyObject * obj1 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self",(char *) "point", NULL
18563 };
18564
18565 arg3 = &temp3;
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 {
18569 arg2 = &temp2;
18570 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18571 }
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 resultobj = PyInt_FromLong((long)result);
18580 {
18581 PyObject *o = PyInt_FromLong((long) (*arg3));
18582 resultobj = t_output_helper(resultobj,o);
18583 }
18584 return resultobj;
18585 fail:
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18593 wxListItem *arg2 = 0 ;
18594 long result;
18595 PyObject * obj0 = 0 ;
18596 PyObject * obj1 = 0 ;
18597 char *kwnames[] = {
18598 (char *) "self",(char *) "info", NULL
18599 };
18600
18601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18604 if (arg2 == NULL) {
18605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18606 }
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (long)(arg1)->InsertItem(*arg2);
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 resultobj = PyInt_FromLong((long)result);
18615 return resultobj;
18616 fail:
18617 return NULL;
18618 }
18619
18620
18621 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18624 long arg2 ;
18625 wxString *arg3 = 0 ;
18626 long result;
18627 bool temp3 = False ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj2 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self",(char *) "index",(char *) "label", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18636 {
18637 arg3 = wxString_in_helper(obj2);
18638 if (arg3 == NULL) SWIG_fail;
18639 temp3 = True;
18640 }
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = PyInt_FromLong((long)result);
18649 {
18650 if (temp3)
18651 delete arg3;
18652 }
18653 return resultobj;
18654 fail:
18655 {
18656 if (temp3)
18657 delete arg3;
18658 }
18659 return NULL;
18660 }
18661
18662
18663 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18666 long arg2 ;
18667 int arg3 ;
18668 long result;
18669 PyObject * obj0 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (long)(arg1)->InsertItem(arg2,arg3);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = PyInt_FromLong((long)result);
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18693 long arg2 ;
18694 wxString *arg3 = 0 ;
18695 int arg4 ;
18696 long result;
18697 bool temp3 = False ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj2 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 arg3 = wxString_in_helper(obj2);
18708 if (arg3 == NULL) SWIG_fail;
18709 temp3 = True;
18710 }
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 resultobj = PyInt_FromLong((long)result);
18719 {
18720 if (temp3)
18721 delete arg3;
18722 }
18723 return resultobj;
18724 fail:
18725 {
18726 if (temp3)
18727 delete arg3;
18728 }
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18736 long arg2 ;
18737 wxListItem *arg3 = 0 ;
18738 long result;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj2 = 0 ;
18741 char *kwnames[] = {
18742 (char *) "self",(char *) "col",(char *) "info", NULL
18743 };
18744
18745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18747 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18748 if (arg3 == NULL) {
18749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18750 }
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 resultobj = PyInt_FromLong((long)result);
18759 return resultobj;
18760 fail:
18761 return NULL;
18762 }
18763
18764
18765 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18768 long arg2 ;
18769 wxString *arg3 = 0 ;
18770 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18771 int arg5 = (int) -1 ;
18772 long result;
18773 bool temp3 = False ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj2 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18782 {
18783 arg3 = wxString_in_helper(obj2);
18784 if (arg3 == NULL) SWIG_fail;
18785 temp3 = True;
18786 }
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 resultobj = PyInt_FromLong((long)result);
18795 {
18796 if (temp3)
18797 delete arg3;
18798 }
18799 return resultobj;
18800 fail:
18801 {
18802 if (temp3)
18803 delete arg3;
18804 }
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18812 long arg2 ;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self",(char *) "count", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 (arg1)->SetItemCount(arg2);
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 Py_INCREF(Py_None); resultobj = Py_None;
18828 return resultobj;
18829 fail:
18830 return NULL;
18831 }
18832
18833
18834 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18837 int arg2 ;
18838 int arg3 ;
18839 bool result;
18840 PyObject * obj0 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self",(char *) "dx",(char *) "dy", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18847 {
18848 PyThreadState* __tstate = wxPyBeginAllowThreads();
18849 result = (bool)(arg1)->ScrollList(arg2,arg3);
18850
18851 wxPyEndAllowThreads(__tstate);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 resultobj = PyInt_FromLong((long)result);
18855 return resultobj;
18856 fail:
18857 return NULL;
18858 }
18859
18860
18861 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18862 PyObject *resultobj;
18863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18864 long arg2 ;
18865 wxColour *arg3 = 0 ;
18866 wxColour temp3 ;
18867 PyObject * obj0 = 0 ;
18868 PyObject * obj2 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self",(char *) "item",(char *) "col", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18875 {
18876 arg3 = &temp3;
18877 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18896 long arg2 ;
18897 wxColour result;
18898 PyObject * obj0 = 0 ;
18899 char *kwnames[] = {
18900 (char *) "self",(char *) "item", NULL
18901 };
18902
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
18904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 wxColour * resultptr;
18914 resultptr = new wxColour((wxColour &) result);
18915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18916 }
18917 return resultobj;
18918 fail:
18919 return NULL;
18920 }
18921
18922
18923 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18926 long arg2 ;
18927 wxColour *arg3 = 0 ;
18928 wxColour temp3 ;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj2 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "item",(char *) "col", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18937 {
18938 arg3 = &temp3;
18939 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18940 }
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952 }
18953
18954
18955 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18958 long arg2 ;
18959 wxColour result;
18960 PyObject * obj0 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "item", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975 wxColour * resultptr;
18976 resultptr = new wxColour((wxColour &) result);
18977 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18978 }
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18988 PyObject *arg2 = (PyObject *) 0 ;
18989 bool result;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "func", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18998 arg2 = obj1;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 resultobj = PyInt_FromLong((long)result);
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19016 wxWindow *result;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 {
19032 resultobj = wxPyMake_wxObject(result);
19033 }
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19041 PyObject *obj;
19042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19043 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19044 Py_INCREF(obj);
19045 return Py_BuildValue((char *)"");
19046 }
19047 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxWindow *arg1 = (wxWindow *) 0 ;
19050 int arg2 = (int) -1 ;
19051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19053 wxSize const &arg4_defvalue = wxDefaultSize ;
19054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19055 long arg5 = (long) wxLC_REPORT ;
19056 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19057 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19058 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19059 wxString *arg7 = (wxString *) &arg7_defvalue ;
19060 wxListView *result;
19061 wxPoint temp3 ;
19062 wxSize temp4 ;
19063 bool temp7 = False ;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj2 = 0 ;
19066 PyObject * obj3 = 0 ;
19067 PyObject * obj5 = 0 ;
19068 PyObject * obj6 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 if (obj2) {
19076 {
19077 arg3 = &temp3;
19078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19079 }
19080 }
19081 if (obj3) {
19082 {
19083 arg4 = &temp4;
19084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19085 }
19086 }
19087 if (obj5) {
19088 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19089 if (arg6 == NULL) {
19090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19091 }
19092 }
19093 if (obj6) {
19094 {
19095 arg7 = wxString_in_helper(obj6);
19096 if (arg7 == NULL) SWIG_fail;
19097 temp7 = True;
19098 }
19099 }
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19108 {
19109 if (temp7)
19110 delete arg7;
19111 }
19112 return resultobj;
19113 fail:
19114 {
19115 if (temp7)
19116 delete arg7;
19117 }
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxListView *result;
19125 char *kwnames[] = {
19126 NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 result = (wxListView *)new wxListView();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxListView *arg1 = (wxListView *) 0 ;
19147 wxWindow *arg2 = (wxWindow *) 0 ;
19148 int arg3 = (int) -1 ;
19149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19151 wxSize const &arg5_defvalue = wxDefaultSize ;
19152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19153 long arg6 = (long) wxLC_REPORT ;
19154 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19155 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19156 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19157 wxString *arg8 = (wxString *) &arg8_defvalue ;
19158 bool result;
19159 wxPoint temp4 ;
19160 wxSize temp5 ;
19161 bool temp8 = False ;
19162 PyObject * obj0 = 0 ;
19163 PyObject * obj1 = 0 ;
19164 PyObject * obj3 = 0 ;
19165 PyObject * obj4 = 0 ;
19166 PyObject * obj6 = 0 ;
19167 PyObject * obj7 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19175 if (obj3) {
19176 {
19177 arg4 = &temp4;
19178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19179 }
19180 }
19181 if (obj4) {
19182 {
19183 arg5 = &temp5;
19184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19185 }
19186 }
19187 if (obj6) {
19188 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19189 if (arg7 == NULL) {
19190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19191 }
19192 }
19193 if (obj7) {
19194 {
19195 arg8 = wxString_in_helper(obj7);
19196 if (arg8 == NULL) SWIG_fail;
19197 temp8 = True;
19198 }
19199 }
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 resultobj = PyInt_FromLong((long)result);
19208 {
19209 if (temp8)
19210 delete arg8;
19211 }
19212 return resultobj;
19213 fail:
19214 {
19215 if (temp8)
19216 delete arg8;
19217 }
19218 return NULL;
19219 }
19220
19221
19222 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxListView *arg1 = (wxListView *) 0 ;
19225 long arg2 ;
19226 bool arg3 = (bool) True ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj2 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "n",(char *) "on", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 if (obj2) {
19236 arg3 = PyInt_AsLong(obj2) ? true : false;
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->Select(arg2,arg3);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxListView *arg1 = (wxListView *) 0 ;
19256 long arg2 ;
19257 PyObject * obj0 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self",(char *) "index", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 (arg1)->Focus(arg2);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
19272 return resultobj;
19273 fail:
19274 return NULL;
19275 }
19276
19277
19278 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxListView *arg1 = (wxListView *) 0 ;
19281 long result;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 resultobj = PyInt_FromLong((long)result);
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxListView *arg1 = (wxListView *) 0 ;
19306 long arg2 ;
19307 long result;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "item", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 resultobj = PyInt_FromLong((long)result);
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxListView *arg1 = (wxListView *) 0 ;
19332 long result;
19333 PyObject * obj0 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = PyInt_FromLong((long)result);
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxListView *arg1 = (wxListView *) 0 ;
19357 long arg2 ;
19358 bool result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "index", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (bool)(arg1)->IsSelected(arg2);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 resultobj = PyInt_FromLong((long)result);
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxListView *arg1 = (wxListView *) 0 ;
19383 int arg2 ;
19384 int arg3 ;
19385 PyObject * obj0 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self",(char *) "col",(char *) "image", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 (arg1)->SetColumnImage(arg2,arg3);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 Py_INCREF(Py_None); resultobj = Py_None;
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxListView *arg1 = (wxListView *) 0 ;
19409 int arg2 ;
19410 PyObject * obj0 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "col", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19417 {
19418 PyThreadState* __tstate = wxPyBeginAllowThreads();
19419 (arg1)->ClearColumnImage(arg2);
19420
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 Py_INCREF(Py_None); resultobj = Py_None;
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19432 PyObject *obj;
19433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19434 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19435 Py_INCREF(obj);
19436 return Py_BuildValue((char *)"");
19437 }
19438 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxTreeItemId *result;
19441 char *kwnames[] = {
19442 NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxTreeItemId *)new wxTreeItemId();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19463 PyObject * obj0 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 delete arg1;
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 Py_INCREF(Py_None); resultobj = Py_None;
19478 return resultobj;
19479 fail:
19480 return NULL;
19481 }
19482
19483
19484 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj;
19486 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19487 bool result;
19488 PyObject * obj0 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 resultobj = PyInt_FromLong((long)result);
19503 return resultobj;
19504 fail:
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19512 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19513 bool result;
19514 PyObject * obj0 = 0 ;
19515 PyObject * obj1 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "other", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 resultobj = PyInt_FromLong((long)result);
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19540 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19541 bool result;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self",(char *) "other", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = PyInt_FromLong((long)result);
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19568 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19569 PyObject * obj0 = 0 ;
19570 PyObject * obj1 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self",(char *) "m_pItem", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19578 if (arg1) (arg1)->m_pItem = arg2;
19579
19580 Py_INCREF(Py_None); resultobj = Py_None;
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19590 wxTreeItemIdValue result;
19591 PyObject * obj0 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19598 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19599
19600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19608 PyObject *obj;
19609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19610 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19611 Py_INCREF(obj);
19612 return Py_BuildValue((char *)"");
19613 }
19614 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 PyObject *arg1 = (PyObject *) NULL ;
19617 wxPyTreeItemData *result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "obj", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19624 if (obj0) {
19625 arg1 = obj0;
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19644 PyObject *result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (PyObject *)(arg1)->GetData();
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 resultobj = result;
19660 return resultobj;
19661 fail:
19662 return NULL;
19663 }
19664
19665
19666 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19669 PyObject *arg2 = (PyObject *) 0 ;
19670 PyObject * obj0 = 0 ;
19671 PyObject * obj1 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self",(char *) "obj", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19678 arg2 = obj1;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 (arg1)->SetData(arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 Py_INCREF(Py_None); resultobj = Py_None;
19687 return resultobj;
19688 fail:
19689 return NULL;
19690 }
19691
19692
19693 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj;
19695 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19696 wxTreeItemId *result;
19697 PyObject * obj0 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 {
19707 wxTreeItemId const &_result_ref = (arg1)->GetId();
19708 result = (wxTreeItemId *) &_result_ref;
19709 }
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19724 wxTreeItemId *arg2 = 0 ;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "id", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19734 if (arg2 == NULL) {
19735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19736 }
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 (arg1)->SetId((wxTreeItemId const &)*arg2);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 Py_INCREF(Py_None); resultobj = Py_None;
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 wxPyTreeItemData_Destroy(arg1);
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772 }
19773
19774
19775 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19776 PyObject *obj;
19777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19778 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19779 Py_INCREF(obj);
19780 return Py_BuildValue((char *)"");
19781 }
19782 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj;
19784 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19785 int arg2 = (int) 0 ;
19786 wxTreeEvent *result;
19787 char *kwnames[] = {
19788 (char *) "commandType",(char *) "id", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19809 wxTreeItemId result;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 result = ((wxTreeEvent const *)arg1)->GetItem();
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 {
19825 wxTreeItemId * resultptr;
19826 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19828 }
19829 return resultobj;
19830 fail:
19831 return NULL;
19832 }
19833
19834
19835 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19836 PyObject *resultobj;
19837 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19838 wxTreeItemId *arg2 = 0 ;
19839 PyObject * obj0 = 0 ;
19840 PyObject * obj1 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self",(char *) "item", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19848 if (arg2 == NULL) {
19849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 (arg1)->SetItem((wxTreeItemId const &)*arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 Py_INCREF(Py_None); resultobj = Py_None;
19859 return resultobj;
19860 fail:
19861 return NULL;
19862 }
19863
19864
19865 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj;
19867 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19868 wxTreeItemId result;
19869 PyObject * obj0 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
19875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 result = ((wxTreeEvent const *)arg1)->GetOldItem();
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 {
19884 wxTreeItemId * resultptr;
19885 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19887 }
19888 return resultobj;
19889 fail:
19890 return NULL;
19891 }
19892
19893
19894 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19895 PyObject *resultobj;
19896 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19897 wxTreeItemId *arg2 = 0 ;
19898 PyObject * obj0 = 0 ;
19899 PyObject * obj1 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "item", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19907 if (arg2 == NULL) {
19908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19909 }
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 Py_INCREF(Py_None); resultobj = Py_None;
19918 return resultobj;
19919 fail:
19920 return NULL;
19921 }
19922
19923
19924 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19925 PyObject *resultobj;
19926 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19927 wxPoint result;
19928 PyObject * obj0 = 0 ;
19929 char *kwnames[] = {
19930 (char *) "self", NULL
19931 };
19932
19933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
19934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = ((wxTreeEvent const *)arg1)->GetPoint();
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 {
19943 wxPoint * resultptr;
19944 resultptr = new wxPoint((wxPoint &) result);
19945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19946 }
19947 return resultobj;
19948 fail:
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19954 PyObject *resultobj;
19955 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19956 wxPoint *arg2 = 0 ;
19957 wxPoint temp2 ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self",(char *) "pt", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19966 {
19967 arg2 = &temp2;
19968 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19969 }
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 (arg1)->SetPoint((wxPoint const &)*arg2);
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 Py_INCREF(Py_None); resultobj = Py_None;
19978 return resultobj;
19979 fail:
19980 return NULL;
19981 }
19982
19983
19984 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19987 wxKeyEvent *result;
19988 PyObject * obj0 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
19994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 {
19998 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
19999 result = (wxKeyEvent *) &_result_ref;
20000 }
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20015 int result;
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = PyInt_FromLong((long)result);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034 }
20035
20036
20037 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20040 wxKeyEvent *arg2 = 0 ;
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "evt", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20050 if (arg2 == NULL) {
20051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20052 }
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 Py_INCREF(Py_None); resultobj = Py_None;
20061 return resultobj;
20062 fail:
20063 return NULL;
20064 }
20065
20066
20067 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20070 wxString *result;
20071 PyObject * obj0 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 {
20081 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20082 result = (wxString *) &_result_ref;
20083 }
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20098 wxString *arg2 = 0 ;
20099 bool temp2 = False ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "label", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 {
20109 arg2 = wxString_in_helper(obj1);
20110 if (arg2 == NULL) SWIG_fail;
20111 temp2 = True;
20112 }
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 (arg1)->SetLabel((wxString const &)*arg2);
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 Py_INCREF(Py_None); resultobj = Py_None;
20121 {
20122 if (temp2)
20123 delete arg2;
20124 }
20125 return resultobj;
20126 fail:
20127 {
20128 if (temp2)
20129 delete arg2;
20130 }
20131 return NULL;
20132 }
20133
20134
20135 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20136 PyObject *resultobj;
20137 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20138 bool result;
20139 PyObject * obj0 = 0 ;
20140 char *kwnames[] = {
20141 (char *) "self", NULL
20142 };
20143
20144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 resultobj = PyInt_FromLong((long)result);
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20163 bool arg2 ;
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self",(char *) "editCancelled", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 arg2 = PyInt_AsLong(obj1) ? true : false;
20173 if (PyErr_Occurred()) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 (arg1)->SetEditCanceled(arg2);
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 Py_INCREF(Py_None); resultobj = Py_None;
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20189 PyObject *obj;
20190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20191 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20192 Py_INCREF(obj);
20193 return Py_BuildValue((char *)"");
20194 }
20195 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxWindow *arg1 = (wxWindow *) 0 ;
20198 int arg2 = (int) -1 ;
20199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20201 wxSize const &arg4_defvalue = wxDefaultSize ;
20202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20203 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20204 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20205 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20206 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20207 wxString *arg7 = (wxString *) &arg7_defvalue ;
20208 wxPyTreeCtrl *result;
20209 wxPoint temp3 ;
20210 wxSize temp4 ;
20211 bool temp7 = False ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj2 = 0 ;
20214 PyObject * obj3 = 0 ;
20215 PyObject * obj5 = 0 ;
20216 PyObject * obj6 = 0 ;
20217 char *kwnames[] = {
20218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20219 };
20220
20221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20223 if (obj2) {
20224 {
20225 arg3 = &temp3;
20226 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20227 }
20228 }
20229 if (obj3) {
20230 {
20231 arg4 = &temp4;
20232 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20233 }
20234 }
20235 if (obj5) {
20236 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20237 if (arg6 == NULL) {
20238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20239 }
20240 }
20241 if (obj6) {
20242 {
20243 arg7 = wxString_in_helper(obj6);
20244 if (arg7 == NULL) SWIG_fail;
20245 temp7 = True;
20246 }
20247 }
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20256 {
20257 if (temp7)
20258 delete arg7;
20259 }
20260 return resultobj;
20261 fail:
20262 {
20263 if (temp7)
20264 delete arg7;
20265 }
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxPyTreeCtrl *result;
20273 char *kwnames[] = {
20274 NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20286 return resultobj;
20287 fail:
20288 return NULL;
20289 }
20290
20291
20292 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj;
20294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20295 wxWindow *arg2 = (wxWindow *) 0 ;
20296 int arg3 = (int) -1 ;
20297 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20298 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20299 wxSize const &arg5_defvalue = wxDefaultSize ;
20300 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20301 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20302 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20303 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20304 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20305 wxString *arg8 = (wxString *) &arg8_defvalue ;
20306 bool result;
20307 wxPoint temp4 ;
20308 wxSize temp5 ;
20309 bool temp8 = False ;
20310 PyObject * obj0 = 0 ;
20311 PyObject * obj1 = 0 ;
20312 PyObject * obj3 = 0 ;
20313 PyObject * obj4 = 0 ;
20314 PyObject * obj6 = 0 ;
20315 PyObject * obj7 = 0 ;
20316 char *kwnames[] = {
20317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20323 if (obj3) {
20324 {
20325 arg4 = &temp4;
20326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20327 }
20328 }
20329 if (obj4) {
20330 {
20331 arg5 = &temp5;
20332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20333 }
20334 }
20335 if (obj6) {
20336 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20337 if (arg7 == NULL) {
20338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20339 }
20340 }
20341 if (obj7) {
20342 {
20343 arg8 = wxString_in_helper(obj7);
20344 if (arg8 == NULL) SWIG_fail;
20345 temp8 = True;
20346 }
20347 }
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = PyInt_FromLong((long)result);
20356 {
20357 if (temp8)
20358 delete arg8;
20359 }
20360 return resultobj;
20361 fail:
20362 {
20363 if (temp8)
20364 delete arg8;
20365 }
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20373 PyObject *arg2 = (PyObject *) 0 ;
20374 PyObject *arg3 = (PyObject *) 0 ;
20375 PyObject * obj0 = 0 ;
20376 PyObject * obj1 = 0 ;
20377 PyObject * obj2 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "self",(char *) "_class", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20384 arg2 = obj1;
20385 arg3 = obj2;
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 (arg1)->_setCallbackInfo(arg2,arg3);
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 Py_INCREF(Py_None); resultobj = Py_None;
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20403 size_t result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = PyInt_FromLong((long)result);
20419 return resultobj;
20420 fail:
20421 return NULL;
20422 }
20423
20424
20425 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20428 unsigned int result;
20429 PyObject * obj0 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = PyInt_FromLong((long)result);
20444 return resultobj;
20445 fail:
20446 return NULL;
20447 }
20448
20449
20450 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20453 unsigned int arg2 ;
20454 PyObject * obj0 = 0 ;
20455 PyObject * obj1 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self",(char *) "indent", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20462 arg2 = (unsigned int) PyInt_AsLong(obj1);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetIndent(arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20481 unsigned int result;
20482 PyObject * obj0 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = PyInt_FromLong((long)result);
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20506 unsigned int arg2 ;
20507 PyObject * obj0 = 0 ;
20508 PyObject * obj1 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self",(char *) "spacing", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20515 arg2 = (unsigned int) PyInt_AsLong(obj1);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 (arg1)->SetSpacing(arg2);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 Py_INCREF(Py_None); resultobj = Py_None;
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20534 wxImageList *result;
20535 PyObject * obj0 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 {
20550 resultobj = wxPyMake_wxObject(result);
20551 }
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20561 wxImageList *result;
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 {
20577 resultobj = wxPyMake_wxObject(result);
20578 }
20579 return resultobj;
20580 fail:
20581 return NULL;
20582 }
20583
20584
20585 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20586 PyObject *resultobj;
20587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20588 wxImageList *arg2 = (wxImageList *) 0 ;
20589 PyObject * obj0 = 0 ;
20590 PyObject * obj1 = 0 ;
20591 char *kwnames[] = {
20592 (char *) "self",(char *) "imageList", NULL
20593 };
20594
20595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 (arg1)->SetImageList(arg2);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 Py_INCREF(Py_None); resultobj = Py_None;
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20615 wxImageList *arg2 = (wxImageList *) 0 ;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self",(char *) "imageList", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 (arg1)->SetStateImageList(arg2);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 Py_INCREF(Py_None); resultobj = Py_None;
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20642 wxImageList *arg2 = (wxImageList *) 0 ;
20643 PyObject * obj0 = 0 ;
20644 PyObject * obj1 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "self",(char *) "imageList", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 (arg1)->AssignImageList(arg2);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 Py_INCREF(Py_None); resultobj = Py_None;
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20669 wxImageList *arg2 = (wxImageList *) 0 ;
20670 PyObject * obj0 = 0 ;
20671 PyObject * obj1 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "imageList", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->AssignStateImageList(arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20696 wxTreeItemId *arg2 = 0 ;
20697 wxString result;
20698 PyObject * obj0 = 0 ;
20699 PyObject * obj1 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "item", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20707 if (arg2 == NULL) {
20708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 {
20718 #if wxUSE_UNICODE
20719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20720 #else
20721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20722 #endif
20723 }
20724 return resultobj;
20725 fail:
20726 return NULL;
20727 }
20728
20729
20730 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20733 wxTreeItemId *arg2 = 0 ;
20734 int arg3 = (int) wxTreeItemIcon_Normal ;
20735 int result;
20736 PyObject * obj0 = 0 ;
20737 PyObject * obj1 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self",(char *) "item",(char *) "which", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20745 if (arg2 == NULL) {
20746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20747 }
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 resultobj = PyInt_FromLong((long)result);
20756 return resultobj;
20757 fail:
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20765 wxTreeItemId *arg2 = 0 ;
20766 wxPyTreeItemData *result;
20767 PyObject * obj0 = 0 ;
20768 PyObject * obj1 = 0 ;
20769 char *kwnames[] = {
20770 (char *) "self",(char *) "item", NULL
20771 };
20772
20773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 if (arg2 == NULL) {
20777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20778 }
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20782
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20796 wxTreeItemId *arg2 = 0 ;
20797 PyObject *result;
20798 PyObject * obj0 = 0 ;
20799 PyObject * obj1 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self",(char *) "item", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 if (arg2 == NULL) {
20808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20809 }
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 resultobj = result;
20818 return resultobj;
20819 fail:
20820 return NULL;
20821 }
20822
20823
20824 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj;
20826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20827 wxTreeItemId *arg2 = 0 ;
20828 wxColour result;
20829 PyObject * obj0 = 0 ;
20830 PyObject * obj1 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self",(char *) "item", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
20836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20838 if (arg2 == NULL) {
20839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 {
20849 wxColour * resultptr;
20850 resultptr = new wxColour((wxColour &) result);
20851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20852 }
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20862 wxTreeItemId *arg2 = 0 ;
20863 wxColour result;
20864 PyObject * obj0 = 0 ;
20865 PyObject * obj1 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self",(char *) "item", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20873 if (arg2 == NULL) {
20874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20875 }
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 {
20884 wxColour * resultptr;
20885 resultptr = new wxColour((wxColour &) result);
20886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20887 }
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20897 wxTreeItemId *arg2 = 0 ;
20898 wxFont result;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "item", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20908 if (arg2 == NULL) {
20909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 {
20919 wxFont * resultptr;
20920 resultptr = new wxFont((wxFont &) result);
20921 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
20922 }
20923 return resultobj;
20924 fail:
20925 return NULL;
20926 }
20927
20928
20929 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20930 PyObject *resultobj;
20931 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20932 wxTreeItemId *arg2 = 0 ;
20933 wxString *arg3 = 0 ;
20934 bool temp3 = False ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 PyObject * obj2 = 0 ;
20938 char *kwnames[] = {
20939 (char *) "self",(char *) "item",(char *) "text", NULL
20940 };
20941
20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20945 if (arg2 == NULL) {
20946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20947 }
20948 {
20949 arg3 = wxString_in_helper(obj2);
20950 if (arg3 == NULL) SWIG_fail;
20951 temp3 = True;
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 Py_INCREF(Py_None); resultobj = Py_None;
20961 {
20962 if (temp3)
20963 delete arg3;
20964 }
20965 return resultobj;
20966 fail:
20967 {
20968 if (temp3)
20969 delete arg3;
20970 }
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20978 wxTreeItemId *arg2 = 0 ;
20979 int arg3 ;
20980 int arg4 = (int) wxTreeItemIcon_Normal ;
20981 PyObject * obj0 = 0 ;
20982 PyObject * obj1 = 0 ;
20983 char *kwnames[] = {
20984 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
20985 };
20986
20987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
20988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 if (arg2 == NULL) {
20991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20992 }
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
20996
20997 wxPyEndAllowThreads(__tstate);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 }
21000 Py_INCREF(Py_None); resultobj = Py_None;
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21010 wxTreeItemId *arg2 = 0 ;
21011 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 PyObject * obj2 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "self",(char *) "item",(char *) "data", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21022 if (arg2 == NULL) {
21023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21024 }
21025 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 Py_INCREF(Py_None); resultobj = Py_None;
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21043 wxTreeItemId *arg2 = 0 ;
21044 PyObject *arg3 = (PyObject *) 0 ;
21045 PyObject * obj0 = 0 ;
21046 PyObject * obj1 = 0 ;
21047 PyObject * obj2 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "item",(char *) "obj", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21055 if (arg2 == NULL) {
21056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21057 }
21058 arg3 = obj2;
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 Py_INCREF(Py_None); resultobj = Py_None;
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21076 wxTreeItemId *arg2 = 0 ;
21077 bool arg3 = (bool) True ;
21078 PyObject * obj0 = 0 ;
21079 PyObject * obj1 = 0 ;
21080 PyObject * obj2 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self",(char *) "item",(char *) "has", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21088 if (arg2 == NULL) {
21089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21090 }
21091 if (obj2) {
21092 arg3 = PyInt_AsLong(obj2) ? true : false;
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
21102 Py_INCREF(Py_None); resultobj = Py_None;
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj;
21111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21112 wxTreeItemId *arg2 = 0 ;
21113 bool arg3 = (bool) True ;
21114 PyObject * obj0 = 0 ;
21115 PyObject * obj1 = 0 ;
21116 PyObject * obj2 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self",(char *) "item",(char *) "bold", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21124 if (arg2 == NULL) {
21125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21126 }
21127 if (obj2) {
21128 arg3 = PyInt_AsLong(obj2) ? true : false;
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 Py_INCREF(Py_None); resultobj = Py_None;
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21148 wxTreeItemId *arg2 = 0 ;
21149 wxColour *arg3 = 0 ;
21150 wxColour temp3 ;
21151 PyObject * obj0 = 0 ;
21152 PyObject * obj1 = 0 ;
21153 PyObject * obj2 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self",(char *) "item",(char *) "col", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21161 if (arg2 == NULL) {
21162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21163 }
21164 {
21165 arg3 = &temp3;
21166 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21167 }
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 Py_INCREF(Py_None); resultobj = Py_None;
21176 return resultobj;
21177 fail:
21178 return NULL;
21179 }
21180
21181
21182 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21185 wxTreeItemId *arg2 = 0 ;
21186 wxColour *arg3 = 0 ;
21187 wxColour temp3 ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 PyObject * obj2 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "item",(char *) "col", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21198 if (arg2 == NULL) {
21199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21200 }
21201 {
21202 arg3 = &temp3;
21203 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21204 }
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 Py_INCREF(Py_None); resultobj = Py_None;
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21222 wxTreeItemId *arg2 = 0 ;
21223 wxFont *arg3 = 0 ;
21224 PyObject * obj0 = 0 ;
21225 PyObject * obj1 = 0 ;
21226 PyObject * obj2 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "item",(char *) "font", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21234 if (arg2 == NULL) {
21235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21236 }
21237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21238 if (arg3 == NULL) {
21239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21240 }
21241 {
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 Py_INCREF(Py_None); resultobj = Py_None;
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj;
21257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21258 wxTreeItemId *arg2 = 0 ;
21259 bool result;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "item", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21269 if (arg2 == NULL) {
21270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21271 }
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21275
21276 wxPyEndAllowThreads(__tstate);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 resultobj = PyInt_FromLong((long)result);
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21289 wxTreeItemId *arg2 = 0 ;
21290 bool result;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 char *kwnames[] = {
21294 (char *) "self",(char *) "item", NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if (arg2 == NULL) {
21301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21302 }
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 resultobj = PyInt_FromLong((long)result);
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21320 wxTreeItemId *arg2 = 0 ;
21321 bool result;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 char *kwnames[] = {
21325 (char *) "self",(char *) "item", NULL
21326 };
21327
21328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21331 if (arg2 == NULL) {
21332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 resultobj = PyInt_FromLong((long)result);
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21351 wxTreeItemId *arg2 = 0 ;
21352 bool result;
21353 PyObject * obj0 = 0 ;
21354 PyObject * obj1 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "item", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21362 if (arg2 == NULL) {
21363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21364 }
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21368
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 resultobj = PyInt_FromLong((long)result);
21373 return resultobj;
21374 fail:
21375 return NULL;
21376 }
21377
21378
21379 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21382 wxTreeItemId *arg2 = 0 ;
21383 bool result;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "item", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 if (arg2 == NULL) {
21394 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = PyInt_FromLong((long)result);
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21413 wxTreeItemId *arg2 = 0 ;
21414 bool arg3 = (bool) True ;
21415 size_t result;
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 PyObject * obj2 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "self",(char *) "item",(char *) "recursively", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 if (arg2 == NULL) {
21427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21428 }
21429 if (obj2) {
21430 arg3 = PyInt_AsLong(obj2) ? true : false;
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 resultobj = PyInt_FromLong((long)result);
21441 return resultobj;
21442 fail:
21443 return NULL;
21444 }
21445
21446
21447 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21450 wxTreeItemId result;
21451 PyObject * obj0 = 0 ;
21452 char *kwnames[] = {
21453 (char *) "self", NULL
21454 };
21455
21456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 wxTreeItemId * resultptr;
21467 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21469 }
21470 return resultobj;
21471 fail:
21472 return NULL;
21473 }
21474
21475
21476 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21479 wxTreeItemId result;
21480 PyObject * obj0 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "self", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 {
21495 wxTreeItemId * resultptr;
21496 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21497 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21498 }
21499 return resultobj;
21500 fail:
21501 return NULL;
21502 }
21503
21504
21505 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21508 PyObject *result;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = result;
21524 return resultobj;
21525 fail:
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21533 wxTreeItemId *arg2 = 0 ;
21534 wxTreeItemId result;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "item", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21544 if (arg2 == NULL) {
21545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 {
21555 wxTreeItemId * resultptr;
21556 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21557 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21568 wxTreeItemId *arg2 = 0 ;
21569 PyObject *result;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "item", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if (arg2 == NULL) {
21580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21581 }
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 resultobj = result;
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21599 wxTreeItemId *arg2 = 0 ;
21600 wxTreeItemIdValue *arg3 = 0 ;
21601 PyObject *result;
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 PyObject * obj2 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "item",(char *) "cookie", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21612 if (arg2 == NULL) {
21613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21614 }
21615 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 if (arg3 == NULL) {
21617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 resultobj = result;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21636 wxTreeItemId *arg2 = 0 ;
21637 wxTreeItemId result;
21638 PyObject * obj0 = 0 ;
21639 PyObject * obj1 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self",(char *) "item", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21647 if (arg2 == NULL) {
21648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21649 }
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 {
21658 wxTreeItemId * resultptr;
21659 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21661 }
21662 return resultobj;
21663 fail:
21664 return NULL;
21665 }
21666
21667
21668 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj;
21670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21671 wxTreeItemId *arg2 = 0 ;
21672 wxTreeItemId result;
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self",(char *) "item", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21682 if (arg2 == NULL) {
21683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21684 }
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 {
21693 wxTreeItemId * resultptr;
21694 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21695 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21696 }
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21706 wxTreeItemId *arg2 = 0 ;
21707 wxTreeItemId result;
21708 PyObject * obj0 = 0 ;
21709 PyObject * obj1 = 0 ;
21710 char *kwnames[] = {
21711 (char *) "self",(char *) "item", NULL
21712 };
21713
21714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 if (arg2 == NULL) {
21718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21719 }
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 {
21728 wxTreeItemId * resultptr;
21729 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21731 }
21732 return resultobj;
21733 fail:
21734 return NULL;
21735 }
21736
21737
21738 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21741 wxTreeItemId result;
21742 PyObject * obj0 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757 wxTreeItemId * resultptr;
21758 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21760 }
21761 return resultobj;
21762 fail:
21763 return NULL;
21764 }
21765
21766
21767 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21768 PyObject *resultobj;
21769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21770 wxTreeItemId *arg2 = 0 ;
21771 wxTreeItemId result;
21772 PyObject * obj0 = 0 ;
21773 PyObject * obj1 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self",(char *) "item", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21781 if (arg2 == NULL) {
21782 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 {
21792 wxTreeItemId * resultptr;
21793 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21795 }
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21805 wxTreeItemId *arg2 = 0 ;
21806 wxTreeItemId result;
21807 PyObject * obj0 = 0 ;
21808 PyObject * obj1 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "item", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
21814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21816 if (arg2 == NULL) {
21817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 {
21827 wxTreeItemId * resultptr;
21828 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21830 }
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21840 wxString *arg2 = 0 ;
21841 int arg3 = (int) -1 ;
21842 int arg4 = (int) -1 ;
21843 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
21844 wxTreeItemId result;
21845 bool temp2 = False ;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 PyObject * obj4 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21855 {
21856 arg2 = wxString_in_helper(obj1);
21857 if (arg2 == NULL) SWIG_fail;
21858 temp2 = True;
21859 }
21860 if (obj4) {
21861 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21862 }
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 {
21871 wxTreeItemId * resultptr;
21872 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21874 }
21875 {
21876 if (temp2)
21877 delete arg2;
21878 }
21879 return resultobj;
21880 fail:
21881 {
21882 if (temp2)
21883 delete arg2;
21884 }
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21892 wxTreeItemId *arg2 = 0 ;
21893 wxString *arg3 = 0 ;
21894 int arg4 = (int) -1 ;
21895 int arg5 = (int) -1 ;
21896 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
21897 wxTreeItemId result;
21898 bool temp3 = False ;
21899 PyObject * obj0 = 0 ;
21900 PyObject * obj1 = 0 ;
21901 PyObject * obj2 = 0 ;
21902 PyObject * obj5 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
21908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21910 if (arg2 == NULL) {
21911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21912 }
21913 {
21914 arg3 = wxString_in_helper(obj2);
21915 if (arg3 == NULL) SWIG_fail;
21916 temp3 = True;
21917 }
21918 if (obj5) {
21919 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 wxTreeItemId * resultptr;
21930 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21931 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21932 }
21933 {
21934 if (temp3)
21935 delete arg3;
21936 }
21937 return resultobj;
21938 fail:
21939 {
21940 if (temp3)
21941 delete arg3;
21942 }
21943 return NULL;
21944 }
21945
21946
21947 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21948 PyObject *resultobj;
21949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21950 wxTreeItemId *arg2 = 0 ;
21951 wxTreeItemId *arg3 = 0 ;
21952 wxString *arg4 = 0 ;
21953 int arg5 = (int) -1 ;
21954 int arg6 = (int) -1 ;
21955 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
21956 wxTreeItemId result;
21957 bool temp4 = False ;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 PyObject * obj2 = 0 ;
21961 PyObject * obj3 = 0 ;
21962 PyObject * obj6 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if (arg2 == NULL) {
21971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21972 }
21973 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21974 if (arg3 == NULL) {
21975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21976 }
21977 {
21978 arg4 = wxString_in_helper(obj3);
21979 if (arg4 == NULL) SWIG_fail;
21980 temp4 = True;
21981 }
21982 if (obj6) {
21983 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 {
21993 wxTreeItemId * resultptr;
21994 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21995 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21996 }
21997 {
21998 if (temp4)
21999 delete arg4;
22000 }
22001 return resultobj;
22002 fail:
22003 {
22004 if (temp4)
22005 delete arg4;
22006 }
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj;
22013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22014 wxTreeItemId *arg2 = 0 ;
22015 size_t arg3 ;
22016 wxString *arg4 = 0 ;
22017 int arg5 = (int) -1 ;
22018 int arg6 = (int) -1 ;
22019 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22020 wxTreeItemId result;
22021 bool temp4 = False ;
22022 PyObject * obj0 = 0 ;
22023 PyObject * obj1 = 0 ;
22024 PyObject * obj2 = 0 ;
22025 PyObject * obj3 = 0 ;
22026 PyObject * obj6 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 if (arg2 == NULL) {
22035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22036 }
22037 arg3 = (size_t) PyInt_AsLong(obj2);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 {
22040 arg4 = wxString_in_helper(obj3);
22041 if (arg4 == NULL) SWIG_fail;
22042 temp4 = True;
22043 }
22044 if (obj6) {
22045 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 }
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 {
22055 wxTreeItemId * resultptr;
22056 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22057 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22058 }
22059 {
22060 if (temp4)
22061 delete arg4;
22062 }
22063 return resultobj;
22064 fail:
22065 {
22066 if (temp4)
22067 delete arg4;
22068 }
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22076 wxTreeItemId *arg2 = 0 ;
22077 wxString *arg3 = 0 ;
22078 int arg4 = (int) -1 ;
22079 int arg5 = (int) -1 ;
22080 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22081 wxTreeItemId result;
22082 bool temp3 = False ;
22083 PyObject * obj0 = 0 ;
22084 PyObject * obj1 = 0 ;
22085 PyObject * obj2 = 0 ;
22086 PyObject * obj5 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22094 if (arg2 == NULL) {
22095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22096 }
22097 {
22098 arg3 = wxString_in_helper(obj2);
22099 if (arg3 == NULL) SWIG_fail;
22100 temp3 = True;
22101 }
22102 if (obj5) {
22103 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 }
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 {
22113 wxTreeItemId * resultptr;
22114 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22115 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22116 }
22117 {
22118 if (temp3)
22119 delete arg3;
22120 }
22121 return resultobj;
22122 fail:
22123 {
22124 if (temp3)
22125 delete arg3;
22126 }
22127 return NULL;
22128 }
22129
22130
22131 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj;
22133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22134 wxTreeItemId *arg2 = 0 ;
22135 PyObject * obj0 = 0 ;
22136 PyObject * obj1 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self",(char *) "item", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22144 if (arg2 == NULL) {
22145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22146 }
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 (arg1)->Delete((wxTreeItemId const &)*arg2);
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 Py_INCREF(Py_None); resultobj = Py_None;
22155 return resultobj;
22156 fail:
22157 return NULL;
22158 }
22159
22160
22161 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22162 PyObject *resultobj;
22163 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22164 wxTreeItemId *arg2 = 0 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 char *kwnames[] = {
22168 (char *) "self",(char *) "item", NULL
22169 };
22170
22171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22174 if (arg2 == NULL) {
22175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22176 }
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 Py_INCREF(Py_None); resultobj = Py_None;
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22194 PyObject * obj0 = 0 ;
22195 char *kwnames[] = {
22196 (char *) "self", NULL
22197 };
22198
22199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 (arg1)->DeleteAllItems();
22204
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 Py_INCREF(Py_None); resultobj = Py_None;
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22218 wxTreeItemId *arg2 = 0 ;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "item", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if (arg2 == NULL) {
22229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22230 }
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 (arg1)->Expand((wxTreeItemId const &)*arg2);
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 Py_INCREF(Py_None); resultobj = Py_None;
22239 return resultobj;
22240 fail:
22241 return NULL;
22242 }
22243
22244
22245 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22248 wxTreeItemId *arg2 = 0 ;
22249 PyObject * obj0 = 0 ;
22250 PyObject * obj1 = 0 ;
22251 char *kwnames[] = {
22252 (char *) "self",(char *) "item", NULL
22253 };
22254
22255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22258 if (arg2 == NULL) {
22259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 Py_INCREF(Py_None); resultobj = Py_None;
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22278 wxTreeItemId *arg2 = 0 ;
22279 PyObject * obj0 = 0 ;
22280 PyObject * obj1 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "item", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22288 if (arg2 == NULL) {
22289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22290 }
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 Py_INCREF(Py_None); resultobj = Py_None;
22299 return resultobj;
22300 fail:
22301 return NULL;
22302 }
22303
22304
22305 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj;
22307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22308 wxTreeItemId *arg2 = 0 ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "item", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22318 if (arg2 == NULL) {
22319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22320 }
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22324
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 Py_INCREF(Py_None); resultobj = Py_None;
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22338 PyObject * obj0 = 0 ;
22339 char *kwnames[] = {
22340 (char *) "self", NULL
22341 };
22342
22343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->Unselect();
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 Py_INCREF(Py_None); resultobj = Py_None;
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22362 PyObject * obj0 = 0 ;
22363 char *kwnames[] = {
22364 (char *) "self", NULL
22365 };
22366
22367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22369 {
22370 PyThreadState* __tstate = wxPyBeginAllowThreads();
22371 (arg1)->UnselectAll();
22372
22373 wxPyEndAllowThreads(__tstate);
22374 if (PyErr_Occurred()) SWIG_fail;
22375 }
22376 Py_INCREF(Py_None); resultobj = Py_None;
22377 return resultobj;
22378 fail:
22379 return NULL;
22380 }
22381
22382
22383 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22384 PyObject *resultobj;
22385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22386 wxTreeItemId *arg2 = 0 ;
22387 PyObject * obj0 = 0 ;
22388 PyObject * obj1 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self",(char *) "item", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22396 if (arg2 == NULL) {
22397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22398 }
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 Py_INCREF(Py_None); resultobj = Py_None;
22407 return resultobj;
22408 fail:
22409 return NULL;
22410 }
22411
22412
22413 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj;
22415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22416 wxTreeItemId *arg2 = 0 ;
22417 PyObject * obj0 = 0 ;
22418 PyObject * obj1 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self",(char *) "item", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22426 if (arg2 == NULL) {
22427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22428 }
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 Py_INCREF(Py_None); resultobj = Py_None;
22437 return resultobj;
22438 fail:
22439 return NULL;
22440 }
22441
22442
22443 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22444 PyObject *resultobj;
22445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22446 wxTreeItemId *arg2 = 0 ;
22447 PyObject * obj0 = 0 ;
22448 PyObject * obj1 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self",(char *) "item", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22456 if (arg2 == NULL) {
22457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22458 }
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 Py_INCREF(Py_None); resultobj = Py_None;
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj;
22475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22476 wxTreeItemId *arg2 = 0 ;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "item", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 if (arg2 == NULL) {
22487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 Py_INCREF(Py_None); resultobj = Py_None;
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22506 wxTextCtrl *result;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 resultobj = wxPyMake_wxObject(result);
22523 }
22524 return resultobj;
22525 fail:
22526 return NULL;
22527 }
22528
22529
22530 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22531 PyObject *resultobj;
22532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22533 wxTreeItemId *arg2 = 0 ;
22534 PyObject * obj0 = 0 ;
22535 PyObject * obj1 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self",(char *) "item", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22543 if (arg2 == NULL) {
22544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22545 }
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 Py_INCREF(Py_None); resultobj = Py_None;
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22563 wxPoint *arg2 = 0 ;
22564 int *arg3 = 0 ;
22565 wxTreeItemId result;
22566 wxPoint temp2 ;
22567 int temp3 ;
22568 PyObject * obj0 = 0 ;
22569 PyObject * obj1 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self",(char *) "point", NULL
22572 };
22573
22574 arg3 = &temp3;
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22577 {
22578 arg2 = &temp2;
22579 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22580 }
22581 {
22582 PyThreadState* __tstate = wxPyBeginAllowThreads();
22583 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22584
22585 wxPyEndAllowThreads(__tstate);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 }
22588 {
22589 wxTreeItemId * resultptr;
22590 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22592 }
22593 {
22594 PyObject *o = PyInt_FromLong((long) (*arg3));
22595 resultobj = t_output_helper(resultobj,o);
22596 }
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22606 wxTreeItemId *arg2 = 0 ;
22607 bool arg3 = (bool) False ;
22608 PyObject *result;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 PyObject * obj2 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 if (arg2 == NULL) {
22620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22621 }
22622 if (obj2) {
22623 arg3 = PyInt_AsLong(obj2) ? true : false;
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22629
22630 wxPyEndAllowThreads(__tstate);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
22633 resultobj = result;
22634 return resultobj;
22635 fail:
22636 return NULL;
22637 }
22638
22639
22640 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22641 PyObject *obj;
22642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22643 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22644 Py_INCREF(obj);
22645 return Py_BuildValue((char *)"");
22646 }
22647 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxWindow *arg1 = (wxWindow *) 0 ;
22650 int arg2 = (int) (int)-1 ;
22651 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22652 wxString *arg3 = (wxString *) &arg3_defvalue ;
22653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22655 wxSize const &arg5_defvalue = wxDefaultSize ;
22656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22657 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22658 wxString const &arg7_defvalue = wxPyEmptyString ;
22659 wxString *arg7 = (wxString *) &arg7_defvalue ;
22660 int arg8 = (int) 0 ;
22661 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22662 wxString *arg9 = (wxString *) &arg9_defvalue ;
22663 wxGenericDirCtrl *result;
22664 bool temp3 = False ;
22665 wxPoint temp4 ;
22666 wxSize temp5 ;
22667 bool temp7 = False ;
22668 bool temp9 = False ;
22669 PyObject * obj0 = 0 ;
22670 PyObject * obj2 = 0 ;
22671 PyObject * obj3 = 0 ;
22672 PyObject * obj4 = 0 ;
22673 PyObject * obj6 = 0 ;
22674 PyObject * obj8 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22681 if (obj2) {
22682 {
22683 arg3 = wxString_in_helper(obj2);
22684 if (arg3 == NULL) SWIG_fail;
22685 temp3 = True;
22686 }
22687 }
22688 if (obj3) {
22689 {
22690 arg4 = &temp4;
22691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22692 }
22693 }
22694 if (obj4) {
22695 {
22696 arg5 = &temp5;
22697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22698 }
22699 }
22700 if (obj6) {
22701 {
22702 arg7 = wxString_in_helper(obj6);
22703 if (arg7 == NULL) SWIG_fail;
22704 temp7 = True;
22705 }
22706 }
22707 if (obj8) {
22708 {
22709 arg9 = wxString_in_helper(obj8);
22710 if (arg9 == NULL) SWIG_fail;
22711 temp9 = True;
22712 }
22713 }
22714 {
22715 PyThreadState* __tstate = wxPyBeginAllowThreads();
22716 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22717
22718 wxPyEndAllowThreads(__tstate);
22719 if (PyErr_Occurred()) SWIG_fail;
22720 }
22721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22722 {
22723 if (temp3)
22724 delete arg3;
22725 }
22726 {
22727 if (temp7)
22728 delete arg7;
22729 }
22730 {
22731 if (temp9)
22732 delete arg9;
22733 }
22734 return resultobj;
22735 fail:
22736 {
22737 if (temp3)
22738 delete arg3;
22739 }
22740 {
22741 if (temp7)
22742 delete arg7;
22743 }
22744 {
22745 if (temp9)
22746 delete arg9;
22747 }
22748 return NULL;
22749 }
22750
22751
22752 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxGenericDirCtrl *result;
22755 char *kwnames[] = {
22756 NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22768 return resultobj;
22769 fail:
22770 return NULL;
22771 }
22772
22773
22774 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22775 PyObject *resultobj;
22776 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22777 wxWindow *arg2 = (wxWindow *) 0 ;
22778 int arg3 = (int) (int)-1 ;
22779 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22780 wxString *arg4 = (wxString *) &arg4_defvalue ;
22781 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22782 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22783 wxSize const &arg6_defvalue = wxDefaultSize ;
22784 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22785 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22786 wxString const &arg8_defvalue = wxPyEmptyString ;
22787 wxString *arg8 = (wxString *) &arg8_defvalue ;
22788 int arg9 = (int) 0 ;
22789 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
22790 wxString *arg10 = (wxString *) &arg10_defvalue ;
22791 bool result;
22792 bool temp4 = False ;
22793 wxPoint temp5 ;
22794 wxSize temp6 ;
22795 bool temp8 = False ;
22796 bool temp10 = False ;
22797 PyObject * obj0 = 0 ;
22798 PyObject * obj1 = 0 ;
22799 PyObject * obj3 = 0 ;
22800 PyObject * obj4 = 0 ;
22801 PyObject * obj5 = 0 ;
22802 PyObject * obj7 = 0 ;
22803 PyObject * obj9 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
22809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22811 if (obj3) {
22812 {
22813 arg4 = wxString_in_helper(obj3);
22814 if (arg4 == NULL) SWIG_fail;
22815 temp4 = True;
22816 }
22817 }
22818 if (obj4) {
22819 {
22820 arg5 = &temp5;
22821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22822 }
22823 }
22824 if (obj5) {
22825 {
22826 arg6 = &temp6;
22827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22828 }
22829 }
22830 if (obj7) {
22831 {
22832 arg8 = wxString_in_helper(obj7);
22833 if (arg8 == NULL) SWIG_fail;
22834 temp8 = True;
22835 }
22836 }
22837 if (obj9) {
22838 {
22839 arg10 = wxString_in_helper(obj9);
22840 if (arg10 == NULL) SWIG_fail;
22841 temp10 = True;
22842 }
22843 }
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 resultobj = PyInt_FromLong((long)result);
22852 {
22853 if (temp4)
22854 delete arg4;
22855 }
22856 {
22857 if (temp8)
22858 delete arg8;
22859 }
22860 {
22861 if (temp10)
22862 delete arg10;
22863 }
22864 return resultobj;
22865 fail:
22866 {
22867 if (temp4)
22868 delete arg4;
22869 }
22870 {
22871 if (temp8)
22872 delete arg8;
22873 }
22874 {
22875 if (temp10)
22876 delete arg10;
22877 }
22878 return NULL;
22879 }
22880
22881
22882 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22885 wxString *arg2 = 0 ;
22886 bool result;
22887 bool temp2 = False ;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 char *kwnames[] = {
22891 (char *) "self",(char *) "path", NULL
22892 };
22893
22894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
22895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22896 {
22897 arg2 = wxString_in_helper(obj1);
22898 if (arg2 == NULL) SWIG_fail;
22899 temp2 = True;
22900 }
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
22904
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 resultobj = PyInt_FromLong((long)result);
22909 {
22910 if (temp2)
22911 delete arg2;
22912 }
22913 return resultobj;
22914 fail:
22915 {
22916 if (temp2)
22917 delete arg2;
22918 }
22919 return NULL;
22920 }
22921
22922
22923 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22924 PyObject *resultobj;
22925 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22926 wxString result;
22927 PyObject * obj0 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 {
22942 #if wxUSE_UNICODE
22943 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22944 #else
22945 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22946 #endif
22947 }
22948 return resultobj;
22949 fail:
22950 return NULL;
22951 }
22952
22953
22954 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22955 PyObject *resultobj;
22956 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22957 wxString *arg2 = 0 ;
22958 bool temp2 = False ;
22959 PyObject * obj0 = 0 ;
22960 PyObject * obj1 = 0 ;
22961 char *kwnames[] = {
22962 (char *) "self",(char *) "path", NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
22966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22967 {
22968 arg2 = wxString_in_helper(obj1);
22969 if (arg2 == NULL) SWIG_fail;
22970 temp2 = True;
22971 }
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 (arg1)->SetDefaultPath((wxString const &)*arg2);
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 Py_INCREF(Py_None); resultobj = Py_None;
22980 {
22981 if (temp2)
22982 delete arg2;
22983 }
22984 return resultobj;
22985 fail:
22986 {
22987 if (temp2)
22988 delete arg2;
22989 }
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22997 wxString result;
22998 PyObject * obj0 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 {
23013 #if wxUSE_UNICODE
23014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23015 #else
23016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23017 #endif
23018 }
23019 return resultobj;
23020 fail:
23021 return NULL;
23022 }
23023
23024
23025 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23026 PyObject *resultobj;
23027 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23028 wxString result;
23029 PyObject * obj0 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "self", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 {
23044 #if wxUSE_UNICODE
23045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23046 #else
23047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23048 #endif
23049 }
23050 return resultobj;
23051 fail:
23052 return NULL;
23053 }
23054
23055
23056 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj;
23058 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23059 wxString *arg2 = 0 ;
23060 bool temp2 = False ;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "path", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 {
23070 arg2 = wxString_in_helper(obj1);
23071 if (arg2 == NULL) SWIG_fail;
23072 temp2 = True;
23073 }
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 (arg1)->SetPath((wxString const &)*arg2);
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 Py_INCREF(Py_None); resultobj = Py_None;
23082 {
23083 if (temp2)
23084 delete arg2;
23085 }
23086 return resultobj;
23087 fail:
23088 {
23089 if (temp2)
23090 delete arg2;
23091 }
23092 return NULL;
23093 }
23094
23095
23096 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj;
23098 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23099 bool arg2 ;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self",(char *) "show", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23108 arg2 = PyInt_AsLong(obj1) ? true : false;
23109 if (PyErr_Occurred()) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 (arg1)->ShowHidden(arg2);
23113
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 Py_INCREF(Py_None); resultobj = Py_None;
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj;
23126 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23127 bool result;
23128 PyObject * obj0 = 0 ;
23129 char *kwnames[] = {
23130 (char *) "self", NULL
23131 };
23132
23133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 result = (bool)(arg1)->GetShowHidden();
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 resultobj = PyInt_FromLong((long)result);
23143 return resultobj;
23144 fail:
23145 return NULL;
23146 }
23147
23148
23149 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23150 PyObject *resultobj;
23151 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23152 wxString result;
23153 PyObject * obj0 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self", NULL
23156 };
23157
23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 {
23168 #if wxUSE_UNICODE
23169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23170 #else
23171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23172 #endif
23173 }
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23183 wxString *arg2 = 0 ;
23184 bool temp2 = False ;
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "filter", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23193 {
23194 arg2 = wxString_in_helper(obj1);
23195 if (arg2 == NULL) SWIG_fail;
23196 temp2 = True;
23197 }
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->SetFilter((wxString const &)*arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 {
23207 if (temp2)
23208 delete arg2;
23209 }
23210 return resultobj;
23211 fail:
23212 {
23213 if (temp2)
23214 delete arg2;
23215 }
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23223 int result;
23224 PyObject * obj0 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 resultobj = PyInt_FromLong((long)result);
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj;
23247 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23248 int arg2 ;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self",(char *) "n", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23256 {
23257 PyThreadState* __tstate = wxPyBeginAllowThreads();
23258 (arg1)->SetFilterIndex(arg2);
23259
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 Py_INCREF(Py_None); resultobj = Py_None;
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23273 wxTreeItemId result;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (arg1)->GetRootId();
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 {
23289 wxTreeItemId * resultptr;
23290 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23291 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23302 wxTreeCtrl *result;
23303 PyObject * obj0 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 resultobj = wxPyMake_wxObject(result);
23319 }
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23329 wxDirFilterListCtrl *result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23337 {
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23340
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23345 return resultobj;
23346 fail:
23347 return NULL;
23348 }
23349
23350
23351 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23352 PyObject *resultobj;
23353 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23354 wxTreeItemId arg2 ;
23355 wxString *arg3 = 0 ;
23356 bool *arg4 = 0 ;
23357 wxTreeItemId result;
23358 wxTreeItemId *argp2 ;
23359 bool temp3 = False ;
23360 bool temp4 ;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 PyObject * obj2 = 0 ;
23364 char *kwnames[] = {
23365 (char *) "self",(char *) "parentId",(char *) "path", NULL
23366 };
23367
23368 arg4 = &temp4;
23369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23371 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23372 arg2 = *argp2;
23373 {
23374 arg3 = wxString_in_helper(obj2);
23375 if (arg3 == NULL) SWIG_fail;
23376 temp3 = True;
23377 }
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
23385 {
23386 wxTreeItemId * resultptr;
23387 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23388 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23389 }
23390 {
23391 PyObject *o = PyInt_FromLong((long) (*arg4));
23392 resultobj = t_output_helper(resultobj,o);
23393 }
23394 {
23395 if (temp3)
23396 delete arg3;
23397 }
23398 return resultobj;
23399 fail:
23400 {
23401 if (temp3)
23402 delete arg3;
23403 }
23404 return NULL;
23405 }
23406
23407
23408 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23409 PyObject *resultobj;
23410 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23411 PyObject * obj0 = 0 ;
23412 char *kwnames[] = {
23413 (char *) "self", NULL
23414 };
23415
23416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 (arg1)->DoResize();
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 Py_INCREF(Py_None); resultobj = Py_None;
23426 return resultobj;
23427 fail:
23428 return NULL;
23429 }
23430
23431
23432 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23433 PyObject *resultobj;
23434 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23435 PyObject * obj0 = 0 ;
23436 char *kwnames[] = {
23437 (char *) "self", NULL
23438 };
23439
23440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 (arg1)->ReCreateTree();
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 Py_INCREF(Py_None); resultobj = Py_None;
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23457 PyObject *obj;
23458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23459 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23460 Py_INCREF(obj);
23461 return Py_BuildValue((char *)"");
23462 }
23463 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23466 int arg2 = (int) (int)-1 ;
23467 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23468 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23469 wxSize const &arg4_defvalue = wxDefaultSize ;
23470 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23471 long arg5 = (long) 0 ;
23472 wxDirFilterListCtrl *result;
23473 wxPoint temp3 ;
23474 wxSize temp4 ;
23475 PyObject * obj0 = 0 ;
23476 PyObject * obj2 = 0 ;
23477 PyObject * obj3 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23484 if (obj2) {
23485 {
23486 arg3 = &temp3;
23487 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23488 }
23489 }
23490 if (obj3) {
23491 {
23492 arg4 = &temp4;
23493 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23494 }
23495 }
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23504 return resultobj;
23505 fail:
23506 return NULL;
23507 }
23508
23509
23510 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxDirFilterListCtrl *result;
23513 char *kwnames[] = {
23514 NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23526 return resultobj;
23527 fail:
23528 return NULL;
23529 }
23530
23531
23532 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj;
23534 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23535 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23536 int arg3 = (int) (int)-1 ;
23537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23539 wxSize const &arg5_defvalue = wxDefaultSize ;
23540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23541 long arg6 = (long) 0 ;
23542 bool result;
23543 wxPoint temp4 ;
23544 wxSize temp5 ;
23545 PyObject * obj0 = 0 ;
23546 PyObject * obj1 = 0 ;
23547 PyObject * obj3 = 0 ;
23548 PyObject * obj4 = 0 ;
23549 char *kwnames[] = {
23550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23551 };
23552
23553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23556 if (obj3) {
23557 {
23558 arg4 = &temp4;
23559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23560 }
23561 }
23562 if (obj4) {
23563 {
23564 arg5 = &temp5;
23565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23566 }
23567 }
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 resultobj = PyInt_FromLong((long)result);
23576 return resultobj;
23577 fail:
23578 return NULL;
23579 }
23580
23581
23582 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23585 wxString *arg2 = 0 ;
23586 int arg3 ;
23587 bool temp2 = False ;
23588 PyObject * obj0 = 0 ;
23589 PyObject * obj1 = 0 ;
23590 char *kwnames[] = {
23591 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23592 };
23593
23594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23596 {
23597 arg2 = wxString_in_helper(obj1);
23598 if (arg2 == NULL) SWIG_fail;
23599 temp2 = True;
23600 }
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 Py_INCREF(Py_None); resultobj = Py_None;
23609 {
23610 if (temp2)
23611 delete arg2;
23612 }
23613 return resultobj;
23614 fail:
23615 {
23616 if (temp2)
23617 delete arg2;
23618 }
23619 return NULL;
23620 }
23621
23622
23623 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23624 PyObject *obj;
23625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23626 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23627 Py_INCREF(obj);
23628 return Py_BuildValue((char *)"");
23629 }
23630 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23631 PyObject *resultobj;
23632 wxWindow *arg1 = (wxWindow *) 0 ;
23633 int arg2 ;
23634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23636 wxSize const &arg4_defvalue = wxDefaultSize ;
23637 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23638 long arg5 = (long) 0 ;
23639 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23640 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23641 wxString const &arg7_defvalue = wxPyControlNameStr ;
23642 wxString *arg7 = (wxString *) &arg7_defvalue ;
23643 wxPyControl *result;
23644 wxPoint temp3 ;
23645 wxSize temp4 ;
23646 bool temp7 = False ;
23647 PyObject * obj0 = 0 ;
23648 PyObject * obj2 = 0 ;
23649 PyObject * obj3 = 0 ;
23650 PyObject * obj5 = 0 ;
23651 PyObject * obj6 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23658 if (obj2) {
23659 {
23660 arg3 = &temp3;
23661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23662 }
23663 }
23664 if (obj3) {
23665 {
23666 arg4 = &temp4;
23667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23668 }
23669 }
23670 if (obj5) {
23671 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23672 if (arg6 == NULL) {
23673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23674 }
23675 }
23676 if (obj6) {
23677 {
23678 arg7 = wxString_in_helper(obj6);
23679 if (arg7 == NULL) SWIG_fail;
23680 temp7 = True;
23681 }
23682 }
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23691 {
23692 if (temp7)
23693 delete arg7;
23694 }
23695 return resultobj;
23696 fail:
23697 {
23698 if (temp7)
23699 delete arg7;
23700 }
23701 return NULL;
23702 }
23703
23704
23705 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxPyControl *arg1 = (wxPyControl *) 0 ;
23708 PyObject *arg2 = (PyObject *) 0 ;
23709 PyObject *arg3 = (PyObject *) 0 ;
23710 PyObject * obj0 = 0 ;
23711 PyObject * obj1 = 0 ;
23712 PyObject * obj2 = 0 ;
23713 char *kwnames[] = {
23714 (char *) "self",(char *) "self",(char *) "_class", NULL
23715 };
23716
23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23719 arg2 = obj1;
23720 arg3 = obj2;
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 (arg1)->_setCallbackInfo(arg2,arg3);
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 Py_INCREF(Py_None); resultobj = Py_None;
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23736 PyObject *resultobj;
23737 wxPyControl *arg1 = (wxPyControl *) 0 ;
23738 int arg2 ;
23739 int arg3 ;
23740 int arg4 ;
23741 int arg5 ;
23742 PyObject * obj0 = 0 ;
23743 char *kwnames[] = {
23744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23745 };
23746
23747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23749 {
23750 PyThreadState* __tstate = wxPyBeginAllowThreads();
23751 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23752
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 Py_INCREF(Py_None); resultobj = Py_None;
23757 return resultobj;
23758 fail:
23759 return NULL;
23760 }
23761
23762
23763 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23764 PyObject *resultobj;
23765 wxPyControl *arg1 = (wxPyControl *) 0 ;
23766 int arg2 ;
23767 int arg3 ;
23768 int arg4 ;
23769 int arg5 ;
23770 int arg6 = (int) wxSIZE_AUTO ;
23771 PyObject * obj0 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23778 {
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23781
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 Py_INCREF(Py_None); resultobj = Py_None;
23786 return resultobj;
23787 fail:
23788 return NULL;
23789 }
23790
23791
23792 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj;
23794 wxPyControl *arg1 = (wxPyControl *) 0 ;
23795 int arg2 ;
23796 int arg3 ;
23797 PyObject * obj0 = 0 ;
23798 char *kwnames[] = {
23799 (char *) "self",(char *) "width",(char *) "height", NULL
23800 };
23801
23802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->base_DoSetClientSize(arg2,arg3);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815 }
23816
23817
23818 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj;
23820 wxPyControl *arg1 = (wxPyControl *) 0 ;
23821 int arg2 ;
23822 int arg3 ;
23823 PyObject * obj0 = 0 ;
23824 char *kwnames[] = {
23825 (char *) "self",(char *) "x",(char *) "y", NULL
23826 };
23827
23828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 (arg1)->base_DoSetVirtualSize(arg2,arg3);
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 Py_INCREF(Py_None); resultobj = Py_None;
23838 return resultobj;
23839 fail:
23840 return NULL;
23841 }
23842
23843
23844 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23845 PyObject *resultobj;
23846 wxPyControl *arg1 = (wxPyControl *) 0 ;
23847 int *arg2 = (int *) 0 ;
23848 int *arg3 = (int *) 0 ;
23849 int temp2 ;
23850 int temp3 ;
23851 PyObject * obj0 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self", NULL
23854 };
23855
23856 arg2 = &temp2;
23857 arg3 = &temp3;
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 Py_INCREF(Py_None); resultobj = Py_None;
23868 {
23869 PyObject *o = PyInt_FromLong((long) (*arg2));
23870 resultobj = t_output_helper(resultobj,o);
23871 }
23872 {
23873 PyObject *o = PyInt_FromLong((long) (*arg3));
23874 resultobj = t_output_helper(resultobj,o);
23875 }
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxPyControl *arg1 = (wxPyControl *) 0 ;
23885 int *arg2 = (int *) 0 ;
23886 int *arg3 = (int *) 0 ;
23887 int temp2 ;
23888 int temp3 ;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 arg2 = &temp2;
23895 arg3 = &temp3;
23896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
23897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 Py_INCREF(Py_None); resultobj = Py_None;
23906 {
23907 PyObject *o = PyInt_FromLong((long) (*arg2));
23908 resultobj = t_output_helper(resultobj,o);
23909 }
23910 {
23911 PyObject *o = PyInt_FromLong((long) (*arg3));
23912 resultobj = t_output_helper(resultobj,o);
23913 }
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxPyControl *arg1 = (wxPyControl *) 0 ;
23923 int *arg2 = (int *) 0 ;
23924 int *arg3 = (int *) 0 ;
23925 int temp2 ;
23926 int temp3 ;
23927 PyObject * obj0 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "self", NULL
23930 };
23931
23932 arg2 = &temp2;
23933 arg3 = &temp3;
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 Py_INCREF(Py_None); resultobj = Py_None;
23944 {
23945 PyObject *o = PyInt_FromLong((long) (*arg2));
23946 resultobj = t_output_helper(resultobj,o);
23947 }
23948 {
23949 PyObject *o = PyInt_FromLong((long) (*arg3));
23950 resultobj = t_output_helper(resultobj,o);
23951 }
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPyControl *arg1 = (wxPyControl *) 0 ;
23961 wxSize result;
23962 PyObject * obj0 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
23968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
23972
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 {
23977 wxSize * resultptr;
23978 resultptr = new wxSize((wxSize &) result);
23979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
23980 }
23981 return resultobj;
23982 fail:
23983 return NULL;
23984 }
23985
23986
23987 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23988 PyObject *resultobj;
23989 wxPyControl *arg1 = (wxPyControl *) 0 ;
23990 wxSize result;
23991 PyObject * obj0 = 0 ;
23992 char *kwnames[] = {
23993 (char *) "self", NULL
23994 };
23995
23996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
23997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 {
24006 wxSize * resultptr;
24007 resultptr = new wxSize((wxSize &) result);
24008 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24009 }
24010 return resultobj;
24011 fail:
24012 return NULL;
24013 }
24014
24015
24016 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24017 PyObject *resultobj;
24018 wxPyControl *arg1 = (wxPyControl *) 0 ;
24019 PyObject * obj0 = 0 ;
24020 char *kwnames[] = {
24021 (char *) "self", NULL
24022 };
24023
24024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 (arg1)->base_InitDialog();
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 Py_INCREF(Py_None); resultobj = Py_None;
24034 return resultobj;
24035 fail:
24036 return NULL;
24037 }
24038
24039
24040 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxPyControl *arg1 = (wxPyControl *) 0 ;
24043 bool result;
24044 PyObject * obj0 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 result = (bool)(arg1)->base_TransferDataToWindow();
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = PyInt_FromLong((long)result);
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24066 PyObject *resultobj;
24067 wxPyControl *arg1 = (wxPyControl *) 0 ;
24068 bool result;
24069 PyObject * obj0 = 0 ;
24070 char *kwnames[] = {
24071 (char *) "self", NULL
24072 };
24073
24074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
24078 result = (bool)(arg1)->base_TransferDataFromWindow();
24079
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 resultobj = PyInt_FromLong((long)result);
24084 return resultobj;
24085 fail:
24086 return NULL;
24087 }
24088
24089
24090 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj;
24092 wxPyControl *arg1 = (wxPyControl *) 0 ;
24093 bool result;
24094 PyObject * obj0 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 result = (bool)(arg1)->base_Validate();
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = PyInt_FromLong((long)result);
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxPyControl *arg1 = (wxPyControl *) 0 ;
24118 bool result;
24119 PyObject * obj0 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24126 {
24127 PyThreadState* __tstate = wxPyBeginAllowThreads();
24128 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24129
24130 wxPyEndAllowThreads(__tstate);
24131 if (PyErr_Occurred()) SWIG_fail;
24132 }
24133 resultobj = PyInt_FromLong((long)result);
24134 return resultobj;
24135 fail:
24136 return NULL;
24137 }
24138
24139
24140 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24141 PyObject *resultobj;
24142 wxPyControl *arg1 = (wxPyControl *) 0 ;
24143 bool result;
24144 PyObject * obj0 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = PyInt_FromLong((long)result);
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxPyControl *arg1 = (wxPyControl *) 0 ;
24168 wxSize result;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 {
24184 wxSize * resultptr;
24185 resultptr = new wxSize((wxSize &) result);
24186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24187 }
24188 return resultobj;
24189 fail:
24190 return NULL;
24191 }
24192
24193
24194 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24195 PyObject *resultobj;
24196 wxPyControl *arg1 = (wxPyControl *) 0 ;
24197 wxWindow *arg2 = (wxWindow *) 0 ;
24198 PyObject * obj0 = 0 ;
24199 PyObject * obj1 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self",(char *) "child", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 (arg1)->base_AddChild(arg2);
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 Py_INCREF(Py_None); resultobj = Py_None;
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxPyControl *arg1 = (wxPyControl *) 0 ;
24224 wxWindow *arg2 = (wxWindow *) 0 ;
24225 PyObject * obj0 = 0 ;
24226 PyObject * obj1 = 0 ;
24227 char *kwnames[] = {
24228 (char *) "self",(char *) "child", NULL
24229 };
24230
24231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 (arg1)->base_RemoveChild(arg2);
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 Py_INCREF(Py_None); resultobj = Py_None;
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24249 PyObject *obj;
24250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24251 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24252 Py_INCREF(obj);
24253 return Py_BuildValue((char *)"");
24254 }
24255 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24258 int arg2 = (int) 0 ;
24259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24261 wxHelpEvent *result;
24262 wxPoint temp3 ;
24263 PyObject * obj2 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "type",(char *) "winid",(char *) "pt", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24269 if (obj2) {
24270 {
24271 arg3 = &temp3;
24272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24273 }
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24292 wxPoint *result;
24293 PyObject * obj0 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 {
24303 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24304 result = (wxPoint *) &_result_ref;
24305 }
24306
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24311 return resultobj;
24312 fail:
24313 return NULL;
24314 }
24315
24316
24317 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24318 PyObject *resultobj;
24319 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24320 wxPoint *arg2 = 0 ;
24321 wxPoint temp2 ;
24322 PyObject * obj0 = 0 ;
24323 PyObject * obj1 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "pos", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24330 {
24331 arg2 = &temp2;
24332 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24333 }
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 (arg1)->SetPosition((wxPoint const &)*arg2);
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 Py_INCREF(Py_None); resultobj = Py_None;
24342 return resultobj;
24343 fail:
24344 return NULL;
24345 }
24346
24347
24348 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj;
24350 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24351 wxString *result;
24352 PyObject * obj0 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 {
24362 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24363 result = (wxString *) &_result_ref;
24364 }
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24370 return resultobj;
24371 fail:
24372 return NULL;
24373 }
24374
24375
24376 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24379 wxString *arg2 = 0 ;
24380 bool temp2 = False ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self",(char *) "link", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24389 {
24390 arg2 = wxString_in_helper(obj1);
24391 if (arg2 == NULL) SWIG_fail;
24392 temp2 = True;
24393 }
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->SetLink((wxString const &)*arg2);
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 Py_INCREF(Py_None); resultobj = Py_None;
24402 {
24403 if (temp2)
24404 delete arg2;
24405 }
24406 return resultobj;
24407 fail:
24408 {
24409 if (temp2)
24410 delete arg2;
24411 }
24412 return NULL;
24413 }
24414
24415
24416 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj;
24418 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24419 wxString *result;
24420 PyObject * obj0 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "self", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 {
24430 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24431 result = (wxString *) &_result_ref;
24432 }
24433
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24438 return resultobj;
24439 fail:
24440 return NULL;
24441 }
24442
24443
24444 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj;
24446 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24447 wxString *arg2 = 0 ;
24448 bool temp2 = False ;
24449 PyObject * obj0 = 0 ;
24450 PyObject * obj1 = 0 ;
24451 char *kwnames[] = {
24452 (char *) "self",(char *) "target", NULL
24453 };
24454
24455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24457 {
24458 arg2 = wxString_in_helper(obj1);
24459 if (arg2 == NULL) SWIG_fail;
24460 temp2 = True;
24461 }
24462 {
24463 PyThreadState* __tstate = wxPyBeginAllowThreads();
24464 (arg1)->SetTarget((wxString const &)*arg2);
24465
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 Py_INCREF(Py_None); resultobj = Py_None;
24470 {
24471 if (temp2)
24472 delete arg2;
24473 }
24474 return resultobj;
24475 fail:
24476 {
24477 if (temp2)
24478 delete arg2;
24479 }
24480 return NULL;
24481 }
24482
24483
24484 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24485 PyObject *obj;
24486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24487 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24488 Py_INCREF(obj);
24489 return Py_BuildValue((char *)"");
24490 }
24491 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 wxWindow *arg1 = (wxWindow *) NULL ;
24494 bool arg2 = (bool) True ;
24495 wxContextHelp *result;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "window",(char *) "doNow", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24503 if (obj0) {
24504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24505 }
24506 if (obj1) {
24507 arg2 = PyInt_AsLong(obj1) ? true : false;
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24518 return resultobj;
24519 fail:
24520 return NULL;
24521 }
24522
24523
24524 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24525 PyObject *resultobj;
24526 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 delete arg1;
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 Py_INCREF(Py_None); resultobj = Py_None;
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj;
24550 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24551 wxWindow *arg2 = (wxWindow *) NULL ;
24552 bool result;
24553 PyObject * obj0 = 0 ;
24554 PyObject * obj1 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self",(char *) "window", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24561 if (obj1) {
24562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24563 }
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 result = (bool)(arg1)->BeginContextHelp(arg2);
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 resultobj = PyInt_FromLong((long)result);
24572 return resultobj;
24573 fail:
24574 return NULL;
24575 }
24576
24577
24578 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24581 bool result;
24582 PyObject * obj0 = 0 ;
24583 char *kwnames[] = {
24584 (char *) "self", NULL
24585 };
24586
24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 result = (bool)(arg1)->EndContextHelp();
24592
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 resultobj = PyInt_FromLong((long)result);
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24604 PyObject *obj;
24605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24606 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24607 Py_INCREF(obj);
24608 return Py_BuildValue((char *)"");
24609 }
24610 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxWindow *arg1 = (wxWindow *) 0 ;
24613 int arg2 = (int) wxID_CONTEXT_HELP ;
24614 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24615 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24616 wxSize const &arg4_defvalue = wxDefaultSize ;
24617 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24618 long arg5 = (long) wxBU_AUTODRAW ;
24619 wxContextHelpButton *result;
24620 wxPoint temp3 ;
24621 wxSize temp4 ;
24622 PyObject * obj0 = 0 ;
24623 PyObject * obj2 = 0 ;
24624 PyObject * obj3 = 0 ;
24625 char *kwnames[] = {
24626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24631 if (obj2) {
24632 {
24633 arg3 = &temp3;
24634 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24635 }
24636 }
24637 if (obj3) {
24638 {
24639 arg4 = &temp4;
24640 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24641 }
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24658 PyObject *obj;
24659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24660 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24661 Py_INCREF(obj);
24662 return Py_BuildValue((char *)"");
24663 }
24664 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24665 PyObject *resultobj;
24666 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24667 wxHelpProvider *result;
24668 PyObject * obj0 = 0 ;
24669 char *kwnames[] = {
24670 (char *) "helpProvider", NULL
24671 };
24672
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24683 return resultobj;
24684 fail:
24685 return NULL;
24686 }
24687
24688
24689 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj;
24691 wxHelpProvider *result;
24692 char *kwnames[] = {
24693 NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = (wxHelpProvider *)wxHelpProvider::Get();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24714 wxWindow *arg2 = (wxWindow *) 0 ;
24715 wxString result;
24716 PyObject * obj0 = 0 ;
24717 PyObject * obj1 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self",(char *) "window", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (arg1)->GetHelp((wxWindow const *)arg2);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 {
24733 #if wxUSE_UNICODE
24734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24735 #else
24736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24737 #endif
24738 }
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj;
24747 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24748 wxWindow *arg2 = (wxWindow *) 0 ;
24749 bool result;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "window", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 result = (bool)(arg1)->ShowHelp(arg2);
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 resultobj = PyInt_FromLong((long)result);
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj;
24775 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24776 wxWindow *arg2 = (wxWindow *) 0 ;
24777 wxString *arg3 = 0 ;
24778 bool temp3 = False ;
24779 PyObject * obj0 = 0 ;
24780 PyObject * obj1 = 0 ;
24781 PyObject * obj2 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self",(char *) "window",(char *) "text", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
24787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24789 {
24790 arg3 = wxString_in_helper(obj2);
24791 if (arg3 == NULL) SWIG_fail;
24792 temp3 = True;
24793 }
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24797
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 Py_INCREF(Py_None); resultobj = Py_None;
24802 {
24803 if (temp3)
24804 delete arg3;
24805 }
24806 return resultobj;
24807 fail:
24808 {
24809 if (temp3)
24810 delete arg3;
24811 }
24812 return NULL;
24813 }
24814
24815
24816 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
24817 PyObject *resultobj;
24818 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24819 int arg2 ;
24820 wxString *arg3 = 0 ;
24821 bool temp3 = False ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj2 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "id",(char *) "text", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 {
24831 arg3 = wxString_in_helper(obj2);
24832 if (arg3 == NULL) SWIG_fail;
24833 temp3 = True;
24834 }
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 Py_INCREF(Py_None); resultobj = Py_None;
24843 {
24844 if (temp3)
24845 delete arg3;
24846 }
24847 return resultobj;
24848 fail:
24849 {
24850 if (temp3)
24851 delete arg3;
24852 }
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
24866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 wxHelpProvider_Destroy(arg1);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
24882 PyObject *obj;
24883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24884 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
24885 Py_INCREF(obj);
24886 return Py_BuildValue((char *)"");
24887 }
24888 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxSimpleHelpProvider *result;
24891 char *kwnames[] = {
24892 NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
24911 PyObject *obj;
24912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24913 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
24914 Py_INCREF(obj);
24915 return Py_BuildValue((char *)"");
24916 }
24917 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24918 PyObject *resultobj;
24919 wxBitmap *arg1 = 0 ;
24920 wxCursor const &arg2_defvalue = wxNullCursor ;
24921 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24922 wxGenericDragImage *result;
24923 PyObject * obj0 = 0 ;
24924 PyObject * obj1 = 0 ;
24925 char *kwnames[] = {
24926 (char *) "image",(char *) "cursor", NULL
24927 };
24928
24929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
24930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24931 if (arg1 == NULL) {
24932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24933 }
24934 if (obj1) {
24935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24936 if (arg2 == NULL) {
24937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24938 }
24939 }
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
24948 return resultobj;
24949 fail:
24950 return NULL;
24951 }
24952
24953
24954 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj;
24956 wxIcon *arg1 = 0 ;
24957 wxCursor const &arg2_defvalue = wxNullCursor ;
24958 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24959 wxGenericDragImage *result;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "image",(char *) "cursor", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
24967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24968 if (arg1 == NULL) {
24969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24970 }
24971 if (obj1) {
24972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24973 if (arg2 == NULL) {
24974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24975 }
24976 }
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxString *arg1 = 0 ;
24994 wxCursor const &arg2_defvalue = wxNullCursor ;
24995 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24996 wxGenericDragImage *result;
24997 bool temp1 = False ;
24998 PyObject * obj0 = 0 ;
24999 PyObject * obj1 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "str",(char *) "cursor", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25005 {
25006 arg1 = wxString_in_helper(obj0);
25007 if (arg1 == NULL) SWIG_fail;
25008 temp1 = True;
25009 }
25010 if (obj1) {
25011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25012 if (arg2 == NULL) {
25013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25014 }
25015 }
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25019
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25024 {
25025 if (temp1)
25026 delete arg1;
25027 }
25028 return resultobj;
25029 fail:
25030 {
25031 if (temp1)
25032 delete arg1;
25033 }
25034 return NULL;
25035 }
25036
25037
25038 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25039 PyObject *resultobj;
25040 wxPyTreeCtrl *arg1 = 0 ;
25041 wxTreeItemId *arg2 = 0 ;
25042 wxGenericDragImage *result;
25043 PyObject * obj0 = 0 ;
25044 PyObject * obj1 = 0 ;
25045 char *kwnames[] = {
25046 (char *) "treeCtrl",(char *) "id", NULL
25047 };
25048
25049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25051 if (arg1 == NULL) {
25052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25053 }
25054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25055 if (arg2 == NULL) {
25056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25057 }
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxPyListCtrl *arg1 = 0 ;
25075 long arg2 ;
25076 wxGenericDragImage *result;
25077 PyObject * obj0 = 0 ;
25078 char *kwnames[] = {
25079 (char *) "listCtrl",(char *) "id", NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25084 if (arg1 == NULL) {
25085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25086 }
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25104 PyObject * obj0 = 0 ;
25105 char *kwnames[] = {
25106 (char *) "self", NULL
25107 };
25108
25109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 delete arg1;
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122 }
25123
25124
25125 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25128 wxBitmap *arg2 = (wxBitmap *) 0 ;
25129 PyObject * obj0 = 0 ;
25130 PyObject * obj1 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self",(char *) "bitmap", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 (arg1)->SetBackingBitmap(arg2);
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 Py_INCREF(Py_None); resultobj = Py_None;
25146 return resultobj;
25147 fail:
25148 return NULL;
25149 }
25150
25151
25152 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25153 PyObject *resultobj;
25154 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25155 wxPoint *arg2 = 0 ;
25156 wxWindow *arg3 = (wxWindow *) 0 ;
25157 bool arg4 = (bool) False ;
25158 wxRect *arg5 = (wxRect *) NULL ;
25159 bool result;
25160 wxPoint temp2 ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 PyObject * obj2 = 0 ;
25164 PyObject * obj3 = 0 ;
25165 PyObject * obj4 = 0 ;
25166 char *kwnames[] = {
25167 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25168 };
25169
25170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25172 {
25173 arg2 = &temp2;
25174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25175 }
25176 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25177 if (obj3) {
25178 arg4 = PyInt_AsLong(obj3) ? true : false;
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 if (obj4) {
25182 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25183 }
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 resultobj = PyInt_FromLong((long)result);
25192 return resultobj;
25193 fail:
25194 return NULL;
25195 }
25196
25197
25198 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25201 wxPoint *arg2 = 0 ;
25202 wxWindow *arg3 = (wxWindow *) 0 ;
25203 wxWindow *arg4 = (wxWindow *) 0 ;
25204 bool result;
25205 wxPoint temp2 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 PyObject * obj2 = 0 ;
25209 PyObject * obj3 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 {
25217 arg2 = &temp2;
25218 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25219 }
25220 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25221 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25225
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 resultobj = PyInt_FromLong((long)result);
25230 return resultobj;
25231 fail:
25232 return NULL;
25233 }
25234
25235
25236 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25237 PyObject *resultobj;
25238 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25239 bool result;
25240 PyObject * obj0 = 0 ;
25241 char *kwnames[] = {
25242 (char *) "self", NULL
25243 };
25244
25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 result = (bool)(arg1)->EndDrag();
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 resultobj = PyInt_FromLong((long)result);
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25264 wxPoint *arg2 = 0 ;
25265 bool result;
25266 wxPoint temp2 ;
25267 PyObject * obj0 = 0 ;
25268 PyObject * obj1 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "pt", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25275 {
25276 arg2 = &temp2;
25277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25278 }
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25282
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 resultobj = PyInt_FromLong((long)result);
25287 return resultobj;
25288 fail:
25289 return NULL;
25290 }
25291
25292
25293 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25296 bool result;
25297 PyObject * obj0 = 0 ;
25298 char *kwnames[] = {
25299 (char *) "self", NULL
25300 };
25301
25302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 result = (bool)(arg1)->Show();
25307
25308 wxPyEndAllowThreads(__tstate);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 resultobj = PyInt_FromLong((long)result);
25312 return resultobj;
25313 fail:
25314 return NULL;
25315 }
25316
25317
25318 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25319 PyObject *resultobj;
25320 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25321 bool result;
25322 PyObject * obj0 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = (bool)(arg1)->Hide();
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 resultobj = PyInt_FromLong((long)result);
25337 return resultobj;
25338 fail:
25339 return NULL;
25340 }
25341
25342
25343 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25346 wxPoint *arg2 = 0 ;
25347 wxRect result;
25348 wxPoint temp2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "pos", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25357 {
25358 arg2 = &temp2;
25359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25360 }
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 {
25369 wxRect * resultptr;
25370 resultptr = new wxRect((wxRect &) result);
25371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25372 }
25373 return resultobj;
25374 fail:
25375 return NULL;
25376 }
25377
25378
25379 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj;
25381 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25382 wxDC *arg2 = 0 ;
25383 wxPoint *arg3 = 0 ;
25384 bool result;
25385 wxPoint temp3 ;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 PyObject * obj2 = 0 ;
25389 char *kwnames[] = {
25390 (char *) "self",(char *) "dc",(char *) "pos", NULL
25391 };
25392
25393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25396 if (arg2 == NULL) {
25397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25398 }
25399 {
25400 arg3 = &temp3;
25401 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25402 }
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 resultobj = PyInt_FromLong((long)result);
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25420 wxDC *arg2 = 0 ;
25421 wxMemoryDC *arg3 = 0 ;
25422 wxRect *arg4 = 0 ;
25423 wxRect *arg5 = 0 ;
25424 bool result;
25425 wxRect temp4 ;
25426 wxRect temp5 ;
25427 PyObject * obj0 = 0 ;
25428 PyObject * obj1 = 0 ;
25429 PyObject * obj2 = 0 ;
25430 PyObject * obj3 = 0 ;
25431 PyObject * obj4 = 0 ;
25432 char *kwnames[] = {
25433 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25434 };
25435
25436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25439 if (arg2 == NULL) {
25440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25441 }
25442 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25443 if (arg3 == NULL) {
25444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25445 }
25446 {
25447 arg4 = &temp4;
25448 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25449 }
25450 {
25451 arg5 = &temp5;
25452 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25453 }
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 resultobj = PyInt_FromLong((long)result);
25462 return resultobj;
25463 fail:
25464 return NULL;
25465 }
25466
25467
25468 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25469 PyObject *resultobj;
25470 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25471 wxPoint *arg2 = 0 ;
25472 wxPoint *arg3 = 0 ;
25473 bool arg4 ;
25474 bool arg5 ;
25475 bool result;
25476 wxPoint temp2 ;
25477 wxPoint temp3 ;
25478 PyObject * obj0 = 0 ;
25479 PyObject * obj1 = 0 ;
25480 PyObject * obj2 = 0 ;
25481 PyObject * obj3 = 0 ;
25482 PyObject * obj4 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25489 {
25490 arg2 = &temp2;
25491 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25492 }
25493 {
25494 arg3 = &temp3;
25495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25496 }
25497 arg4 = PyInt_AsLong(obj3) ? true : false;
25498 if (PyErr_Occurred()) SWIG_fail;
25499 arg5 = PyInt_AsLong(obj4) ? true : false;
25500 if (PyErr_Occurred()) SWIG_fail;
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = PyInt_FromLong((long)result);
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25516 PyObject *obj;
25517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25518 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25519 Py_INCREF(obj);
25520 return Py_BuildValue((char *)"");
25521 }
25522 static PyMethodDef SwigMethods[] = {
25523 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25529 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25544 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25555 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25564 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25581 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25594 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25598 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25604 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25608 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25615 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25634 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25642 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25643 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25671 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25724 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25729 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25730 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25738 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25739 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25740 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25752 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25763 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25780 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25786 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25811 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25814 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25834 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25840 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25849 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25851 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25856 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25858 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25863 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25868 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25898 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25940 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
25945 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
25957 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26009 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26036 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26105 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26117 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26125 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26132 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26147 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26219 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26241 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26246 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26267 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26275 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26280 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26282 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26290 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26292 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26310 { NULL, NULL }
26311 };
26312
26313
26314 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26315
26316 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26317 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26318 }
26319 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26320 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26321 }
26322 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26323 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26324 }
26325 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26326 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26327 }
26328 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26329 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26330 }
26331 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26332 return (void *)((wxSizer *) ((wxGridSizer *) x));
26333 }
26334 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26335 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26336 }
26337 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26338 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26339 }
26340 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26341 return (void *)((wxSizer *) ((wxPySizer *) x));
26342 }
26343 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26344 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26345 }
26346 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26347 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26348 }
26349 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26350 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26351 }
26352 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26353 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26354 }
26355 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26356 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26357 }
26358 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26359 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26360 }
26361 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26362 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26363 }
26364 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26365 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26366 }
26367 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26368 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26369 }
26370 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26371 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26372 }
26373 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26374 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26375 }
26376 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26377 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26378 }
26379 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26380 return (void *)((wxEvent *) ((wxPyEvent *) x));
26381 }
26382 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26384 }
26385 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26386 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26387 }
26388 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26389 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26390 }
26391 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26392 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26393 }
26394 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26396 }
26397 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26398 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26399 }
26400 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26402 }
26403 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26404 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26405 }
26406 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26407 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26408 }
26409 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26410 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26411 }
26412 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26413 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26414 }
26415 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26416 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26417 }
26418 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26419 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26420 }
26421 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26422 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26423 }
26424 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26425 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26426 }
26427 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26429 }
26430 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26431 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26432 }
26433 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26434 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26435 }
26436 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26437 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26438 }
26439 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26440 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26441 }
26442 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26443 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26444 }
26445 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26446 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26447 }
26448 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26449 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26450 }
26451 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26452 return (void *)((wxEvent *) ((wxShowEvent *) x));
26453 }
26454 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26455 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26456 }
26457 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26458 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26459 }
26460 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26461 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26462 }
26463 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26464 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26465 }
26466 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26467 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26468 }
26469 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26470 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26471 }
26472 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26473 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26474 }
26475 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26476 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26477 }
26478 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26479 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26480 }
26481 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26482 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26483 }
26484 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26485 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26486 }
26487 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26488 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26489 }
26490 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26491 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26492 }
26493 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26494 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26495 }
26496 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26497 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26498 }
26499 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26500 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26501 }
26502 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26503 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26504 }
26505 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26506 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26507 }
26508 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26509 return (void *)((wxControl *) ((wxComboBox *) x));
26510 }
26511 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26512 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26513 }
26514 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26515 return (void *)((wxControl *) ((wxStaticBox *) x));
26516 }
26517 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26518 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26519 }
26520 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26521 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26522 }
26523 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26524 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26525 }
26526 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26527 return (void *)((wxControl *) ((wxScrollBar *) x));
26528 }
26529 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26530 return (void *)((wxControl *) ((wxBookCtrl *) x));
26531 }
26532 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26533 return (void *)((wxControl *) ((wxRadioButton *) x));
26534 }
26535 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26536 return (void *)((wxControl *) ((wxToggleButton *) x));
26537 }
26538 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26539 return (void *)((wxControl *) ((wxGauge *) x));
26540 }
26541 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26542 return (void *)((wxControl *) ((wxToolBarBase *) x));
26543 }
26544 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26545 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26546 }
26547 static void *_p_wxButtonTo_p_wxControl(void *x) {
26548 return (void *)((wxControl *) ((wxButton *) x));
26549 }
26550 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26551 return (void *)((wxControl *) ((wxSpinButton *) x));
26552 }
26553 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26554 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26555 }
26556 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26557 return (void *)((wxControl *) ((wxControlWithItems *) x));
26558 }
26559 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26560 return (void *)((wxControl *) ((wxRadioBox *) x));
26561 }
26562 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26563 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26564 }
26565 static void *_p_wxListbookTo_p_wxControl(void *x) {
26566 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26567 }
26568 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26569 return (void *)((wxControl *) ((wxCheckBox *) x));
26570 }
26571 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26572 return (void *)((wxControl *) ((wxTextCtrl *) x));
26573 }
26574 static void *_p_wxListViewTo_p_wxControl(void *x) {
26575 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26576 }
26577 static void *_p_wxSliderTo_p_wxControl(void *x) {
26578 return (void *)((wxControl *) ((wxSlider *) x));
26579 }
26580 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26581 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26582 }
26583 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26584 return (void *)((wxControl *) ((wxPyControl *) x));
26585 }
26586 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26587 return (void *)((wxControl *) ((wxStaticLine *) x));
26588 }
26589 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26590 return (void *)((wxControl *) ((wxStaticText *) x));
26591 }
26592 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26593 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26594 }
26595 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26596 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26597 }
26598 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26599 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26600 }
26601 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26602 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26603 }
26604 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26605 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26606 }
26607 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26608 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26609 }
26610 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26611 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26612 }
26613 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26614 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26615 }
26616 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26617 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26618 }
26619 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26620 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26621 }
26622 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26623 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26624 }
26625 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26626 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26627 }
26628 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26629 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26630 }
26631 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26632 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26633 }
26634 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26635 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26636 }
26637 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26638 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26639 }
26640 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26641 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26642 }
26643 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26644 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26645 }
26646 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26647 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26648 }
26649 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26650 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26651 }
26652 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26653 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26654 }
26655 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26656 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26657 }
26658 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26659 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26660 }
26661 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26662 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26663 }
26664 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26665 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26666 }
26667 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26668 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26669 }
26670 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26672 }
26673 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26674 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26675 }
26676 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26678 }
26679 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26681 }
26682 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26684 }
26685 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26686 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26687 }
26688 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26689 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26690 }
26691 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26692 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26693 }
26694 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26695 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26696 }
26697 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26699 }
26700 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26701 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26702 }
26703 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26704 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26705 }
26706 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26708 }
26709 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26710 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26711 }
26712 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26714 }
26715 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26716 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26717 }
26718 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26719 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26720 }
26721 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26722 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26723 }
26724 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26725 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26726 }
26727 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26729 }
26730 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26731 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26732 }
26733 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26734 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26735 }
26736 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26737 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26738 }
26739 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26740 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26741 }
26742 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26743 return (void *)((wxButton *) ((wxBitmapButton *) x));
26744 }
26745 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26746 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26747 }
26748 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26749 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26750 }
26751 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26752 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26753 }
26754 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26755 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26756 }
26757 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26758 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26759 }
26760 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26761 return (void *)((wxObject *) ((wxSizerItem *) x));
26762 }
26763 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26765 }
26766 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26767 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26768 }
26769 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26771 }
26772 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26774 }
26775 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26776 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26777 }
26778 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26779 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26780 }
26781 static void *_p_wxSizerTo_p_wxObject(void *x) {
26782 return (void *)((wxObject *) ((wxSizer *) x));
26783 }
26784 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26785 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26786 }
26787 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26789 }
26790 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26792 }
26793 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26795 }
26796 static void *_p_wxEventTo_p_wxObject(void *x) {
26797 return (void *)((wxObject *) ((wxEvent *) x));
26798 }
26799 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26800 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26801 }
26802 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26803 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26804 }
26805 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26806 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26807 }
26808 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26810 }
26811 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26813 }
26814 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26816 }
26817 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26818 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26819 }
26820 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26821 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26822 }
26823 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26824 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26825 }
26826 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26827 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26828 }
26829 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26830 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26831 }
26832 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26833 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26834 }
26835 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26837 }
26838 static void *_p_wxControlTo_p_wxObject(void *x) {
26839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26840 }
26841 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26843 }
26844 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26846 }
26847 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26849 }
26850 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26852 }
26853 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26855 }
26856 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26857 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26858 }
26859 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26861 }
26862 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26863 return (void *)((wxObject *) ((wxFSFile *) x));
26864 }
26865 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26866 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26867 }
26868 static void *_p_wxListViewTo_p_wxObject(void *x) {
26869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26870 }
26871 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26873 }
26874 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26876 }
26877 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26878 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26879 }
26880 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26882 }
26883 static void *_p_wxListbookTo_p_wxObject(void *x) {
26884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26885 }
26886 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26887 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26888 }
26889 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26891 }
26892 static void *_p_wxSliderTo_p_wxObject(void *x) {
26893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26894 }
26895 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26896 return (void *)((wxObject *) ((wxMenuItem *) x));
26897 }
26898 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26899 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26900 }
26901 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26903 }
26904 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26905 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26906 }
26907 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26908 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26909 }
26910 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26911 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26912 }
26913 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26914 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26915 }
26916 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26917 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26918 }
26919 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26920 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26921 }
26922 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26924 }
26925 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26926 return (void *)((wxObject *) ((wxContextHelp *) x));
26927 }
26928 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26929 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26930 }
26931 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26932 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26933 }
26934 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26935 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26936 }
26937 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26938 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26939 }
26940 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26941 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26942 }
26943 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26944 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26945 }
26946 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26947 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26948 }
26949 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26950 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26951 }
26952 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26953 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26954 }
26955 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26956 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26957 }
26958 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26959 return (void *)((wxObject *) ((wxImageHandler *) x));
26960 }
26961 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26962 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26963 }
26964 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26965 return (void *)((wxObject *) ((wxEvtHandler *) x));
26966 }
26967 static void *_p_wxListEventTo_p_wxObject(void *x) {
26968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26969 }
26970 static void *_p_wxListBoxTo_p_wxObject(void *x) {
26971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26972 }
26973 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
26974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26975 }
26976 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
26977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26978 }
26979 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
26980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26981 }
26982 static void *_p_wxButtonTo_p_wxObject(void *x) {
26983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
26984 }
26985 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
26986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
26987 }
26988 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
26989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26990 }
26991 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
26992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
26993 }
26994 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
26995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
26996 }
26997 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
26998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
26999 }
27000 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27001 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27002 }
27003 static void *_p_wxListItemTo_p_wxObject(void *x) {
27004 return (void *)((wxObject *) ((wxListItem *) x));
27005 }
27006 static void *_p_wxImageTo_p_wxObject(void *x) {
27007 return (void *)((wxObject *) ((wxImage *) x));
27008 }
27009 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27010 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27011 }
27012 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27013 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27014 }
27015 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27016 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27017 }
27018 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27020 }
27021 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27023 }
27024 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27026 }
27027 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27029 }
27030 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27031 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27032 }
27033 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27034 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27035 }
27036 static void *_p_wxWindowTo_p_wxObject(void *x) {
27037 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27038 }
27039 static void *_p_wxMenuTo_p_wxObject(void *x) {
27040 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27041 }
27042 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27044 }
27045 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27046 return (void *)((wxObject *) ((wxFileSystem *) x));
27047 }
27048 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27050 }
27051 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27052 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27053 }
27054 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27055 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27056 }
27057 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27058 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27059 }
27060 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27061 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27062 }
27063 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27064 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27065 }
27066 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27067 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27068 }
27069 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27070 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27071 }
27072 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27073 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27074 }
27075 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27077 }
27078 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27079 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27080 }
27081 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27082 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27083 }
27084 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27086 }
27087 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27089 }
27090 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27091 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27092 }
27093 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27095 }
27096 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27097 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27098 }
27099 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27100 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27101 }
27102 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27103 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27104 }
27105 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27106 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27107 }
27108 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27109 return (void *)((wxWindow *) ((wxMenuBar *) x));
27110 }
27111 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27112 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27113 }
27114 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27115 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27116 }
27117 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27118 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27119 }
27120 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27121 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27122 }
27123 static void *_p_wxControlTo_p_wxWindow(void *x) {
27124 return (void *)((wxWindow *) ((wxControl *) x));
27125 }
27126 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27127 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27128 }
27129 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27130 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27131 }
27132 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27133 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27134 }
27135 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27136 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27137 }
27138 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27139 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27140 }
27141 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27142 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27143 }
27144 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27145 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27146 }
27147 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27148 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27149 }
27150 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27151 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27152 }
27153 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27154 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27155 }
27156 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27157 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27158 }
27159 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27160 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27161 }
27162 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27163 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27164 }
27165 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27166 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27167 }
27168 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27169 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27170 }
27171 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27172 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27173 }
27174 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27175 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27176 }
27177 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27178 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27179 }
27180 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27181 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27182 }
27183 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27184 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27185 }
27186 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27187 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27188 }
27189 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27190 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27191 }
27192 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27193 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27194 }
27195 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27196 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27197 }
27198 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27199 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27200 }
27201 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27202 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27203 }
27204 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27205 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27206 }
27207 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27208 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27209 }
27210 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27211 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27212 }
27213 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27214 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27215 }
27216 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27217 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27218 }
27219 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27220 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27221 }
27222 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27223 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27224 }
27225 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27226 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27227 }
27228 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27229 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27230 }
27231 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27232 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27233 }
27234 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27235 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27236 }
27237 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27238 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27239 }
27240 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27241 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27242 }
27243 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27244 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27245 }
27246 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27247 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27248 }
27249 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27250 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27251 }
27252 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27253 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27254 }
27255 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27256 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27257 }
27258 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27259 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27260 }
27261 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27262 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27263 }
27264 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27265 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27266 }
27267 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27268 return (void *)((wxValidator *) ((wxPyValidator *) x));
27269 }
27270 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27271 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}};
27272 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}};
27273 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27274 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27275 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27276 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27277 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}};
27278 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27279 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27280 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27281 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}};
27282 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27283 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27284 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27285 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}};
27286 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27287 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27288 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27289 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27290 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27291 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27292 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27293 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27294 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27295 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27296 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27297 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27298 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27299 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27300 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27301 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27302 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}};
27303 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27304 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27305 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27306 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27307 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27308 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27309 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27310 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27311 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}};
27312 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27313 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27314 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27315 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}};
27316 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27317 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}};
27318 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27319 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27320 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27321 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27322 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27323 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27324 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27325 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27326 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27327 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27328 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27329 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27330 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27331 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27332 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27333 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27334 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27335 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27336 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27337 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_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}};
27338 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27339 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27340 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}};
27341 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27342 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27343 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27344 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27345 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}};
27346 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27347 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}};
27348 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27349 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27350 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27351 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27352 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27353
27354 static swig_type_info *swig_types_initial[] = {
27355 _swigt__p_wxTextUrlEvent,
27356 _swigt__p_wxBookCtrlEvent,
27357 _swigt__p_wxSizer,
27358 _swigt__p_wxTreeItemIdValue,
27359 _swigt__wxTreeItemIdValue,
27360 _swigt__p_wxCheckBox,
27361 _swigt__p_wxPyTreeCtrl,
27362 _swigt__p_wxEvent,
27363 _swigt__p_wxGenericDirCtrl,
27364 _swigt__p_bool,
27365 _swigt__p_wxPyTreeItemData,
27366 _swigt__p_wxItemContainer,
27367 _swigt__p_wxDirFilterListCtrl,
27368 _swigt__p_wxPyListCtrl,
27369 _swigt__p_wxStaticLine,
27370 _swigt__p_wxControl,
27371 _swigt__p_wxPyControl,
27372 _swigt__p_wxGauge,
27373 _swigt__p_wxToolBarBase,
27374 _swigt__p_wxFont,
27375 _swigt__p_wxToggleButton,
27376 _swigt__p_wxRadioButton,
27377 _swigt__p_wxChoice,
27378 _swigt__p_wxMemoryDC,
27379 _swigt__p_wxListItemAttr,
27380 _swigt__p_int,
27381 _swigt__p_wxSize,
27382 _swigt__p_wxDC,
27383 _swigt__p_wxListView,
27384 _swigt__p_wxIcon,
27385 _swigt__p_wxTextCtrl,
27386 _swigt__p_wxNotebook,
27387 _swigt__p_wxNotifyEvent,
27388 _swigt__p_wxArrayString,
27389 _swigt__p_wxListbook,
27390 _swigt__p_wxStaticBitmap,
27391 _swigt__p_wxSlider,
27392 _swigt__p_wxStaticBox,
27393 _swigt__p_wxArrayInt,
27394 _swigt__p_wxContextHelp,
27395 _swigt__p_long,
27396 _swigt__p_wxEvtHandler,
27397 _swigt__p_wxListEvent,
27398 _swigt__p_wxListBox,
27399 _swigt__p_wxCheckListBox,
27400 _swigt__p_wxBookCtrl,
27401 _swigt__p_wxSpinButton,
27402 _swigt__p_wxButton,
27403 _swigt__p_wxBitmapButton,
27404 _swigt__p_wxRect,
27405 _swigt__p_wxContextHelpButton,
27406 _swigt__p_wxRadioBox,
27407 _swigt__p_wxScrollBar,
27408 _swigt__p_wxTreeItemId,
27409 _swigt__p_wxComboBox,
27410 _swigt__p_wxHelpEvent,
27411 _swigt__p_wxListItem,
27412 _swigt__p_wxNotebookSizer,
27413 _swigt__p_wxGenericDragImage,
27414 _swigt__p_wxSpinCtrl,
27415 _swigt__p_wxImageList,
27416 _swigt__p_wxHelpProvider,
27417 _swigt__p_wxTextAttr,
27418 _swigt__p_wxSimpleHelpProvider,
27419 _swigt__p_wxPoint,
27420 _swigt__p_wxListbookEvent,
27421 _swigt__p_wxNotebookEvent,
27422 _swigt__p_wxObject,
27423 _swigt__p_wxCursor,
27424 _swigt__p_wxKeyEvent,
27425 _swigt__p_wxWindow,
27426 _swigt__p_wxString,
27427 _swigt__p_wxBitmap,
27428 _swigt__p_wxTreeEvent,
27429 _swigt__p_wxMouseEvent,
27430 _swigt__p_wxCommandEvent,
27431 _swigt__p_wxStaticText,
27432 _swigt__p_wxControlWithItems,
27433 _swigt__p_wxToolBarToolBase,
27434 _swigt__p_wxColour,
27435 _swigt__p_wxToolBar,
27436 _swigt__p_wxBookCtrlSizer,
27437 _swigt__p_wxValidator,
27438 0
27439 };
27440
27441
27442 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27443
27444 static swig_const_info swig_const_table[] = {
27445 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27446 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27447 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27448 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27449 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27450 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27451 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27452 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27453 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27454 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27455 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27456 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27457 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27458 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27459 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27460 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27461 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27462 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27463 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27464 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27465 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27466 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27467 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27468 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27469 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27470 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27471 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27472 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27473 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27474 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27475 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27476 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27477 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27478 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27479 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27480 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27481 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27482 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27483 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27484 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27485 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27486 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27487 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27488 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27489 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27490 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27491 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27492 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27493 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27494 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27495 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27496 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27497 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27498 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27499 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27500 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27501 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27502 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27503 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27504 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27505 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27506 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27507 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27508 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27509 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27510 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27511 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27512 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27513 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27514 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27515 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27516 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27517 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27518 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27519 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27520 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27521 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27522 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27523 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27524 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27525 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27526 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27527 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27528 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27529 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27530 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27531 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27532 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27533 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27534 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27535 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27536 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27537 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27538 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27539 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27540 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27541 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27542 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27543 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27544 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27545 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27546 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27547 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27548 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27549 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27550 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27551 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27552 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27553 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27554 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27555 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27556 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27557 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27558 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27559 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27560 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27561 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27562 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27563 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27564 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27565 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27566 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27567 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27568 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27569 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27570 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27571 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27572 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27573 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27574 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27575 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27576 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27577 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27578 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27579 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27580 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27581 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27582 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27583 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27584 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27585 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27586 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27587 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27588 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27589 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27590 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27591 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27592 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27593 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27594 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27595 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27596 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27597 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27598 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27599 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27600 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27601 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27602 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27603 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27604 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27605 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27606 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27607 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27608 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27609 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27610 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27611 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27612 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27613 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27614 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27615 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27616 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27617 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27618 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27619 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27620 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27621 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27622 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27623 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27624 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27625 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27626 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27627 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27628 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27629 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27630 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27631 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27632 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27633 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27634 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27635 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27636 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27637 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27638 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27639 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27640 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27641 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27642 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27643 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27644 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27645 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27646 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27647 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27648 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27649 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27650 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27651 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27652 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27653 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27654 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27655 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27656 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27657 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27658 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27659 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27660 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27661 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27662 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27663 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27664 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27665 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27666 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27667 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27668 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27669 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27670 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27671 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27672 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27673 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27674 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27675 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27676 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27677 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27678 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27679 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27680 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27681 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27682 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27683 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27684 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27685 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27686 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27687 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27688 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27689 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27690 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27691 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27692 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27693 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27694 {0}};
27695
27696 #ifdef __cplusplus
27697 }
27698 #endif
27699
27700 #ifdef __cplusplus
27701 extern "C"
27702 #endif
27703 SWIGEXPORT(void) SWIG_init(void) {
27704 static PyObject *SWIG_globals = 0;
27705 static int typeinit = 0;
27706 PyObject *m, *d;
27707 int i;
27708 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27709 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27710 d = PyModule_GetDict(m);
27711
27712 if (!typeinit) {
27713 for (i = 0; swig_types_initial[i]; i++) {
27714 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27715 }
27716 typeinit = 1;
27717 }
27718 SWIG_InstallConstants(d,swig_const_table);
27719
27720 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27721 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27722 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27723 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27724 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27725 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27726 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27727 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27728 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27729 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27730 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27731 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27732 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27733 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27734 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27735 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27736 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27737 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27738 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27739 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27740 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27741 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27742 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27743 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27744 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27745 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27746 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27747 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27748 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27749 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27750 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27751 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27752
27753 // Map renamed classes back to their common name for OOR
27754 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27755
27756 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27757 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27758 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27759 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27760 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27761 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27762 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27763 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27764 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27765 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27766 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27767 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27768 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27769 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27770 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27771 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27772 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27773 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27774 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27775
27776 // Map renamed classes back to their common name for OOR
27777 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27778 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27779
27780 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27781 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27782
27783 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
27784
27785 }
27786