]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
CommitLineData
d14a1e28
RD
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
423f194a 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
423f194a 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
423f194a 121
d14a1e28
RD
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
138extern "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 */
156typedef 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
192SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205/* Contract support */
206
423f194a 207#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 208
d14a1e28
RD
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]
423f194a
RD
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]
301static swig_type_info *swig_types[84];
d14a1e28
RD
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
346void 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 }
353PyObject *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
366static 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
392void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
393 self->AppendText(text);
394 }
395wxString 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
425class wxToggleButton : public wxControl
426{
427public:
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
444PyObject *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 }
454void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
455 self->SetClientData(new wxPyUserData(clientData));
456 }
457wxToolBarToolBase *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 }
464wxToolBarToolBase *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 }
471PyObject *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 }
481void 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
490void 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
510class wxPyListCtrl : public wxListCtrl {
511 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
512public:
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
538IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
539
540IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
541IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
542IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
543
544wxListItem *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 }
559wxListItem *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 }
567wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
568 wxPoint pos;
569 self->GetItemPosition(item, pos);
570 return pos;
571 }
572wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
573 wxRect rect;
574 self->GetItemRect(item, rect, code);
575 return rect;
576 }
577bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
578 if (!PyCallable_Check(func))
423f194a 579 return False;
d14a1e28
RD
580 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
581 }
582wxWindow *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
596bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
423f194a 597 if (!other) return False;
d14a1e28
RD
598 return *self == *other;
599 }
600bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
423f194a 601 if (!other) return True;
d14a1e28
RD
602 return *self != *other;
603 }
604void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
605 // C++ version of Python aware wxTreeCtrl
606class wxPyTreeCtrl : public wxTreeCtrl {
607 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
608public:
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"))) {
423f194a
RD
634 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
635 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
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
648IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
649
650
651wxPyTreeItemData *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 }
660PyObject *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 }
669void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 }
673void 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 }
682PyObject *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));
423f194a 690 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
691 PyList_Append(rval, item);
692 }
693 wxPyEndBlockThreads();
694 return rval;
695 }
696PyObject *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);
423f194a
RD
701 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
702 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
703 wxPyEndBlockThreads();
704 return tup;
705 }
706PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
707 wxTreeItemId ritem = self->GetNextChild(item, cookie);
708 wxPyBeginBlockThreads();
709 PyObject* tup = PyTuple_New(2);
423f194a
RD
710 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
711 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
712 wxPyEndBlockThreads();
713 return tup;
714 }
715PyObject *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);
423f194a 720 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
d14a1e28
RD
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
731class wxPyControl : public wxControl
732{
733 DECLARE_DYNAMIC_CLASS(wxPyControl)
734public:
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
772IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
773
774IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
775IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
776IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
777IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
778
779IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
780IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
781IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
782
783IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
784IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
785
786IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
787IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
788IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
789IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
790
791IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
792IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
793IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
794
795IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
796IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
797
798
799
800
801void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
423f194a
RD
802
803#include <wx/generic/dragimgg.h>
804
d14a1e28
RD
805#ifdef __cplusplus
806extern "C" {
807#endif
808static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 811 int arg2 ;
d14a1e28
RD
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;
423f194a 823 bool temp3 = False ;
d14a1e28
RD
824 wxPoint temp4 ;
825 wxSize temp5 ;
423f194a 826 bool temp8 = False ;
d14a1e28
RD
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;
423f194a 842 temp3 = True;
d14a1e28
RD
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;
423f194a 866 temp8 = True;
d14a1e28
RD
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
901static 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
925static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject *resultobj;
927 wxButton *arg1 = (wxButton *) 0 ;
928 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 929 int arg3 ;
d14a1e28
RD
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;
423f194a 941 bool temp4 = False ;
d14a1e28
RD
942 wxPoint temp5 ;
943 wxSize temp6 ;
423f194a 944 bool temp9 = False ;
d14a1e28
RD
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;
423f194a 962 temp4 = True;
d14a1e28
RD
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;
423f194a 986 temp9 = True;
d14a1e28
RD
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
1019static 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
1043static 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
1069static 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}
1076static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject *resultobj;
1078 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1079 int arg2 ;
d14a1e28
RD
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 ;
423f194a 1093 bool temp8 = False ;
d14a1e28
RD
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;
423f194a 1132 temp8 = True;
d14a1e28
RD
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
1159static 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
1183static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject *resultobj;
1185 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1186 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1187 int arg3 ;
d14a1e28
RD
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 ;
423f194a 1201 bool temp9 = False ;
d14a1e28
RD
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;
423f194a 1242 temp9 = True;
d14a1e28
RD
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
1267static 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
1296static 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
1325static 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
1354static 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
1383static 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
1413static 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
1443static 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
1473static 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
1503static 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
1529static 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
1554static 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
1579static 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}
1586static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1589 int arg2 ;
d14a1e28
RD
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;
423f194a 1601 bool temp3 = False ;
d14a1e28
RD
1602 wxPoint temp4 ;
1603 wxSize temp5 ;
423f194a 1604 bool temp8 = False ;
d14a1e28
RD
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;
423f194a 1620 temp3 = True;
d14a1e28
RD
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;
423f194a 1644 temp8 = True;
d14a1e28
RD
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
1677static 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
1699static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1702 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1703 int arg3 ;
d14a1e28
RD
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;
423f194a 1715 bool temp4 = False ;
d14a1e28
RD
1716 wxPoint temp5 ;
1717 wxSize temp6 ;
423f194a 1718 bool temp9 = False ;
d14a1e28
RD
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;
423f194a 1736 temp4 = True;
d14a1e28
RD
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;
423f194a 1760 temp9 = True;
d14a1e28
RD
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
1793static 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
1818static 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
1843static 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
1871static 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
1896static 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
1921static 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
1946static 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
1971static 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}
1978static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1981 int arg2 ;
d14a1e28
RD
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 ;
423f194a 1996 bool temp8 = False ;
d14a1e28
RD
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;
423f194a 2038 temp8 = True;
d14a1e28
RD
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
2069static 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
2091static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject *resultobj;
2093 wxChoice *arg1 = (wxChoice *) 0 ;
2094 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2095 int arg3 ;
d14a1e28
RD
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 ;
423f194a 2110 bool temp9 = False ;
d14a1e28
RD
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;
423f194a 2154 temp9 = True;
d14a1e28
RD
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
2185static 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
2210static 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
2235static 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
2260static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxChoice *arg1 = (wxChoice *) 0 ;
2263 wxString *arg2 = 0 ;
423f194a 2264 bool temp2 = False ;
d14a1e28
RD
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;
423f194a 2276 temp2 = True;
d14a1e28
RD
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
2300static 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 ;
423f194a 2305 bool temp3 = False ;
d14a1e28
RD
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;
423f194a 2317 temp3 = True;
d14a1e28
RD
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
2341static 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}
2348static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2351 int arg2 ;
d14a1e28
RD
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;
423f194a 2366 bool temp3 = False ;
d14a1e28
RD
2367 wxPoint temp4 ;
2368 wxSize temp5 ;
423f194a 2369 bool temp9 = False ;
d14a1e28
RD
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;
423f194a 2387 temp3 = True;
d14a1e28
RD
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;
423f194a 2419 temp9 = True;
d14a1e28
RD
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
2458static 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
2480static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxComboBox *arg1 = (wxComboBox *) 0 ;
2483 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2484 int arg3 ;
d14a1e28
RD
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;
423f194a 2499 bool temp4 = False ;
d14a1e28
RD
2500 wxPoint temp5 ;
2501 wxSize temp6 ;
423f194a 2502 bool temp10 = False ;
d14a1e28
RD
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;
423f194a 2522 temp4 = True;
d14a1e28
RD
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;
423f194a 2554 temp10 = True;
d14a1e28
RD
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
2593static 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
2624static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxComboBox *arg1 = (wxComboBox *) 0 ;
2627 wxString *arg2 = 0 ;
423f194a 2628 bool temp2 = False ;
d14a1e28
RD
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;
423f194a 2640 temp2 = True;
d14a1e28
RD
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
2664static 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
2688static 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
2712static 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
2736static 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
2761static 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
2786static 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
2811static 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 ;
423f194a 2817 bool temp4 = False ;
d14a1e28
RD
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;
423f194a 2829 temp4 = True;
d14a1e28
RD
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
100c4552
RD
2853static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject *resultobj;
2855 wxComboBox *arg1 = (wxComboBox *) 0 ;
2856 int arg2 ;
2857 PyObject * obj0 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self",(char *) "n", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 (arg1)->SetSelection(arg2);
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 Py_INCREF(Py_None); resultobj = Py_None;
2872 return resultobj;
2873 fail:
2874 return NULL;
2875}
2876
2877
d14a1e28
RD
2878static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject *resultobj;
2880 wxComboBox *arg1 = (wxComboBox *) 0 ;
2881 long arg2 ;
2882 long arg3 ;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self",(char *) "from",(char *) "to", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 (arg1)->SetSelection(arg2,arg3);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
2904static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxComboBox *arg1 = (wxComboBox *) 0 ;
2907 bool arg2 ;
2908 PyObject * obj0 = 0 ;
2909 PyObject * obj1 = 0 ;
2910 char *kwnames[] = {
2911 (char *) "self",(char *) "editable", NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2916 arg2 = PyInt_AsLong(obj1) ? true : false;
2917 if (PyErr_Occurred()) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->SetEditable(arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929}
2930
2931
2932static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxComboBox *arg1 = (wxComboBox *) 0 ;
2935 PyObject * obj0 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 (arg1)->SetInsertionPointEnd();
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 Py_INCREF(Py_None); resultobj = Py_None;
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
2956static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject *resultobj;
2958 wxComboBox *arg1 = (wxComboBox *) 0 ;
2959 long arg2 ;
2960 long arg3 ;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self",(char *) "from",(char *) "to", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 (arg1)->Remove(arg2,arg3);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 Py_INCREF(Py_None); resultobj = Py_None;
2976 return resultobj;
2977 fail:
2978 return NULL;
2979}
2980
2981
2982static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2983 PyObject *obj;
2984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2985 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2986 Py_INCREF(obj);
2987 return Py_BuildValue((char *)"");
2988}
2989static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2990 PyObject *resultobj;
2991 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2992 int arg2 ;
d14a1e28
RD
2993 int arg3 ;
2994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2996 wxSize const &arg5_defvalue = wxDefaultSize ;
2997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2998 long arg6 = (long) wxGA_HORIZONTAL ;
2999 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3000 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3001 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3002 wxString *arg8 = (wxString *) &arg8_defvalue ;
3003 wxGauge *result;
3004 wxPoint temp4 ;
3005 wxSize temp5 ;
423f194a 3006 bool temp8 = False ;
d14a1e28
RD
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj3 = 0 ;
3009 PyObject * obj4 = 0 ;
3010 PyObject * obj6 = 0 ;
3011 PyObject * obj7 = 0 ;
3012 char *kwnames[] = {
3013 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3018 if (obj3) {
3019 {
3020 arg4 = &temp4;
3021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3022 }
3023 }
3024 if (obj4) {
3025 {
3026 arg5 = &temp5;
3027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3028 }
3029 }
3030 if (obj6) {
3031 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3032 if (arg7 == NULL) {
3033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3034 }
3035 }
3036 if (obj7) {
3037 {
3038 arg8 = wxString_in_helper(obj7);
3039 if (arg8 == NULL) SWIG_fail;
423f194a 3040 temp8 = True;
d14a1e28
RD
3041 }
3042 }
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
3050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3051 {
3052 if (temp8)
3053 delete arg8;
3054 }
3055 return resultobj;
3056 fail:
3057 {
3058 if (temp8)
3059 delete arg8;
3060 }
3061 return NULL;
3062}
3063
3064
3065static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxGauge *result;
3068 char *kwnames[] = {
3069 NULL
3070 };
3071
3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (wxGauge *)new wxGauge();
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3081 return resultobj;
3082 fail:
3083 return NULL;
3084}
3085
3086
3087static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3088 PyObject *resultobj;
3089 wxGauge *arg1 = (wxGauge *) 0 ;
3090 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3091 int arg3 ;
d14a1e28
RD
3092 int arg4 ;
3093 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3094 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3095 wxSize const &arg6_defvalue = wxDefaultSize ;
3096 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3097 long arg7 = (long) wxGA_HORIZONTAL ;
3098 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3099 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3100 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3101 wxString *arg9 = (wxString *) &arg9_defvalue ;
3102 bool result;
3103 wxPoint temp5 ;
3104 wxSize temp6 ;
423f194a 3105 bool temp9 = False ;
d14a1e28
RD
3106 PyObject * obj0 = 0 ;
3107 PyObject * obj1 = 0 ;
3108 PyObject * obj4 = 0 ;
3109 PyObject * obj5 = 0 ;
3110 PyObject * obj7 = 0 ;
3111 PyObject * obj8 = 0 ;
3112 char *kwnames[] = {
3113 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3114 };
3115
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3119 if (obj4) {
3120 {
3121 arg5 = &temp5;
3122 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3123 }
3124 }
3125 if (obj5) {
3126 {
3127 arg6 = &temp6;
3128 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3129 }
3130 }
3131 if (obj7) {
3132 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 if (arg8 == NULL) {
3134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3135 }
3136 }
3137 if (obj8) {
3138 {
3139 arg9 = wxString_in_helper(obj8);
3140 if (arg9 == NULL) SWIG_fail;
423f194a 3141 temp9 = True;
d14a1e28
RD
3142 }
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 resultobj = PyInt_FromLong((long)result);
3152 {
3153 if (temp9)
3154 delete arg9;
3155 }
3156 return resultobj;
3157 fail:
3158 {
3159 if (temp9)
3160 delete arg9;
3161 }
3162 return NULL;
3163}
3164
3165
3166static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxGauge *arg1 = (wxGauge *) 0 ;
3169 int arg2 ;
3170 PyObject * obj0 = 0 ;
3171 char *kwnames[] = {
3172 (char *) "self",(char *) "range", NULL
3173 };
3174
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) 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 (arg1)->SetRange(arg2);
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 Py_INCREF(Py_None); resultobj = Py_None;
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
3191static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxGauge *arg1 = (wxGauge *) 0 ;
3194 int result;
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) 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 result = (int)((wxGauge const *)arg1)->GetRange();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 resultobj = PyInt_FromLong((long)result);
3210 return resultobj;
3211 fail:
3212 return NULL;
3213}
3214
3215
3216static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxGauge *arg1 = (wxGauge *) 0 ;
3219 int arg2 ;
3220 PyObject * obj0 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self",(char *) "pos", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) 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 (arg1)->SetValue(arg2);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 Py_INCREF(Py_None); resultobj = Py_None;
3235 return resultobj;
3236 fail:
3237 return NULL;
3238}
3239
3240
3241static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxGauge *arg1 = (wxGauge *) 0 ;
3244 int result;
3245 PyObject * obj0 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",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 = (int)((wxGauge const *)arg1)->GetValue();
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
3266static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxGauge *arg1 = (wxGauge *) 0 ;
3269 bool result;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) 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 result = (bool)((wxGauge const *)arg1)->IsVertical();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 resultobj = PyInt_FromLong((long)result);
3285 return resultobj;
3286 fail:
3287 return NULL;
3288}
3289
3290
3291static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxGauge *arg1 = (wxGauge *) 0 ;
3294 int arg2 ;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self",(char *) "w", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) 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 (arg1)->SetShadowWidth(arg2);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 return resultobj;
3311 fail:
3312 return NULL;
3313}
3314
3315
3316static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxGauge *arg1 = (wxGauge *) 0 ;
3319 int result;
3320 PyObject * obj0 = 0 ;
3321 char *kwnames[] = {
3322 (char *) "self", NULL
3323 };
3324
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) 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 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 resultobj = PyInt_FromLong((long)result);
3335 return resultobj;
3336 fail:
3337 return NULL;
3338}
3339
3340
3341static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxGauge *arg1 = (wxGauge *) 0 ;
3344 int arg2 ;
3345 PyObject * obj0 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self",(char *) "w", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) 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 (arg1)->SetBezelFace(arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363}
3364
3365
3366static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxGauge *arg1 = (wxGauge *) 0 ;
3369 int result;
3370 PyObject * obj0 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "self", NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 resultobj = PyInt_FromLong((long)result);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3392 PyObject *obj;
3393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3394 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3395 Py_INCREF(obj);
3396 return Py_BuildValue((char *)"");
3397}
3398static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3401 int arg2 ;
d14a1e28
RD
3402 wxString *arg3 = 0 ;
3403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3405 wxSize const &arg5_defvalue = wxDefaultSize ;
3406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3407 long arg6 = (long) 0 ;
3408 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3409 wxString *arg7 = (wxString *) &arg7_defvalue ;
3410 wxStaticBox *result;
423f194a 3411 bool temp3 = False ;
d14a1e28
RD
3412 wxPoint temp4 ;
3413 wxSize temp5 ;
423f194a 3414 bool temp7 = False ;
d14a1e28
RD
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj2 = 0 ;
3417 PyObject * obj3 = 0 ;
3418 PyObject * obj4 = 0 ;
3419 PyObject * obj6 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 arg3 = wxString_in_helper(obj2);
3428 if (arg3 == NULL) SWIG_fail;
423f194a 3429 temp3 = True;
d14a1e28
RD
3430 }
3431 if (obj3) {
3432 {
3433 arg4 = &temp4;
3434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3435 }
3436 }
3437 if (obj4) {
3438 {
3439 arg5 = &temp5;
3440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3441 }
3442 }
3443 if (obj6) {
3444 {
3445 arg7 = wxString_in_helper(obj6);
3446 if (arg7 == NULL) SWIG_fail;
423f194a 3447 temp7 = True;
d14a1e28
RD
3448 }
3449 }
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 {
3458 resultobj = wxPyMake_wxObject(result);
3459 }
3460 {
3461 if (temp3)
3462 delete arg3;
3463 }
3464 {
3465 if (temp7)
3466 delete arg7;
3467 }
3468 return resultobj;
3469 fail:
3470 {
3471 if (temp3)
3472 delete arg3;
3473 }
3474 {
3475 if (temp7)
3476 delete arg7;
3477 }
3478 return NULL;
3479}
3480
3481
3482static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxStaticBox *result;
3485 char *kwnames[] = {
3486 NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = (wxStaticBox *)new wxStaticBox();
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 resultobj = wxPyMake_wxObject(result);
3499 }
3500 return resultobj;
3501 fail:
3502 return NULL;
3503}
3504
3505
3506static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3509 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3510 int arg3 ;
d14a1e28
RD
3511 wxString *arg4 = 0 ;
3512 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3513 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3514 wxSize const &arg6_defvalue = wxDefaultSize ;
3515 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3516 long arg7 = (long) 0 ;
3517 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3518 wxString *arg8 = (wxString *) &arg8_defvalue ;
3519 bool result;
423f194a 3520 bool temp4 = False ;
d14a1e28
RD
3521 wxPoint temp5 ;
3522 wxSize temp6 ;
423f194a 3523 bool temp8 = False ;
d14a1e28
RD
3524 PyObject * obj0 = 0 ;
3525 PyObject * obj1 = 0 ;
3526 PyObject * obj3 = 0 ;
3527 PyObject * obj4 = 0 ;
3528 PyObject * obj5 = 0 ;
3529 PyObject * obj7 = 0 ;
3530 char *kwnames[] = {
3531 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3532 };
3533
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 {
3538 arg4 = wxString_in_helper(obj3);
3539 if (arg4 == NULL) SWIG_fail;
423f194a 3540 temp4 = True;
d14a1e28
RD
3541 }
3542 if (obj4) {
3543 {
3544 arg5 = &temp5;
3545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3546 }
3547 }
3548 if (obj5) {
3549 {
3550 arg6 = &temp6;
3551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3552 }
3553 }
3554 if (obj7) {
3555 {
3556 arg8 = wxString_in_helper(obj7);
3557 if (arg8 == NULL) SWIG_fail;
423f194a 3558 temp8 = True;
d14a1e28
RD
3559 }
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 resultobj = PyInt_FromLong((long)result);
3569 {
3570 if (temp4)
3571 delete arg4;
3572 }
3573 {
3574 if (temp8)
3575 delete arg8;
3576 }
3577 return resultobj;
3578 fail:
3579 {
3580 if (temp4)
3581 delete arg4;
3582 }
3583 {
3584 if (temp8)
3585 delete arg8;
3586 }
3587 return NULL;
3588}
3589
3590
3591static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3592 PyObject *obj;
3593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3594 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3595 Py_INCREF(obj);
3596 return Py_BuildValue((char *)"");
3597}
3598static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3601 int arg2 ;
d14a1e28
RD
3602 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3603 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3604 wxSize const &arg4_defvalue = wxDefaultSize ;
3605 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3606 long arg5 = (long) wxLI_HORIZONTAL ;
3607 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3608 wxString *arg6 = (wxString *) &arg6_defvalue ;
3609 wxStaticLine *result;
3610 wxPoint temp3 ;
3611 wxSize temp4 ;
423f194a 3612 bool temp6 = False ;
d14a1e28
RD
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj2 = 0 ;
3615 PyObject * obj3 = 0 ;
3616 PyObject * obj5 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3623 if (obj2) {
3624 {
3625 arg3 = &temp3;
3626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3627 }
3628 }
3629 if (obj3) {
3630 {
3631 arg4 = &temp4;
3632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3633 }
3634 }
3635 if (obj5) {
3636 {
3637 arg6 = wxString_in_helper(obj5);
3638 if (arg6 == NULL) SWIG_fail;
423f194a 3639 temp6 = True;
d14a1e28
RD
3640 }
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3650 {
3651 if (temp6)
3652 delete arg6;
3653 }
3654 return resultobj;
3655 fail:
3656 {
3657 if (temp6)
3658 delete arg6;
3659 }
3660 return NULL;
3661}
3662
3663
3664static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject *resultobj;
3666 wxStaticLine *result;
3667 char *kwnames[] = {
3668 NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (wxStaticLine *)new wxStaticLine();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3689 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3690 int arg3 ;
d14a1e28
RD
3691 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3692 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3693 wxSize const &arg5_defvalue = wxDefaultSize ;
3694 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3695 long arg6 = (long) wxLI_HORIZONTAL ;
3696 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3697 wxString *arg7 = (wxString *) &arg7_defvalue ;
3698 bool result;
3699 wxPoint temp4 ;
3700 wxSize temp5 ;
423f194a 3701 bool temp7 = False ;
d14a1e28
RD
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704 PyObject * obj3 = 0 ;
3705 PyObject * obj4 = 0 ;
3706 PyObject * obj6 = 0 ;
3707 char *kwnames[] = {
3708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3709 };
3710
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3714 if (obj3) {
3715 {
3716 arg4 = &temp4;
3717 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3718 }
3719 }
3720 if (obj4) {
3721 {
3722 arg5 = &temp5;
3723 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3724 }
3725 }
3726 if (obj6) {
3727 {
3728 arg7 = wxString_in_helper(obj6);
3729 if (arg7 == NULL) SWIG_fail;
423f194a 3730 temp7 = True;
d14a1e28
RD
3731 }
3732 }
3733 {
3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
3735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3736
3737 wxPyEndAllowThreads(__tstate);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 }
3740 resultobj = PyInt_FromLong((long)result);
3741 {
3742 if (temp7)
3743 delete arg7;
3744 }
3745 return resultobj;
3746 fail:
3747 {
3748 if (temp7)
3749 delete arg7;
3750 }
3751 return NULL;
3752}
3753
3754
3755static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3758 bool result;
3759 PyObject * obj0 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = PyInt_FromLong((long)result);
3774 return resultobj;
3775 fail:
3776 return NULL;
3777}
3778
3779
3780static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 int result;
3783 char *kwnames[] = {
3784 NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (int)wxStaticLine::GetDefaultSize();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 resultobj = PyInt_FromLong((long)result);
3796 return resultobj;
3797 fail:
3798 return NULL;
3799}
3800
3801
3802static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3803 PyObject *obj;
3804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3805 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3806 Py_INCREF(obj);
3807 return Py_BuildValue((char *)"");
3808}
3809static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3810 PyObject *resultobj;
3811 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3812 int arg2 ;
d14a1e28
RD
3813 wxString *arg3 = 0 ;
3814 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3815 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3816 wxSize const &arg5_defvalue = wxDefaultSize ;
3817 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3818 long arg6 = (long) 0 ;
3819 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3820 wxString *arg7 = (wxString *) &arg7_defvalue ;
3821 wxStaticText *result;
423f194a 3822 bool temp3 = False ;
d14a1e28
RD
3823 wxPoint temp4 ;
3824 wxSize temp5 ;
423f194a 3825 bool temp7 = False ;
d14a1e28
RD
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj2 = 0 ;
3828 PyObject * obj3 = 0 ;
3829 PyObject * obj4 = 0 ;
3830 PyObject * obj6 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 {
3838 arg3 = wxString_in_helper(obj2);
3839 if (arg3 == NULL) SWIG_fail;
423f194a 3840 temp3 = True;
d14a1e28
RD
3841 }
3842 if (obj3) {
3843 {
3844 arg4 = &temp4;
3845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3846 }
3847 }
3848 if (obj4) {
3849 {
3850 arg5 = &temp5;
3851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3852 }
3853 }
3854 if (obj6) {
3855 {
3856 arg7 = wxString_in_helper(obj6);
3857 if (arg7 == NULL) SWIG_fail;
423f194a 3858 temp7 = True;
d14a1e28
RD
3859 }
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3869 {
3870 if (temp3)
3871 delete arg3;
3872 }
3873 {
3874 if (temp7)
3875 delete arg7;
3876 }
3877 return resultobj;
3878 fail:
3879 {
3880 if (temp3)
3881 delete arg3;
3882 }
3883 {
3884 if (temp7)
3885 delete arg7;
3886 }
3887 return NULL;
3888}
3889
3890
3891static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxStaticText *result;
3894 char *kwnames[] = {
3895 NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3899 {
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (wxStaticText *)new wxStaticText();
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3907 return resultobj;
3908 fail:
3909 return NULL;
3910}
3911
3912
3913static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxStaticText *arg1 = (wxStaticText *) 0 ;
3916 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3917 int arg3 ;
d14a1e28
RD
3918 wxString *arg4 = 0 ;
3919 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3920 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3921 wxSize const &arg6_defvalue = wxDefaultSize ;
3922 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3923 long arg7 = (long) 0 ;
3924 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3925 wxString *arg8 = (wxString *) &arg8_defvalue ;
3926 bool result;
423f194a 3927 bool temp4 = False ;
d14a1e28
RD
3928 wxPoint temp5 ;
3929 wxSize temp6 ;
423f194a 3930 bool temp8 = False ;
d14a1e28
RD
3931 PyObject * obj0 = 0 ;
3932 PyObject * obj1 = 0 ;
3933 PyObject * obj3 = 0 ;
3934 PyObject * obj4 = 0 ;
3935 PyObject * obj5 = 0 ;
3936 PyObject * obj7 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 {
3945 arg4 = wxString_in_helper(obj3);
3946 if (arg4 == NULL) SWIG_fail;
423f194a 3947 temp4 = True;
d14a1e28
RD
3948 }
3949 if (obj4) {
3950 {
3951 arg5 = &temp5;
3952 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3953 }
3954 }
3955 if (obj5) {
3956 {
3957 arg6 = &temp6;
3958 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3959 }
3960 }
3961 if (obj7) {
3962 {
3963 arg8 = wxString_in_helper(obj7);
3964 if (arg8 == NULL) SWIG_fail;
423f194a 3965 temp8 = True;
d14a1e28
RD
3966 }
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 resultobj = PyInt_FromLong((long)result);
3976 {
3977 if (temp4)
3978 delete arg4;
3979 }
3980 {
3981 if (temp8)
3982 delete arg8;
3983 }
3984 return resultobj;
3985 fail:
3986 {
3987 if (temp4)
3988 delete arg4;
3989 }
3990 {
3991 if (temp8)
3992 delete arg8;
3993 }
3994 return NULL;
3995}
3996
3997
3998static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3999 PyObject *obj;
4000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4001 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4002 Py_INCREF(obj);
4003 return Py_BuildValue((char *)"");
4004}
4005static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4008 int arg2 ;
d14a1e28
RD
4009 wxBitmap *arg3 = 0 ;
4010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4012 wxSize const &arg5_defvalue = wxDefaultSize ;
4013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4014 long arg6 = (long) 0 ;
4015 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4016 wxString *arg7 = (wxString *) &arg7_defvalue ;
4017 wxStaticBitmap *result;
4018 wxPoint temp4 ;
4019 wxSize temp5 ;
423f194a 4020 bool temp7 = False ;
d14a1e28
RD
4021 PyObject * obj0 = 0 ;
4022 PyObject * obj2 = 0 ;
4023 PyObject * obj3 = 0 ;
4024 PyObject * obj4 = 0 ;
4025 PyObject * obj6 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 if (arg3 == NULL) {
4034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4035 }
4036 if (obj3) {
4037 {
4038 arg4 = &temp4;
4039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4040 }
4041 }
4042 if (obj4) {
4043 {
4044 arg5 = &temp5;
4045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4046 }
4047 }
4048 if (obj6) {
4049 {
4050 arg7 = wxString_in_helper(obj6);
4051 if (arg7 == NULL) SWIG_fail;
423f194a 4052 temp7 = True;
d14a1e28
RD
4053 }
4054 }
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4058
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4063 {
4064 if (temp7)
4065 delete arg7;
4066 }
4067 return resultobj;
4068 fail:
4069 {
4070 if (temp7)
4071 delete arg7;
4072 }
4073 return NULL;
4074}
4075
4076
4077static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxStaticBitmap *result;
4080 char *kwnames[] = {
4081 NULL
4082 };
4083
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxStaticBitmap *)new wxStaticBitmap();
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4093 return resultobj;
4094 fail:
4095 return NULL;
4096}
4097
4098
4099static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4100 PyObject *resultobj;
4101 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4102 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4103 int arg3 ;
d14a1e28
RD
4104 wxBitmap *arg4 = 0 ;
4105 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4106 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4107 wxSize const &arg6_defvalue = wxDefaultSize ;
4108 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4109 long arg7 = (long) 0 ;
4110 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4111 wxString *arg8 = (wxString *) &arg8_defvalue ;
4112 bool result;
4113 wxPoint temp5 ;
4114 wxSize temp6 ;
423f194a 4115 bool temp8 = False ;
d14a1e28
RD
4116 PyObject * obj0 = 0 ;
4117 PyObject * obj1 = 0 ;
4118 PyObject * obj3 = 0 ;
4119 PyObject * obj4 = 0 ;
4120 PyObject * obj5 = 0 ;
4121 PyObject * obj7 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4130 if (arg4 == NULL) {
4131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4132 }
4133 if (obj4) {
4134 {
4135 arg5 = &temp5;
4136 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4137 }
4138 }
4139 if (obj5) {
4140 {
4141 arg6 = &temp6;
4142 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4143 }
4144 }
4145 if (obj7) {
4146 {
4147 arg8 = wxString_in_helper(obj7);
4148 if (arg8 == NULL) SWIG_fail;
423f194a 4149 temp8 = True;
d14a1e28
RD
4150 }
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 resultobj = PyInt_FromLong((long)result);
4160 {
4161 if (temp8)
4162 delete arg8;
4163 }
4164 return resultobj;
4165 fail:
4166 {
4167 if (temp8)
4168 delete arg8;
4169 }
4170 return NULL;
4171}
4172
4173
4174static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4177 wxBitmap result;
4178 PyObject * obj0 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 result = (arg1)->GetBitmap();
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 {
4193 wxBitmap * resultptr;
4194 resultptr = new wxBitmap((wxBitmap &) result);
4195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4196 }
4197 return resultobj;
4198 fail:
4199 return NULL;
4200}
4201
4202
4203static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4204 PyObject *resultobj;
4205 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4206 wxBitmap *arg2 = 0 ;
4207 PyObject * obj0 = 0 ;
4208 PyObject * obj1 = 0 ;
4209 char *kwnames[] = {
4210 (char *) "self",(char *) "bitmap", NULL
4211 };
4212
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4216 if (arg2 == NULL) {
4217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4218 }
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 Py_INCREF(Py_None); resultobj = Py_None;
4227 return resultobj;
4228 fail:
4229 return NULL;
4230}
4231
4232
4233static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4236 wxIcon *arg2 = 0 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "icon", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 if (arg2 == NULL) {
4247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4248 }
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->SetIcon((wxIcon const &)*arg2);
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260}
4261
4262
4263static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4264 PyObject *obj;
4265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4266 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4267 Py_INCREF(obj);
4268 return Py_BuildValue((char *)"");
4269}
4270static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4273 int arg2 ;
d14a1e28
RD
4274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4276 wxSize const &arg4_defvalue = wxDefaultSize ;
4277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4278 int arg5 = (int) 0 ;
4279 wxString *arg6 = (wxString *) NULL ;
4280 long arg7 = (long) 0 ;
4281 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4282 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4283 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4284 wxString *arg9 = (wxString *) &arg9_defvalue ;
4285 wxListBox *result;
4286 wxPoint temp3 ;
4287 wxSize temp4 ;
423f194a 4288 bool temp8 = False ;
d14a1e28
RD
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj2 = 0 ;
4291 PyObject * obj3 = 0 ;
4292 PyObject * obj4 = 0 ;
4293 PyObject * obj6 = 0 ;
4294 PyObject * obj7 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 if (obj2) {
4302 {
4303 arg3 = &temp3;
4304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4305 }
4306 }
4307 if (obj3) {
4308 {
4309 arg4 = &temp4;
4310 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4311 }
4312 }
4313 if (obj4) {
4314 {
4315 arg5 = PyList_Size(obj4);
4316 arg6 = wxString_LIST_helper(obj4);
4317 if (arg6 == NULL) SWIG_fail;
4318 }
4319 }
4320 if (obj6) {
4321 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4322 if (arg8 == NULL) {
4323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4324 }
4325 }
4326 if (obj7) {
4327 {
4328 arg9 = wxString_in_helper(obj7);
4329 if (arg9 == NULL) SWIG_fail;
423f194a 4330 temp8 = True;
d14a1e28
RD
4331 }
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4341 {
4342 if (arg6) delete [] arg6;
4343 }
4344 {
4345 if (temp8)
4346 delete arg9;
4347 }
4348 return resultobj;
4349 fail:
4350 {
4351 if (arg6) delete [] arg6;
4352 }
4353 {
4354 if (temp8)
4355 delete arg9;
4356 }
4357 return NULL;
4358}
4359
4360
4361static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxListBox *result;
4364 char *kwnames[] = {
4365 NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (wxListBox *)new wxListBox();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxListBox *arg1 = (wxListBox *) 0 ;
4386 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4387 int arg3 ;
d14a1e28
RD
4388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4390 wxSize const &arg5_defvalue = wxDefaultSize ;
4391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4392 int arg6 = (int) 0 ;
4393 wxString *arg7 = (wxString *) NULL ;
4394 long arg8 = (long) 0 ;
4395 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4396 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4397 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4398 wxString *arg10 = (wxString *) &arg10_defvalue ;
4399 bool result;
4400 wxPoint temp4 ;
4401 wxSize temp5 ;
423f194a 4402 bool temp9 = False ;
d14a1e28
RD
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 PyObject * obj3 = 0 ;
4406 PyObject * obj4 = 0 ;
4407 PyObject * obj5 = 0 ;
4408 PyObject * obj7 = 0 ;
4409 PyObject * obj8 = 0 ;
4410 char *kwnames[] = {
4411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4412 };
4413
4414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4417 if (obj3) {
4418 {
4419 arg4 = &temp4;
4420 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4421 }
4422 }
4423 if (obj4) {
4424 {
4425 arg5 = &temp5;
4426 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4427 }
4428 }
4429 if (obj5) {
4430 {
4431 arg6 = PyList_Size(obj5);
4432 arg7 = wxString_LIST_helper(obj5);
4433 if (arg7 == NULL) SWIG_fail;
4434 }
4435 }
4436 if (obj7) {
4437 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4438 if (arg9 == NULL) {
4439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4440 }
4441 }
4442 if (obj8) {
4443 {
4444 arg10 = wxString_in_helper(obj8);
4445 if (arg10 == NULL) SWIG_fail;
423f194a 4446 temp9 = True;
d14a1e28
RD
4447 }
4448 }
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 resultobj = PyInt_FromLong((long)result);
4457 {
4458 if (arg7) delete [] arg7;
4459 }
4460 {
4461 if (temp9)
4462 delete arg10;
4463 }
4464 return resultobj;
4465 fail:
4466 {
4467 if (arg7) delete [] arg7;
4468 }
4469 {
4470 if (temp9)
4471 delete arg10;
4472 }
4473 return NULL;
4474}
4475
4476
4477static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxListBox *arg1 = (wxListBox *) 0 ;
4480 wxString *arg2 = 0 ;
4481 int arg3 ;
4482 PyObject *arg4 = (PyObject *) NULL ;
423f194a 4483 bool temp2 = False ;
d14a1e28
RD
4484 PyObject * obj0 = 0 ;
4485 PyObject * obj1 = 0 ;
4486 PyObject * obj3 = 0 ;
4487 char *kwnames[] = {
4488 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4493 {
4494 arg2 = wxString_in_helper(obj1);
4495 if (arg2 == NULL) SWIG_fail;
423f194a 4496 temp2 = True;
d14a1e28
RD
4497 }
4498 if (obj3) {
4499 arg4 = obj3;
4500 }
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 Py_INCREF(Py_None); resultobj = Py_None;
4509 {
4510 if (temp2)
4511 delete arg2;
4512 }
4513 return resultobj;
4514 fail:
4515 {
4516 if (temp2)
4517 delete arg2;
4518 }
4519 return NULL;
4520}
4521
4522
4523static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4524 PyObject *resultobj;
4525 wxListBox *arg1 = (wxListBox *) 0 ;
4526 wxArrayString *arg2 = 0 ;
4527 int arg3 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self",(char *) "items",(char *) "pos", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4536 {
4537 if (! PySequence_Check(obj1)) {
4538 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4539 SWIG_fail;
4540 }
4541 arg2 = new wxArrayString;
4542 int i, len=PySequence_Length(obj1);
4543 for (i=0; i<len; i++) {
4544 PyObject* item = PySequence_GetItem(obj1, i);
4545#if wxUSE_UNICODE
4546 PyObject* str = PyObject_Unicode(item);
4547#else
4548 PyObject* str = PyObject_Str(item);
4549#endif
4550 arg2->Add(Py2wxString(str));
4551 Py_DECREF(item);
4552 Py_DECREF(str);
4553 }
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 Py_INCREF(Py_None); resultobj = Py_None;
4563 {
4564 if (arg2) delete arg2;
4565 }
4566 return resultobj;
4567 fail:
4568 {
4569 if (arg2) delete arg2;
4570 }
4571 return NULL;
4572}
4573
4574
4575static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj;
4577 wxListBox *arg1 = (wxListBox *) 0 ;
4578 wxArrayString *arg2 = 0 ;
4579 PyObject * obj0 = 0 ;
4580 PyObject * obj1 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self",(char *) "items", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 {
4588 if (! PySequence_Check(obj1)) {
4589 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4590 SWIG_fail;
4591 }
4592 arg2 = new wxArrayString;
4593 int i, len=PySequence_Length(obj1);
4594 for (i=0; i<len; i++) {
4595 PyObject* item = PySequence_GetItem(obj1, i);
4596#if wxUSE_UNICODE
4597 PyObject* str = PyObject_Unicode(item);
4598#else
4599 PyObject* str = PyObject_Str(item);
4600#endif
4601 arg2->Add(Py2wxString(str));
4602 Py_DECREF(item);
4603 Py_DECREF(str);
4604 }
4605 }
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->Set((wxArrayString const &)*arg2);
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 Py_INCREF(Py_None); resultobj = Py_None;
4614 {
4615 if (arg2) delete arg2;
4616 }
4617 return resultobj;
4618 fail:
4619 {
4620 if (arg2) delete arg2;
4621 }
4622 return NULL;
4623}
4624
4625
4626static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxListBox *arg1 = (wxListBox *) 0 ;
4629 int arg2 ;
4630 bool result;
4631 PyObject * obj0 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "n", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4641
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = PyInt_FromLong((long)result);
4646 return resultobj;
4647 fail:
4648 return NULL;
4649}
4650
4651
4652static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject *resultobj;
4654 wxListBox *arg1 = (wxListBox *) 0 ;
4655 int arg2 ;
423f194a 4656 bool arg3 = (bool) True ;
d14a1e28
RD
4657 PyObject * obj0 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self",(char *) "n",(char *) "select", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4665 if (obj2) {
4666 arg3 = PyInt_AsLong(obj2) ? true : false;
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 (arg1)->SetSelection(arg2,arg3);
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
4683static PyObject *_wrap_ListBox_Select(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_Select",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)->Select(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
4708static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxListBox *arg1 = (wxListBox *) 0 ;
4711 int arg2 ;
4712 PyObject * obj0 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self",(char *) "n", NULL
4715 };
4716
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",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)->Deselect(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
4733static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4734 PyObject *resultobj;
4735 wxListBox *arg1 = (wxListBox *) 0 ;
4736 int arg2 = (int) -1 ;
4737 PyObject * obj0 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "itemToLeaveSelected", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 (arg1)->DeselectAll(arg2);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 Py_INCREF(Py_None); resultobj = Py_None;
4752 return resultobj;
4753 fail:
4754 return NULL;
4755}
4756
4757
4758static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj;
4760 wxListBox *arg1 = (wxListBox *) 0 ;
4761 wxString *arg2 = 0 ;
423f194a 4762 bool arg3 = (bool) True ;
d14a1e28 4763 bool result;
423f194a 4764 bool temp2 = False ;
d14a1e28
RD
4765 PyObject * obj0 = 0 ;
4766 PyObject * obj1 = 0 ;
4767 PyObject * obj2 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "self",(char *) "s",(char *) "select", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4774 {
4775 arg2 = wxString_in_helper(obj1);
4776 if (arg2 == NULL) SWIG_fail;
423f194a 4777 temp2 = True;
d14a1e28
RD
4778 }
4779 if (obj2) {
4780 arg3 = PyInt_AsLong(obj2) ? true : false;
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 resultobj = PyInt_FromLong((long)result);
4791 {
4792 if (temp2)
4793 delete arg2;
4794 }
4795 return resultobj;
4796 fail:
4797 {
4798 if (temp2)
4799 delete arg2;
4800 }
4801 return NULL;
4802}
4803
4804
4805static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 wxListBox *arg1 = (wxListBox *) 0 ;
4808 PyObject *result;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) 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 result = (PyObject *)wxListBox_GetSelections(arg1);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 resultobj = result;
4824 return resultobj;
4825 fail:
4826 return NULL;
4827}
4828
4829
4830static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj;
4832 wxListBox *arg1 = (wxListBox *) 0 ;
4833 int arg2 ;
4834 PyObject * obj0 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "n", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 (arg1)->SetFirstItem(arg2);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 Py_INCREF(Py_None); resultobj = Py_None;
4849 return resultobj;
4850 fail:
4851 return NULL;
4852}
4853
4854
4855static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxListBox *arg1 = (wxListBox *) 0 ;
4858 wxString *arg2 = 0 ;
423f194a 4859 bool temp2 = False ;
d14a1e28
RD
4860 PyObject * obj0 = 0 ;
4861 PyObject * obj1 = 0 ;
4862 char *kwnames[] = {
4863 (char *) "self",(char *) "s", NULL
4864 };
4865
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4868 {
4869 arg2 = wxString_in_helper(obj1);
4870 if (arg2 == NULL) SWIG_fail;
423f194a 4871 temp2 = True;
d14a1e28
RD
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->SetFirstItem((wxString const &)*arg2);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 {
4882 if (temp2)
4883 delete arg2;
4884 }
4885 return resultobj;
4886 fail:
4887 {
4888 if (temp2)
4889 delete arg2;
4890 }
4891 return NULL;
4892}
4893
4894
4895static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxListBox *arg1 = (wxListBox *) 0 ;
4898 int arg2 ;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "n", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 (arg1)->EnsureVisible(arg2);
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 Py_INCREF(Py_None); resultobj = Py_None;
4914 return resultobj;
4915 fail:
4916 return NULL;
4917}
4918
4919
4920static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4921 PyObject *resultobj;
4922 wxListBox *arg1 = (wxListBox *) 0 ;
4923 wxString *arg2 = 0 ;
423f194a 4924 bool temp2 = False ;
d14a1e28
RD
4925 PyObject * obj0 = 0 ;
4926 PyObject * obj1 = 0 ;
4927 char *kwnames[] = {
4928 (char *) "self",(char *) "s", NULL
4929 };
4930
4931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4933 {
4934 arg2 = wxString_in_helper(obj1);
4935 if (arg2 == NULL) SWIG_fail;
423f194a 4936 temp2 = True;
d14a1e28
RD
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 Py_INCREF(Py_None); resultobj = Py_None;
4946 {
4947 if (temp2)
4948 delete arg2;
4949 }
4950 return resultobj;
4951 fail:
4952 {
4953 if (temp2)
4954 delete arg2;
4955 }
4956 return NULL;
4957}
4958
4959
4960static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxListBox *arg1 = (wxListBox *) 0 ;
4963 bool result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (bool)((wxListBox const *)arg1)->IsSorted();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = PyInt_FromLong((long)result);
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
4985static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4986 PyObject *obj;
4987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4988 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4989 Py_INCREF(obj);
4990 return Py_BuildValue((char *)"");
4991}
4992static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4995 int arg2 ;
d14a1e28
RD
4996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4998 wxSize const &arg4_defvalue = wxDefaultSize ;
4999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5000 int arg5 = (int) 0 ;
5001 wxString *arg6 = (wxString *) NULL ;
5002 long arg7 = (long) 0 ;
5003 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5004 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5005 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5006 wxString *arg9 = (wxString *) &arg9_defvalue ;
5007 wxCheckListBox *result;
5008 wxPoint temp3 ;
5009 wxSize temp4 ;
423f194a 5010 bool temp8 = False ;
d14a1e28
RD
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj2 = 0 ;
5013 PyObject * obj3 = 0 ;
5014 PyObject * obj4 = 0 ;
5015 PyObject * obj6 = 0 ;
5016 PyObject * obj7 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5023 if (obj2) {
5024 {
5025 arg3 = &temp3;
5026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5027 }
5028 }
5029 if (obj3) {
5030 {
5031 arg4 = &temp4;
5032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5033 }
5034 }
5035 if (obj4) {
5036 {
5037 arg5 = PyList_Size(obj4);
5038 arg6 = wxString_LIST_helper(obj4);
5039 if (arg6 == NULL) SWIG_fail;
5040 }
5041 }
5042 if (obj6) {
5043 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5044 if (arg8 == NULL) {
5045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5046 }
5047 }
5048 if (obj7) {
5049 {
5050 arg9 = wxString_in_helper(obj7);
5051 if (arg9 == NULL) SWIG_fail;
423f194a 5052 temp8 = True;
d14a1e28
RD
5053 }
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5063 {
5064 if (arg6) delete [] arg6;
5065 }
5066 {
5067 if (temp8)
5068 delete arg9;
5069 }
5070 return resultobj;
5071 fail:
5072 {
5073 if (arg6) delete [] arg6;
5074 }
5075 {
5076 if (temp8)
5077 delete arg9;
5078 }
5079 return NULL;
5080}
5081
5082
5083static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxCheckListBox *result;
5086 char *kwnames[] = {
5087 NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 result = (wxCheckListBox *)new wxCheckListBox();
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
5105static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5108 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5109 int arg3 ;
d14a1e28
RD
5110 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5111 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5112 wxSize const &arg5_defvalue = wxDefaultSize ;
5113 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5114 int arg6 = (int) 0 ;
5115 wxString *arg7 = (wxString *) NULL ;
5116 long arg8 = (long) 0 ;
5117 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5118 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5119 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5120 wxString *arg10 = (wxString *) &arg10_defvalue ;
5121 bool result;
5122 wxPoint temp4 ;
5123 wxSize temp5 ;
423f194a 5124 bool temp9 = False ;
d14a1e28
RD
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 PyObject * obj3 = 0 ;
5128 PyObject * obj4 = 0 ;
5129 PyObject * obj5 = 0 ;
5130 PyObject * obj7 = 0 ;
5131 PyObject * obj8 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 if (obj3) {
5140 {
5141 arg4 = &temp4;
5142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5143 }
5144 }
5145 if (obj4) {
5146 {
5147 arg5 = &temp5;
5148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5149 }
5150 }
5151 if (obj5) {
5152 {
5153 arg6 = PyList_Size(obj5);
5154 arg7 = wxString_LIST_helper(obj5);
5155 if (arg7 == NULL) SWIG_fail;
5156 }
5157 }
5158 if (obj7) {
5159 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5160 if (arg9 == NULL) {
5161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5162 }
5163 }
5164 if (obj8) {
5165 {
5166 arg10 = wxString_in_helper(obj8);
5167 if (arg10 == NULL) SWIG_fail;
423f194a 5168 temp9 = True;
d14a1e28
RD
5169 }
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = PyInt_FromLong((long)result);
5179 {
5180 if (arg7) delete [] arg7;
5181 }
5182 {
5183 if (temp9)
5184 delete arg10;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (arg7) delete [] arg7;
5190 }
5191 {
5192 if (temp9)
5193 delete arg10;
5194 }
5195 return NULL;
5196}
5197
5198
5199static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5202 int arg2 ;
5203 bool result;
5204 PyObject * obj0 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "index", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 result = (bool)(arg1)->IsChecked(arg2);
5214
5215 wxPyEndAllowThreads(__tstate);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 resultobj = PyInt_FromLong((long)result);
5219 return resultobj;
5220 fail:
5221 return NULL;
5222}
5223
5224
5225static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5228 int arg2 ;
423f194a 5229 int arg3 = (int) True ;
d14a1e28
RD
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self",(char *) "index",(char *) "check", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 (arg1)->Check(arg2,arg3);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 Py_INCREF(Py_None); resultobj = Py_None;
5245 return resultobj;
5246 fail:
5247 return NULL;
5248}
5249
5250
5251static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5254 wxPoint *arg2 = 0 ;
5255 int result;
5256 wxPoint temp2 ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self",(char *) "pt", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5265 {
5266 arg2 = &temp2;
5267 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5268 }
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 resultobj = PyInt_FromLong((long)result);
5277 return resultobj;
5278 fail:
5279 return NULL;
5280}
5281
5282
5283static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5284 PyObject *resultobj;
5285 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
423f194a
RD
5286 int arg2 ;
5287 int arg3 ;
d14a1e28
RD
5288 int result;
5289 PyObject * obj0 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "x",(char *) "y", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5296 {
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 resultobj = PyInt_FromLong((long)result);
5304 return resultobj;
5305 fail:
5306 return NULL;
5307}
5308
5309
5310static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5311 PyObject *obj;
5312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5313 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5314 Py_INCREF(obj);
5315 return Py_BuildValue((char *)"");
5316}
5317static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5318 PyObject *resultobj;
5319 wxTextAttr *result;
5320
5321 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = (wxTextAttr *)new wxTextAttr();
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
5336static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5337 PyObject *resultobj;
5338 wxColour *arg1 = 0 ;
5339 wxColour const &arg2_defvalue = wxNullColour ;
5340 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5341 wxFont const &arg3_defvalue = wxNullFont ;
5342 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5343 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5344 wxTextAttr *result;
5345 wxColour temp1 ;
5346 wxColour temp2 ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 PyObject * obj2 = 0 ;
5350
5351 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5352 {
5353 arg1 = &temp1;
5354 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5355 }
5356 if (obj1) {
5357 {
5358 arg2 = &temp2;
5359 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5360 }
5361 }
5362 if (obj2) {
5363 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 if (arg3 == NULL) {
5365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5366 }
5367 }
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5376 return resultobj;
5377 fail:
5378 return NULL;
5379}
5380
5381
5382static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5383 int argc;
5384 PyObject *argv[5];
5385 int ii;
5386
5387 argc = PyObject_Length(args);
5388 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5389 argv[ii] = PyTuple_GetItem(args,ii);
5390 }
5391 if (argc == 0) {
5392 return _wrap_new_TextAttr__SWIG_0(self,args);
5393 }
5394 if ((argc >= 1) && (argc <= 4)) {
5395 int _v;
5396 {
5397 _v = wxColour_typecheck(argv[0]);
5398 }
5399 if (_v) {
5400 if (argc <= 1) {
5401 return _wrap_new_TextAttr__SWIG_1(self,args);
5402 }
5403 {
5404 _v = wxColour_typecheck(argv[1]);
5405 }
5406 if (_v) {
5407 if (argc <= 2) {
5408 return _wrap_new_TextAttr__SWIG_1(self,args);
5409 }
5410 {
5411 void *ptr;
5412 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5413 _v = 0;
5414 PyErr_Clear();
5415 } else {
5416 _v = 1;
5417 }
5418 }
5419 if (_v) {
5420 if (argc <= 3) {
5421 return _wrap_new_TextAttr__SWIG_1(self,args);
5422 }
5423 {
5424 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5425 }
5426 if (_v) {
5427 return _wrap_new_TextAttr__SWIG_1(self,args);
5428 }
5429 }
5430 }
5431 }
5432 }
5433
5434 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5435 return NULL;
5436}
5437
5438
5439static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5442 PyObject * obj0 = 0 ;
5443 char *kwnames[] = {
5444 (char *) "self", NULL
5445 };
5446
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5449 {
5450 PyThreadState* __tstate = wxPyBeginAllowThreads();
5451 (arg1)->Init();
5452
5453 wxPyEndAllowThreads(__tstate);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 Py_INCREF(Py_None); resultobj = Py_None;
5457 return resultobj;
5458 fail:
5459 return NULL;
5460}
5461
5462
5463static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5466 wxColour *arg2 = 0 ;
5467 wxColour temp2 ;
5468 PyObject * obj0 = 0 ;
5469 PyObject * obj1 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "colText", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5476 {
5477 arg2 = &temp2;
5478 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5479 }
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 (arg1)->SetTextColour((wxColour const &)*arg2);
5483
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 Py_INCREF(Py_None); resultobj = Py_None;
5488 return resultobj;
5489 fail:
5490 return NULL;
5491}
5492
5493
5494static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj;
5496 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5497 wxColour *arg2 = 0 ;
5498 wxColour temp2 ;
5499 PyObject * obj0 = 0 ;
5500 PyObject * obj1 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "colBack", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5507 {
5508 arg2 = &temp2;
5509 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5510 }
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 Py_INCREF(Py_None); resultobj = Py_None;
5519 return resultobj;
5520 fail:
5521 return NULL;
5522}
5523
5524
5525static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5528 wxFont *arg2 = 0 ;
5529 long arg3 = (long) wxTEXT_ATTR_FONT ;
5530 PyObject * obj0 = 0 ;
5531 PyObject * obj1 = 0 ;
5532 char *kwnames[] = {
5533 (char *) "self",(char *) "font",(char *) "flags", NULL
5534 };
5535
5536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5539 if (arg2 == NULL) {
5540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5541 }
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 (arg1)->SetFont((wxFont const &)*arg2,arg3);
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
5556static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5559 int arg2 ;
5560 PyObject * obj0 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "alignment", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
5581static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5584 wxArrayInt *arg2 = 0 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "tabs", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 {
5594 if (! PySequence_Check(obj1)) {
5595 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5596 SWIG_fail;
5597 }
5598 arg2 = new wxArrayInt;
5599 int i, len=PySequence_Length(obj1);
5600 for (i=0; i<len; i++) {
5601 PyObject* item = PySequence_GetItem(obj1, i);
5602 PyObject* number = PyNumber_Int(item);
5603 arg2->Add(PyInt_AS_LONG(number));
5604 Py_DECREF(item);
5605 Py_DECREF(number);
5606 }
5607 }
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 Py_INCREF(Py_None); resultobj = Py_None;
5616 {
5617 if (arg2) delete arg2;
5618 }
5619 return resultobj;
5620 fail:
5621 {
5622 if (arg2) delete arg2;
5623 }
5624 return NULL;
5625}
5626
5627
5628static PyObject *_wrap_TextAttr_SetLeftIndent(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_SetLeftIndent",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)->SetLeftIndent(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
5653static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5656 int arg2 ;
5657 PyObject * obj0 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "indent", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",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)->SetRightIndent(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
5678static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5681 long arg2 ;
5682 PyObject * obj0 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self",(char *) "flags", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) 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 (arg1)->SetFlags(arg2);
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 Py_INCREF(Py_None); resultobj = Py_None;
5697 return resultobj;
5698 fail:
5699 return NULL;
5700}
5701
5702
5703static PyObject *_wrap_TextAttr_HasTextColour(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_HasTextColour",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)->HasTextColour();
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
5728static PyObject *_wrap_TextAttr_HasBackgroundColour(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_HasBackgroundColour",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)->HasBackgroundColour();
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
5753static PyObject *_wrap_TextAttr_HasFont(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_HasFont",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)->HasFont();
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
5778static PyObject *_wrap_TextAttr_HasAlignment(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_HasAlignment",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)->HasAlignment();
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
5803static PyObject *_wrap_TextAttr_HasTabs(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_HasTabs",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)->HasTabs();
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
5828static PyObject *_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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)->HasLeftIndent();
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
5853static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5856 bool result;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 resultobj = PyInt_FromLong((long)result);
5872 return resultobj;
5873 fail:
5874 return NULL;
5875}
5876
5877
5878static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5881 long arg2 ;
5882 bool result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self",(char *) "flag", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) 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 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = PyInt_FromLong((long)result);
5898 return resultobj;
5899 fail:
5900 return NULL;
5901}
5902
5903
5904static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5907 wxColour *result;
5908 PyObject * obj0 = 0 ;
5909 char *kwnames[] = {
5910 (char *) "self", NULL
5911 };
5912
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 {
5918 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5919 result = (wxColour *) &_result_ref;
5920 }
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929}
5930
5931
5932static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj;
5934 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5935 wxColour *result;
5936 PyObject * obj0 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 {
5946 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5947 result = (wxColour *) &_result_ref;
5948 }
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
5960static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5963 wxFont *result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 {
5974 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5975 result = (wxFont *) &_result_ref;
5976 }
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5982 return resultobj;
5983 fail:
5984 return NULL;
5985}
5986
5987
5988static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5991 int result;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",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 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = PyInt_FromLong((long)result);
6007 return resultobj;
6008 fail:
6009 return NULL;
6010}
6011
6012
6013static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6016 wxArrayInt *result;
6017 PyObject * obj0 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 {
6027 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6028 result = (wxArrayInt *) &_result_ref;
6029 }
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 {
6035 resultobj = PyList_New(0);
6036 size_t idx;
6037 for (idx = 0; idx < result->GetCount(); idx += 1) {
6038 PyObject* val = PyInt_FromLong( result->Item(idx) );
6039 PyList_Append(resultobj, val);
6040 Py_DECREF(val);
6041 }
6042 }
6043 return resultobj;
6044 fail:
6045 return NULL;
6046}
6047
6048
6049static PyObject *_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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)->GetLeftIndent();
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
6074static PyObject *_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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)->GetRightIndent();
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
6099static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6102 long result;
6103 PyObject * obj0 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",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 = (long)((wxTextAttr const *)arg1)->GetFlags();
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
6124static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = PyInt_FromLong((long)result);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146}
6147
6148
6149static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxTextAttr *arg1 = 0 ;
6152 wxTextAttr *arg2 = 0 ;
6153 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6154 wxTextAttr result;
6155 PyObject * obj0 = 0 ;
6156 PyObject * obj1 = 0 ;
6157 PyObject * obj2 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6164 if (arg1 == NULL) {
6165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6166 }
6167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6168 if (arg2 == NULL) {
6169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6170 }
6171 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 {
6180 wxTextAttr * resultptr;
6181 resultptr = new wxTextAttr((wxTextAttr &) result);
6182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6183 }
6184 return resultobj;
6185 fail:
6186 return NULL;
6187}
6188
6189
6190static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6191 PyObject *obj;
6192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6193 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6194 Py_INCREF(obj);
6195 return Py_BuildValue((char *)"");
6196}
6197static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6200 int arg2 ;
d14a1e28
RD
6201 wxString const &arg3_defvalue = wxPyEmptyString ;
6202 wxString *arg3 = (wxString *) &arg3_defvalue ;
6203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6205 wxSize const &arg5_defvalue = wxDefaultSize ;
6206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6207 long arg6 = (long) 0 ;
6208 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6209 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6210 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6211 wxString *arg8 = (wxString *) &arg8_defvalue ;
6212 wxTextCtrl *result;
423f194a 6213 bool temp3 = False ;
d14a1e28
RD
6214 wxPoint temp4 ;
6215 wxSize temp5 ;
423f194a 6216 bool temp8 = False ;
d14a1e28
RD
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj2 = 0 ;
6219 PyObject * obj3 = 0 ;
6220 PyObject * obj4 = 0 ;
6221 PyObject * obj6 = 0 ;
6222 PyObject * obj7 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6229 if (obj2) {
6230 {
6231 arg3 = wxString_in_helper(obj2);
6232 if (arg3 == NULL) SWIG_fail;
423f194a 6233 temp3 = True;
d14a1e28
RD
6234 }
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = &temp4;
6239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6240 }
6241 }
6242 if (obj4) {
6243 {
6244 arg5 = &temp5;
6245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6246 }
6247 }
6248 if (obj6) {
6249 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6250 if (arg7 == NULL) {
6251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6252 }
6253 }
6254 if (obj7) {
6255 {
6256 arg8 = wxString_in_helper(obj7);
6257 if (arg8 == NULL) SWIG_fail;
423f194a 6258 temp8 = True;
d14a1e28
RD
6259 }
6260 }
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 {
6269 resultobj = wxPyMake_wxObject(result);
6270 }
6271 {
6272 if (temp3)
6273 delete arg3;
6274 }
6275 {
6276 if (temp8)
6277 delete arg8;
6278 }
6279 return resultobj;
6280 fail:
6281 {
6282 if (temp3)
6283 delete arg3;
6284 }
6285 {
6286 if (temp8)
6287 delete arg8;
6288 }
6289 return NULL;
6290}
6291
6292
6293static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxTextCtrl *result;
6296 char *kwnames[] = {
6297 NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (wxTextCtrl *)new wxTextCtrl();
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 {
6309 resultobj = wxPyMake_wxObject(result);
6310 }
6311 return resultobj;
6312 fail:
6313 return NULL;
6314}
6315
6316
6317static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6320 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 6321 int arg3 ;
d14a1e28
RD
6322 wxString const &arg4_defvalue = wxPyEmptyString ;
6323 wxString *arg4 = (wxString *) &arg4_defvalue ;
6324 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6325 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6326 wxSize const &arg6_defvalue = wxDefaultSize ;
6327 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6328 long arg7 = (long) 0 ;
6329 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6330 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6331 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6332 wxString *arg9 = (wxString *) &arg9_defvalue ;
6333 bool result;
423f194a 6334 bool temp4 = False ;
d14a1e28
RD
6335 wxPoint temp5 ;
6336 wxSize temp6 ;
423f194a 6337 bool temp9 = False ;
d14a1e28
RD
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 PyObject * obj3 = 0 ;
6341 PyObject * obj4 = 0 ;
6342 PyObject * obj5 = 0 ;
6343 PyObject * obj7 = 0 ;
6344 PyObject * obj8 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352 if (obj3) {
6353 {
6354 arg4 = wxString_in_helper(obj3);
6355 if (arg4 == NULL) SWIG_fail;
423f194a 6356 temp4 = True;
d14a1e28
RD
6357 }
6358 }
6359 if (obj4) {
6360 {
6361 arg5 = &temp5;
6362 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6363 }
6364 }
6365 if (obj5) {
6366 {
6367 arg6 = &temp6;
6368 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6369 }
6370 }
6371 if (obj7) {
6372 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6373 if (arg8 == NULL) {
6374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6375 }
6376 }
6377 if (obj8) {
6378 {
6379 arg9 = wxString_in_helper(obj8);
6380 if (arg9 == NULL) SWIG_fail;
423f194a 6381 temp9 = True;
d14a1e28
RD
6382 }
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 resultobj = PyInt_FromLong((long)result);
6392 {
6393 if (temp4)
6394 delete arg4;
6395 }
6396 {
6397 if (temp9)
6398 delete arg9;
6399 }
6400 return resultobj;
6401 fail:
6402 {
6403 if (temp4)
6404 delete arg4;
6405 }
6406 {
6407 if (temp9)
6408 delete arg9;
6409 }
6410 return NULL;
6411}
6412
6413
6414static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6417 wxString result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = ((wxTextCtrl const *)arg1)->GetValue();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 {
6433#if wxUSE_UNICODE
6434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6435#else
6436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6437#endif
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442}
6443
6444
6445static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6448 wxString *arg2 = 0 ;
423f194a 6449 bool temp2 = False ;
d14a1e28
RD
6450 PyObject * obj0 = 0 ;
6451 PyObject * obj1 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "value", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 {
6459 arg2 = wxString_in_helper(obj1);
6460 if (arg2 == NULL) SWIG_fail;
423f194a 6461 temp2 = True;
d14a1e28
RD
6462 }
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 (arg1)->SetValue((wxString const &)*arg2);
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 Py_INCREF(Py_None); resultobj = Py_None;
6471 {
6472 if (temp2)
6473 delete arg2;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp2)
6479 delete arg2;
6480 }
6481 return NULL;
6482}
6483
6484
6485static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6488 long arg2 ;
6489 long arg3 ;
6490 wxString result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self",(char *) "from",(char *) "to", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 {
6506#if wxUSE_UNICODE
6507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6508#else
6509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6510#endif
6511 }
6512 return resultobj;
6513 fail:
6514 return NULL;
6515}
6516
6517
6518static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6521 long arg2 ;
6522 int result;
6523 PyObject * obj0 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "lineNo", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 resultobj = PyInt_FromLong((long)result);
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
6544static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6545 PyObject *resultobj;
6546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6547 long arg2 ;
6548 wxString result;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self",(char *) "lineNo", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 {
6564#if wxUSE_UNICODE
6565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6566#else
6567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6568#endif
6569 }
6570 return resultobj;
6571 fail:
6572 return NULL;
6573}
6574
6575
6576static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj;
6578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6579 int result;
6580 PyObject * obj0 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",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 = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
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
6601static PyObject *_wrap_TextCtrl_IsModified(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_IsModified",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)->IsModified();
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
6626static PyObject *_wrap_TextCtrl_IsEditable(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_IsEditable",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)->IsEditable();
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
6651static PyObject *_wrap_TextCtrl_IsSingleLine(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_IsSingleLine",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)->IsSingleLine();
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
6676static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6679 bool result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 resultobj = PyInt_FromLong((long)result);
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6704 long *arg2 = (long *) 0 ;
6705 long *arg3 = (long *) 0 ;
6706 long temp2 ;
6707 long temp3 ;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "self", NULL
6711 };
6712
6713 arg2 = &temp2;
6714 arg3 = &temp3;
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 {
6726 PyObject *o = PyInt_FromLong((long) (*arg2));
6727 resultobj = t_output_helper(resultobj,o);
6728 }
6729 {
6730 PyObject *o = PyInt_FromLong((long) (*arg3));
6731 resultobj = t_output_helper(resultobj,o);
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736}
6737
6738
6739static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6742 wxString result;
6743 PyObject * obj0 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "self", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 {
6758#if wxUSE_UNICODE
6759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6760#else
6761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6762#endif
6763 }
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
6770static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6773 PyObject * obj0 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 (arg1)->Clear();
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 Py_INCREF(Py_None); resultobj = Py_None;
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
6794static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6797 long arg2 ;
6798 long arg3 ;
6799 wxString *arg4 = 0 ;
423f194a 6800 bool temp4 = False ;
d14a1e28
RD
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj3 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 arg4 = wxString_in_helper(obj3);
6811 if (arg4 == NULL) SWIG_fail;
423f194a 6812 temp4 = True;
d14a1e28
RD
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 {
6823 if (temp4)
6824 delete arg4;
6825 }
6826 return resultobj;
6827 fail:
6828 {
6829 if (temp4)
6830 delete arg4;
6831 }
6832 return NULL;
6833}
6834
6835
6836static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject *resultobj;
6838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6839 long arg2 ;
6840 long arg3 ;
6841 PyObject * obj0 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "from",(char *) "to", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->Remove(arg2,arg3);
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 Py_INCREF(Py_None); resultobj = Py_None;
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
6862static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6865 wxString *arg2 = 0 ;
6866 bool result;
423f194a 6867 bool temp2 = False ;
d14a1e28
RD
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self",(char *) "file", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6876 {
6877 arg2 = wxString_in_helper(obj1);
6878 if (arg2 == NULL) SWIG_fail;
423f194a 6879 temp2 = True;
d14a1e28
RD
6880 }
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6884
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) SWIG_fail;
6887 }
6888 resultobj = PyInt_FromLong((long)result);
6889 {
6890 if (temp2)
6891 delete arg2;
6892 }
6893 return resultobj;
6894 fail:
6895 {
6896 if (temp2)
6897 delete arg2;
6898 }
6899 return NULL;
6900}
6901
6902
6903static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject *resultobj;
6905 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6906 wxString const &arg2_defvalue = wxPyEmptyString ;
6907 wxString *arg2 = (wxString *) &arg2_defvalue ;
6908 bool result;
423f194a 6909 bool temp2 = False ;
d14a1e28
RD
6910 PyObject * obj0 = 0 ;
6911 PyObject * obj1 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "file", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6918 if (obj1) {
6919 {
6920 arg2 = wxString_in_helper(obj1);
6921 if (arg2 == NULL) SWIG_fail;
423f194a 6922 temp2 = True;
d14a1e28
RD
6923 }
6924 }
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = PyInt_FromLong((long)result);
6933 {
6934 if (temp2)
6935 delete arg2;
6936 }
6937 return resultobj;
6938 fail:
6939 {
6940 if (temp2)
6941 delete arg2;
6942 }
6943 return NULL;
6944}
6945
6946
6947static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6950 PyObject * obj0 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->MarkDirty();
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
6971static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 (arg1)->DiscardEdits();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992}
6993
6994
6995static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6998 unsigned long arg2 ;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj1 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self",(char *) "len", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 arg2 = (unsigned long) PyInt_AsLong(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetMaxLength(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
7023static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7026 wxString *arg2 = 0 ;
423f194a 7027 bool temp2 = False ;
d14a1e28
RD
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "text", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 {
7037 arg2 = wxString_in_helper(obj1);
7038 if (arg2 == NULL) SWIG_fail;
423f194a 7039 temp2 = True;
d14a1e28
RD
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->WriteText((wxString const &)*arg2);
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 Py_INCREF(Py_None); resultobj = Py_None;
7049 {
7050 if (temp2)
7051 delete arg2;
7052 }
7053 return resultobj;
7054 fail:
7055 {
7056 if (temp2)
7057 delete arg2;
7058 }
7059 return NULL;
7060}
7061
7062
7063static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7066 wxString *arg2 = 0 ;
423f194a 7067 bool temp2 = False ;
d14a1e28
RD
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self",(char *) "text", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7076 {
7077 arg2 = wxString_in_helper(obj1);
7078 if (arg2 == NULL) SWIG_fail;
423f194a 7079 temp2 = True;
d14a1e28
RD
7080 }
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 (arg1)->AppendText((wxString const &)*arg2);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 Py_INCREF(Py_None); resultobj = Py_None;
7089 {
7090 if (temp2)
7091 delete arg2;
7092 }
7093 return resultobj;
7094 fail:
7095 {
7096 if (temp2)
7097 delete arg2;
7098 }
7099 return NULL;
7100}
7101
7102
7103static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7106 wxKeyEvent *arg2 = 0 ;
7107 bool result;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "event", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 if (arg2 == NULL) {
7118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7119 }
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 resultobj = PyInt_FromLong((long)result);
7128 return resultobj;
7129 fail:
7130 return NULL;
7131}
7132
7133
7134static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7137 long arg2 ;
7138 long arg3 ;
7139 wxTextAttr *arg4 = 0 ;
7140 bool result;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj3 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7149 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 if (arg4 == NULL) {
7151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = PyInt_FromLong((long)result);
7161 return resultobj;
7162 fail:
7163 return NULL;
7164}
7165
7166
7167static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7170 long arg2 ;
7171 wxTextAttr *arg3 = 0 ;
7172 bool result;
7173 PyObject * obj0 = 0 ;
7174 PyObject * obj2 = 0 ;
7175 char *kwnames[] = {
7176 (char *) "self",(char *) "position",(char *) "style", NULL
7177 };
7178
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7181 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7182 if (arg3 == NULL) {
7183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7184 }
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = PyInt_FromLong((long)result);
7193 return resultobj;
7194 fail:
7195 return NULL;
7196}
7197
7198
7199static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj;
7201 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7202 wxTextAttr *arg2 = 0 ;
7203 bool result;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self",(char *) "style", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7213 if (arg2 == NULL) {
7214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = PyInt_FromLong((long)result);
7224 return resultobj;
7225 fail:
7226 return NULL;
7227}
7228
7229
7230static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7233 wxTextAttr *result;
7234 PyObject * obj0 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 {
7244 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7245 result = (wxTextAttr *) &_result_ref;
7246 }
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
7258static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj;
7260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7261 long arg2 ;
7262 long arg3 ;
7263 long result;
7264 PyObject * obj0 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "x",(char *) "y", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = PyInt_FromLong((long)result);
7279 return resultobj;
7280 fail:
7281 return NULL;
7282}
7283
7284
7285static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7288 long arg2 ;
7289 long *arg3 = (long *) 0 ;
7290 long *arg4 = (long *) 0 ;
7291 long temp3 ;
7292 long temp4 ;
7293 PyObject * obj0 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "pos", NULL
7296 };
7297
7298 arg3 = &temp3;
7299 arg4 = &temp4;
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 {
7311 PyObject *o = PyInt_FromLong((long) (*arg3));
7312 resultobj = t_output_helper(resultobj,o);
7313 }
7314 {
7315 PyObject *o = PyInt_FromLong((long) (*arg4));
7316 resultobj = t_output_helper(resultobj,o);
7317 }
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
7324static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7327 long arg2 ;
7328 PyObject * obj0 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "pos", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 (arg1)->ShowPosition(arg2);
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 Py_INCREF(Py_None); resultobj = Py_None;
7343 return resultobj;
7344 fail:
7345 return NULL;
7346}
7347
7348
7349static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7350 PyObject *resultobj;
7351 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->Copy();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 return resultobj;
7368 fail:
7369 return NULL;
7370}
7371
7372
7373static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 (arg1)->Cut();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
7397static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->Paste();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418}
7419
7420
7421static PyObject *_wrap_TextCtrl_CanCopy(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_CanCopy",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)->CanCopy();
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
7446static PyObject *_wrap_TextCtrl_CanCut(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_CanCut",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)->CanCut();
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
7471static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7474 bool result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = PyInt_FromLong((long)result);
7490 return resultobj;
7491 fail:
7492 return NULL;
7493}
7494
7495
7496static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 (arg1)->Undo();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 Py_INCREF(Py_None); resultobj = Py_None;
7514 return resultobj;
7515 fail:
7516 return NULL;
7517}
7518
7519
7520static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 (arg1)->Redo();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 Py_INCREF(Py_None); resultobj = Py_None;
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
7544static PyObject *_wrap_TextCtrl_CanUndo(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_CanUndo",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)->CanUndo();
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
7569static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7572 bool result;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) 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 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = PyInt_FromLong((long)result);
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
7594static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7597 long arg2 ;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self",(char *) "pos", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->SetInsertionPoint(arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616}
7617
7618
7619static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",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 (arg1)->SetInsertionPointEnd();
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 Py_INCREF(Py_None); resultobj = Py_None;
7637 return resultobj;
7638 fail:
7639 return NULL;
7640}
7641
7642
7643static PyObject *_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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)->GetInsertionPoint();
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
7668static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7671 long result;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = PyInt_FromLong((long)result);
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
7693static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7696 long arg2 ;
7697 long arg3 ;
7698 PyObject * obj0 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "from",(char *) "to", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 (arg1)->SetSelection(arg2,arg3);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 Py_INCREF(Py_None); resultobj = Py_None;
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SelectAll();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
7743static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7746 bool arg2 ;
7747 PyObject * obj0 = 0 ;
7748 PyObject * obj1 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self",(char *) "editable", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7755 arg2 = PyInt_AsLong(obj1) ? true : false;
7756 if (PyErr_Occurred()) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 (arg1)->SetEditable(arg2);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 Py_INCREF(Py_None); resultobj = Py_None;
7765 return resultobj;
7766 fail:
7767 return NULL;
7768}
7769
7770
7771static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7774 wxString *arg2 = 0 ;
423f194a 7775 bool temp2 = False ;
d14a1e28
RD
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "text", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 {
7785 arg2 = wxString_in_helper(obj1);
7786 if (arg2 == NULL) SWIG_fail;
423f194a 7787 temp2 = True;
d14a1e28
RD
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 {
7798 if (temp2)
7799 delete arg2;
7800 }
7801 return resultobj;
7802 fail:
7803 {
7804 if (temp2)
7805 delete arg2;
7806 }
7807 return NULL;
7808}
7809
7810
7811static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7814 long arg2 ;
7815 long arg3 ;
7816 wxString result;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self",(char *) "from",(char *) "to", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 {
7832#if wxUSE_UNICODE
7833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7834#else
7835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7836#endif
7837 }
7838 return resultobj;
7839 fail:
7840 return NULL;
7841}
7842
7843
7844static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7845 PyObject *obj;
7846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7847 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7848 Py_INCREF(obj);
7849 return Py_BuildValue((char *)"");
7850}
7851static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 int arg1 ;
7854 wxMouseEvent *arg2 = 0 ;
7855 long arg3 ;
7856 long arg4 ;
7857 wxTextUrlEvent *result;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7865 if (arg2 == NULL) {
7866 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7867 }
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
7882static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7885 wxMouseEvent *result;
7886 PyObject * obj0 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 {
7896 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7897 result = (wxMouseEvent *) &_result_ref;
7898 }
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7904 return resultobj;
7905 fail:
7906 return NULL;
7907}
7908
7909
7910static PyObject *_wrap_TextUrlEvent_GetURLStart(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_GetURLStart",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)->GetURLStart();
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
7935static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7938 long result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = PyInt_FromLong((long)result);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
7960static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7961 PyObject *obj;
7962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7963 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7964 Py_INCREF(obj);
7965 return Py_BuildValue((char *)"");
7966}
7967static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7968 PyObject *resultobj;
7969 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7970 int arg2 = (int) -1 ;
d14a1e28
RD
7971 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7972 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7973 wxSize const &arg4_defvalue = wxDefaultSize ;
7974 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7975 long arg5 = (long) wxSB_HORIZONTAL ;
7976 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7977 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7978 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7979 wxString *arg7 = (wxString *) &arg7_defvalue ;
7980 wxScrollBar *result;
7981 wxPoint temp3 ;
7982 wxSize temp4 ;
423f194a 7983 bool temp7 = False ;
d14a1e28
RD
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj2 = 0 ;
7986 PyObject * obj3 = 0 ;
7987 PyObject * obj5 = 0 ;
7988 PyObject * obj6 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 if (obj2) {
7996 {
7997 arg3 = &temp3;
7998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7999 }
8000 }
8001 if (obj3) {
8002 {
8003 arg4 = &temp4;
8004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8005 }
8006 }
8007 if (obj5) {
8008 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 if (arg6 == NULL) {
8010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8011 }
8012 }
8013 if (obj6) {
8014 {
8015 arg7 = wxString_in_helper(obj6);
8016 if (arg7 == NULL) SWIG_fail;
423f194a 8017 temp7 = True;
d14a1e28
RD
8018 }
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8028 {
8029 if (temp7)
8030 delete arg7;
8031 }
8032 return resultobj;
8033 fail:
8034 {
8035 if (temp7)
8036 delete arg7;
8037 }
8038 return NULL;
8039}
8040
8041
8042static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8043 PyObject *resultobj;
8044 wxScrollBar *result;
8045 char *kwnames[] = {
8046 NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = (wxScrollBar *)new wxScrollBar();
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8058 return resultobj;
8059 fail:
8060 return NULL;
8061}
8062
8063
8064static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8067 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8068 int arg3 = (int) -1 ;
d14a1e28
RD
8069 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8070 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8071 wxSize const &arg5_defvalue = wxDefaultSize ;
8072 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8073 long arg6 = (long) wxSB_HORIZONTAL ;
8074 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8075 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8076 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8077 wxString *arg8 = (wxString *) &arg8_defvalue ;
8078 bool result;
8079 wxPoint temp4 ;
8080 wxSize temp5 ;
423f194a 8081 bool temp8 = False ;
d14a1e28
RD
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj3 = 0 ;
8085 PyObject * obj4 = 0 ;
8086 PyObject * obj6 = 0 ;
8087 PyObject * obj7 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8094 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 if (obj3) {
8096 {
8097 arg4 = &temp4;
8098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8099 }
8100 }
8101 if (obj4) {
8102 {
8103 arg5 = &temp5;
8104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8105 }
8106 }
8107 if (obj6) {
8108 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 if (arg7 == NULL) {
8110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8111 }
8112 }
8113 if (obj7) {
8114 {
8115 arg8 = wxString_in_helper(obj7);
8116 if (arg8 == NULL) SWIG_fail;
423f194a 8117 temp8 = True;
d14a1e28
RD
8118 }
8119 }
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 resultobj = PyInt_FromLong((long)result);
8128 {
8129 if (temp8)
8130 delete arg8;
8131 }
8132 return resultobj;
8133 fail:
8134 {
8135 if (temp8)
8136 delete arg8;
8137 }
8138 return NULL;
8139}
8140
8141
8142static PyObject *_wrap_ScrollBar_GetThumbPosition(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_GetThumbPosition",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)->GetThumbPosition();
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
8167static PyObject *_wrap_ScrollBar_GetThumbSize(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_GetThumbSize",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)->GetThumbSize();
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
8192static PyObject *_wrap_ScrollBar_GetPageSize(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_GetPageSize",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)->GetPageSize();
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
8217static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8220 int result;
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",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 = (int)((wxScrollBar const *)arg1)->GetRange();
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
8242static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8245 bool result;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) 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 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 resultobj = PyInt_FromLong((long)result);
8261 return resultobj;
8262 fail:
8263 return NULL;
8264}
8265
8266
8267static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj;
8269 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8270 int arg2 ;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self",(char *) "viewStart", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 (arg1)->SetThumbPosition(arg2);
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 Py_INCREF(Py_None); resultobj = Py_None;
8286 return resultobj;
8287 fail:
8288 return NULL;
8289}
8290
8291
8292static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8295 int arg2 ;
8296 int arg3 ;
8297 int arg4 ;
8298 int arg5 ;
423f194a 8299 bool arg6 = (bool) True ;
d14a1e28
RD
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj5 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 if (obj5) {
8309 arg6 = PyInt_AsLong(obj5) ? true : false;
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 Py_INCREF(Py_None); resultobj = Py_None;
8320 return resultobj;
8321 fail:
8322 return NULL;
8323}
8324
8325
8326static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8327 PyObject *obj;
8328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8329 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8330 Py_INCREF(obj);
8331 return Py_BuildValue((char *)"");
8332}
8333static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8336 int arg2 = (int) -1 ;
d14a1e28
RD
8337 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8338 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8339 wxSize const &arg4_defvalue = wxDefaultSize ;
8340 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8341 long arg5 = (long) wxSP_HORIZONTAL ;
8342 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8343 wxString *arg6 = (wxString *) &arg6_defvalue ;
8344 wxSpinButton *result;
8345 wxPoint temp3 ;
8346 wxSize temp4 ;
423f194a 8347 bool temp6 = False ;
d14a1e28
RD
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj2 = 0 ;
8350 PyObject * obj3 = 0 ;
8351 PyObject * obj5 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8358 if (obj2) {
8359 {
8360 arg3 = &temp3;
8361 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8362 }
8363 }
8364 if (obj3) {
8365 {
8366 arg4 = &temp4;
8367 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8368 }
8369 }
8370 if (obj5) {
8371 {
8372 arg6 = wxString_in_helper(obj5);
8373 if (arg6 == NULL) SWIG_fail;
423f194a 8374 temp6 = True;
d14a1e28
RD
8375 }
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8385 {
8386 if (temp6)
8387 delete arg6;
8388 }
8389 return resultobj;
8390 fail:
8391 {
8392 if (temp6)
8393 delete arg6;
8394 }
8395 return NULL;
8396}
8397
8398
8399static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxSpinButton *result;
8402 char *kwnames[] = {
8403 NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxSpinButton *)new wxSpinButton();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
8421static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8424 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8425 int arg3 = (int) -1 ;
d14a1e28
RD
8426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8428 wxSize const &arg5_defvalue = wxDefaultSize ;
8429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8430 long arg6 = (long) wxSP_HORIZONTAL ;
8431 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8432 wxString *arg7 = (wxString *) &arg7_defvalue ;
8433 bool result;
8434 wxPoint temp4 ;
8435 wxSize temp5 ;
423f194a 8436 bool temp7 = False ;
d14a1e28
RD
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj1 = 0 ;
8439 PyObject * obj3 = 0 ;
8440 PyObject * obj4 = 0 ;
8441 PyObject * obj6 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 if (obj3) {
8450 {
8451 arg4 = &temp4;
8452 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8453 }
8454 }
8455 if (obj4) {
8456 {
8457 arg5 = &temp5;
8458 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8459 }
8460 }
8461 if (obj6) {
8462 {
8463 arg7 = wxString_in_helper(obj6);
8464 if (arg7 == NULL) SWIG_fail;
423f194a 8465 temp7 = True;
d14a1e28
RD
8466 }
8467 }
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = PyInt_FromLong((long)result);
8476 {
8477 if (temp7)
8478 delete arg7;
8479 }
8480 return resultobj;
8481 fail:
8482 {
8483 if (temp7)
8484 delete arg7;
8485 }
8486 return NULL;
8487}
8488
8489
8490static PyObject *_wrap_SpinButton_GetValue(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_GetValue",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)->GetValue();
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
8515static PyObject *_wrap_SpinButton_GetMin(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_GetMin",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)->GetMin();
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
8540static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8543 int result;
8544 PyObject * obj0 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self", NULL
8547 };
8548
8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) 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 result = (int)((wxSpinButton const *)arg1)->GetMax();
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = PyInt_FromLong((long)result);
8559 return resultobj;
8560 fail:
8561 return NULL;
8562}
8563
8564
8565static PyObject *_wrap_SpinButton_SetValue(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 *) "val", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",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)->SetValue(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
8590static PyObject *_wrap_SpinButton_SetMin(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 *) "minVal", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",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)->SetMin(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
8615static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject *resultobj;
8617 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8618 int arg2 ;
8619 PyObject * obj0 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "self",(char *) "maxVal", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 (arg1)->SetMax(arg2);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 Py_INCREF(Py_None); resultobj = Py_None;
8634 return resultobj;
8635 fail:
8636 return NULL;
8637}
8638
8639
8640static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8643 int arg2 ;
8644 int arg3 ;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetRange(arg2,arg3);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 Py_INCREF(Py_None); resultobj = Py_None;
8660 return resultobj;
8661 fail:
8662 return NULL;
8663}
8664
8665
8666static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8669 bool result;
8670 PyObject * obj0 = 0 ;
8671 char *kwnames[] = {
8672 (char *) "self", NULL
8673 };
8674
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8680
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = PyInt_FromLong((long)result);
8685 return resultobj;
8686 fail:
8687 return NULL;
8688}
8689
8690
8691static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8692 PyObject *obj;
8693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8694 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8695 Py_INCREF(obj);
8696 return Py_BuildValue((char *)"");
8697}
8698static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8701 int arg2 = (int) -1 ;
d14a1e28
RD
8702 wxString const &arg3_defvalue = wxPyEmptyString ;
8703 wxString *arg3 = (wxString *) &arg3_defvalue ;
8704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8706 wxSize const &arg5_defvalue = wxDefaultSize ;
8707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8708 long arg6 = (long) wxSP_ARROW_KEYS ;
8709 int arg7 = (int) 0 ;
8710 int arg8 = (int) 100 ;
8711 int arg9 = (int) 0 ;
8712 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8713 wxString *arg10 = (wxString *) &arg10_defvalue ;
8714 wxSpinCtrl *result;
423f194a 8715 bool temp3 = False ;
d14a1e28
RD
8716 wxPoint temp4 ;
8717 wxSize temp5 ;
423f194a 8718 bool temp10 = False ;
d14a1e28
RD
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 PyObject * obj3 = 0 ;
8722 PyObject * obj4 = 0 ;
8723 PyObject * obj9 = 0 ;
8724 char *kwnames[] = {
8725 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8726 };
8727
8728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8730 if (obj2) {
8731 {
8732 arg3 = wxString_in_helper(obj2);
8733 if (arg3 == NULL) SWIG_fail;
423f194a 8734 temp3 = True;
d14a1e28
RD
8735 }
8736 }
8737 if (obj3) {
8738 {
8739 arg4 = &temp4;
8740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8741 }
8742 }
8743 if (obj4) {
8744 {
8745 arg5 = &temp5;
8746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8747 }
8748 }
8749 if (obj9) {
8750 {
8751 arg10 = wxString_in_helper(obj9);
8752 if (arg10 == NULL) SWIG_fail;
423f194a 8753 temp10 = True;
d14a1e28
RD
8754 }
8755 }
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8764 {
8765 if (temp3)
8766 delete arg3;
8767 }
8768 {
8769 if (temp10)
8770 delete arg10;
8771 }
8772 return resultobj;
8773 fail:
8774 {
8775 if (temp3)
8776 delete arg3;
8777 }
8778 {
8779 if (temp10)
8780 delete arg10;
8781 }
8782 return NULL;
8783}
8784
8785
8786static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxSpinCtrl *result;
8789 char *kwnames[] = {
8790 NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 result = (wxSpinCtrl *)new wxSpinCtrl();
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8802 return resultobj;
8803 fail:
8804 return NULL;
8805}
8806
8807
8808static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8811 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8812 int arg3 = (int) -1 ;
d14a1e28
RD
8813 wxString const &arg4_defvalue = wxPyEmptyString ;
8814 wxString *arg4 = (wxString *) &arg4_defvalue ;
8815 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8816 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8817 wxSize const &arg6_defvalue = wxDefaultSize ;
8818 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8819 long arg7 = (long) wxSP_ARROW_KEYS ;
8820 int arg8 = (int) 0 ;
8821 int arg9 = (int) 100 ;
8822 int arg10 = (int) 0 ;
8823 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8824 wxString *arg11 = (wxString *) &arg11_defvalue ;
8825 bool result;
423f194a 8826 bool temp4 = False ;
d14a1e28
RD
8827 wxPoint temp5 ;
8828 wxSize temp6 ;
423f194a 8829 bool temp11 = False ;
d14a1e28
RD
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 PyObject * obj3 = 0 ;
8833 PyObject * obj4 = 0 ;
8834 PyObject * obj5 = 0 ;
8835 PyObject * obj10 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8843 if (obj3) {
8844 {
8845 arg4 = wxString_in_helper(obj3);
8846 if (arg4 == NULL) SWIG_fail;
423f194a 8847 temp4 = True;
d14a1e28
RD
8848 }
8849 }
8850 if (obj4) {
8851 {
8852 arg5 = &temp5;
8853 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8854 }
8855 }
8856 if (obj5) {
8857 {
8858 arg6 = &temp6;
8859 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8860 }
8861 }
8862 if (obj10) {
8863 {
8864 arg11 = wxString_in_helper(obj10);
8865 if (arg11 == NULL) SWIG_fail;
423f194a 8866 temp11 = True;
d14a1e28
RD
8867 }
8868 }
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 resultobj = PyInt_FromLong((long)result);
8877 {
8878 if (temp4)
8879 delete arg4;
8880 }
8881 {
8882 if (temp11)
8883 delete arg11;
8884 }
8885 return resultobj;
8886 fail:
8887 {
8888 if (temp4)
8889 delete arg4;
8890 }
8891 {
8892 if (temp11)
8893 delete arg11;
8894 }
8895 return NULL;
8896}
8897
8898
8899static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8902 int result;
8903 PyObject * obj0 = 0 ;
8904 char *kwnames[] = {
8905 (char *) "self", NULL
8906 };
8907
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) 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 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8913
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 resultobj = PyInt_FromLong((long)result);
8918 return resultobj;
8919 fail:
8920 return NULL;
8921}
8922
8923
8924static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj;
8926 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8927 int arg2 ;
8928 PyObject * obj0 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self",(char *) "value", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetValue(arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8952 wxString *arg2 = 0 ;
423f194a 8953 bool temp2 = False ;
d14a1e28
RD
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "text", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8962 {
8963 arg2 = wxString_in_helper(obj1);
8964 if (arg2 == NULL) SWIG_fail;
423f194a 8965 temp2 = True;
d14a1e28
RD
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetValue((wxString const &)*arg2);
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 Py_INCREF(Py_None); resultobj = Py_None;
8975 {
8976 if (temp2)
8977 delete arg2;
8978 }
8979 return resultobj;
8980 fail:
8981 {
8982 if (temp2)
8983 delete arg2;
8984 }
8985 return NULL;
8986}
8987
8988
8989static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8992 int arg2 ;
8993 int arg3 ;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetRange(arg2,arg3);
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 Py_INCREF(Py_None); resultobj = Py_None;
9009 return resultobj;
9010 fail:
9011 return NULL;
9012}
9013
9014
9015static PyObject *_wrap_SpinCtrl_GetMin(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_GetMin",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)->GetMin();
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
9040static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9043 int result;
9044 PyObject * obj0 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 resultobj = PyInt_FromLong((long)result);
9059 return resultobj;
9060 fail:
9061 return NULL;
9062}
9063
9064
9065static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9066 PyObject *resultobj;
9067 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9068 long arg2 ;
9069 long arg3 ;
9070 PyObject * obj0 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "from",(char *) "to", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 (arg1)->SetSelection(arg2,arg3);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 Py_INCREF(Py_None); resultobj = Py_None;
9085 return resultobj;
9086 fail:
9087 return NULL;
9088}
9089
9090
9091static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9092 PyObject *obj;
9093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9095 Py_INCREF(obj);
9096 return Py_BuildValue((char *)"");
9097}
9098static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9101 int arg2 ;
d14a1e28
RD
9102 wxString *arg3 = 0 ;
9103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9105 wxSize const &arg5_defvalue = wxDefaultSize ;
9106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9107 int arg6 = (int) 0 ;
9108 wxString *arg7 = (wxString *) NULL ;
9109 int arg8 = (int) 0 ;
9110 long arg9 = (long) wxRA_HORIZONTAL ;
9111 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9112 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9113 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9114 wxString *arg11 = (wxString *) &arg11_defvalue ;
9115 wxRadioBox *result;
423f194a 9116 bool temp3 = False ;
d14a1e28
RD
9117 wxPoint temp4 ;
9118 wxSize temp5 ;
423f194a 9119 bool temp10 = False ;
d14a1e28
RD
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 PyObject * obj3 = 0 ;
9123 PyObject * obj4 = 0 ;
9124 PyObject * obj5 = 0 ;
9125 PyObject * obj8 = 0 ;
9126 PyObject * obj9 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 {
9134 arg3 = wxString_in_helper(obj2);
9135 if (arg3 == NULL) SWIG_fail;
423f194a 9136 temp3 = True;
d14a1e28
RD
9137 }
9138 if (obj3) {
9139 {
9140 arg4 = &temp4;
9141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9142 }
9143 }
9144 if (obj4) {
9145 {
9146 arg5 = &temp5;
9147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9148 }
9149 }
9150 if (obj5) {
9151 {
9152 arg6 = PyList_Size(obj5);
9153 arg7 = wxString_LIST_helper(obj5);
9154 if (arg7 == NULL) SWIG_fail;
9155 }
9156 }
9157 if (obj8) {
9158 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9159 if (arg10 == NULL) {
9160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9161 }
9162 }
9163 if (obj9) {
9164 {
9165 arg11 = wxString_in_helper(obj9);
9166 if (arg11 == NULL) SWIG_fail;
423f194a 9167 temp10 = True;
d14a1e28
RD
9168 }
9169 }
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 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);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9178 {
9179 if (temp3)
9180 delete arg3;
9181 }
9182 {
9183 if (arg7) delete [] arg7;
9184 }
9185 {
9186 if (temp10)
9187 delete arg11;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp3)
9193 delete arg3;
9194 }
9195 {
9196 if (arg7) delete [] arg7;
9197 }
9198 {
9199 if (temp10)
9200 delete arg11;
9201 }
9202 return NULL;
9203}
9204
9205
9206static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxRadioBox *result;
9209 char *kwnames[] = {
9210 NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (wxRadioBox *)new wxRadioBox();
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9222 return resultobj;
9223 fail:
9224 return NULL;
9225}
9226
9227
9228static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9231 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9232 int arg3 ;
d14a1e28
RD
9233 wxString *arg4 = 0 ;
9234 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9235 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9236 wxSize const &arg6_defvalue = wxDefaultSize ;
9237 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9238 int arg7 = (int) 0 ;
9239 wxString *arg8 = (wxString *) NULL ;
9240 int arg9 = (int) 0 ;
9241 long arg10 = (long) wxRA_HORIZONTAL ;
9242 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9243 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9244 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9245 wxString *arg12 = (wxString *) &arg12_defvalue ;
9246 bool result;
423f194a 9247 bool temp4 = False ;
d14a1e28
RD
9248 wxPoint temp5 ;
9249 wxSize temp6 ;
423f194a 9250 bool temp11 = False ;
d14a1e28
RD
9251 PyObject * obj0 = 0 ;
9252 PyObject * obj1 = 0 ;
9253 PyObject * obj3 = 0 ;
9254 PyObject * obj4 = 0 ;
9255 PyObject * obj5 = 0 ;
9256 PyObject * obj6 = 0 ;
9257 PyObject * obj9 = 0 ;
9258 PyObject * obj10 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 {
9267 arg4 = wxString_in_helper(obj3);
9268 if (arg4 == NULL) SWIG_fail;
423f194a 9269 temp4 = True;
d14a1e28
RD
9270 }
9271 if (obj4) {
9272 {
9273 arg5 = &temp5;
9274 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9275 }
9276 }
9277 if (obj5) {
9278 {
9279 arg6 = &temp6;
9280 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9281 }
9282 }
9283 if (obj6) {
9284 {
9285 arg7 = PyList_Size(obj6);
9286 arg8 = wxString_LIST_helper(obj6);
9287 if (arg8 == NULL) SWIG_fail;
9288 }
9289 }
9290 if (obj9) {
9291 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9292 if (arg11 == NULL) {
9293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9294 }
9295 }
9296 if (obj10) {
9297 {
9298 arg12 = wxString_in_helper(obj10);
9299 if (arg12 == NULL) SWIG_fail;
423f194a 9300 temp11 = True;
d14a1e28
RD
9301 }
9302 }
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 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);
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 resultobj = PyInt_FromLong((long)result);
9311 {
9312 if (temp4)
9313 delete arg4;
9314 }
9315 {
9316 if (arg8) delete [] arg8;
9317 }
9318 {
9319 if (temp11)
9320 delete arg12;
9321 }
9322 return resultobj;
9323 fail:
9324 {
9325 if (temp4)
9326 delete arg4;
9327 }
9328 {
9329 if (arg8) delete [] arg8;
9330 }
9331 {
9332 if (temp11)
9333 delete arg12;
9334 }
9335 return NULL;
9336}
9337
9338
9339static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9342 int arg2 ;
9343 PyObject * obj0 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "n", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) 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 (arg1)->SetSelection(arg2);
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 Py_INCREF(Py_None); resultobj = Py_None;
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
9364static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9367 int result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",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 = (int)((wxRadioBox const *)arg1)->GetSelection();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 resultobj = PyInt_FromLong((long)result);
9383 return resultobj;
9384 fail:
9385 return NULL;
9386}
9387
9388
9389static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9392 wxString result;
9393 PyObject * obj0 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9403
9404 wxPyEndAllowThreads(__tstate);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 {
9408#if wxUSE_UNICODE
9409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9410#else
9411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9412#endif
9413 }
9414 return resultobj;
9415 fail:
9416 return NULL;
9417}
9418
9419
9420static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9423 wxString *arg2 = 0 ;
9424 bool result;
423f194a 9425 bool temp2 = False ;
d14a1e28
RD
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 char *kwnames[] = {
9429 (char *) "self",(char *) "s", NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9434 {
9435 arg2 = wxString_in_helper(obj1);
9436 if (arg2 == NULL) SWIG_fail;
423f194a 9437 temp2 = True;
d14a1e28
RD
9438 }
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = PyInt_FromLong((long)result);
9447 {
9448 if (temp2)
9449 delete arg2;
9450 }
9451 return resultobj;
9452 fail:
9453 {
9454 if (temp2)
9455 delete arg2;
9456 }
9457 return NULL;
9458}
9459
9460
9461static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9464 int result;
9465 PyObject * obj0 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self", NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (int)((wxRadioBox const *)arg1)->GetCount();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = PyInt_FromLong((long)result);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483}
9484
9485
9486static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9489 wxString *arg2 = 0 ;
9490 int result;
423f194a 9491 bool temp2 = False ;
d14a1e28
RD
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self",(char *) "s", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9500 {
9501 arg2 = wxString_in_helper(obj1);
9502 if (arg2 == NULL) SWIG_fail;
423f194a 9503 temp2 = True;
d14a1e28
RD
9504 }
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = PyInt_FromLong((long)result);
9513 {
9514 if (temp2)
9515 delete arg2;
9516 }
9517 return resultobj;
9518 fail:
9519 {
9520 if (temp2)
9521 delete arg2;
9522 }
9523 return NULL;
9524}
9525
9526
9527static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9530 int arg2 ;
9531 wxString result;
9532 PyObject * obj0 = 0 ;
9533 char *kwnames[] = {
9534 (char *) "self",(char *) "n", NULL
9535 };
9536
9537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 {
9547#if wxUSE_UNICODE
9548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9549#else
9550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9551#endif
9552 }
9553 return resultobj;
9554 fail:
9555 return NULL;
9556}
9557
9558
9559static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9562 int arg2 ;
9563 wxString *arg3 = 0 ;
423f194a 9564 bool temp3 = False ;
d14a1e28
RD
9565 PyObject * obj0 = 0 ;
9566 PyObject * obj2 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self",(char *) "n",(char *) "label", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9573 {
9574 arg3 = wxString_in_helper(obj2);
9575 if (arg3 == NULL) SWIG_fail;
423f194a 9576 temp3 = True;
d14a1e28
RD
9577 }
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 (arg1)->SetString(arg2,(wxString const &)*arg3);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 Py_INCREF(Py_None); resultobj = Py_None;
9586 {
9587 if (temp3)
9588 delete arg3;
9589 }
9590 return resultobj;
9591 fail:
9592 {
9593 if (temp3)
9594 delete arg3;
9595 }
9596 return NULL;
9597}
9598
9599
9600static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9603 int arg2 ;
423f194a 9604 bool arg3 = (bool) True ;
d14a1e28
RD
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj2 = 0 ;
9607 char *kwnames[] = {
9608 (char *) "self",(char *) "n",(char *) "enable", NULL
9609 };
9610
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9613 if (obj2) {
9614 arg3 = PyInt_AsLong(obj2) ? true : false;
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 (arg1)->Enable(arg2,arg3);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 Py_INCREF(Py_None); resultobj = Py_None;
9625 return resultobj;
9626 fail:
9627 return NULL;
9628}
9629
9630
9631static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9632 PyObject *resultobj;
9633 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9634 int arg2 ;
423f194a 9635 bool arg3 = (bool) True ;
d14a1e28
RD
9636 PyObject * obj0 = 0 ;
9637 PyObject * obj2 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self",(char *) "n",(char *) "show", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 if (obj2) {
9645 arg3 = PyInt_AsLong(obj2) ? true : false;
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 (arg1)->Show(arg2,arg3);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 Py_INCREF(Py_None); resultobj = Py_None;
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
9662static PyObject *_wrap_RadioBox_GetColumnCount(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_GetColumnCount",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)->GetColumnCount();
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
9687static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9690 int result;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 resultobj = PyInt_FromLong((long)result);
9706 return resultobj;
9707 fail:
9708 return NULL;
9709}
9710
9711
9712static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9715 int arg2 ;
9716 int arg3 ;
9717 long arg4 ;
9718 int result;
9719 PyObject * obj0 = 0 ;
9720 char *kwnames[] = {
9721 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9722 };
9723
9724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 resultobj = PyInt_FromLong((long)result);
9734 return resultobj;
9735 fail:
9736 return NULL;
9737}
9738
9739
9740static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9741 PyObject *obj;
9742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9743 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9744 Py_INCREF(obj);
9745 return Py_BuildValue((char *)"");
9746}
9747static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9750 int arg2 ;
d14a1e28
RD
9751 wxString *arg3 = 0 ;
9752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9754 wxSize const &arg5_defvalue = wxDefaultSize ;
9755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9756 long arg6 = (long) 0 ;
9757 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9758 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9759 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9760 wxString *arg8 = (wxString *) &arg8_defvalue ;
9761 wxRadioButton *result;
423f194a 9762 bool temp3 = False ;
d14a1e28
RD
9763 wxPoint temp4 ;
9764 wxSize temp5 ;
423f194a 9765 bool temp8 = False ;
d14a1e28
RD
9766 PyObject * obj0 = 0 ;
9767 PyObject * obj2 = 0 ;
9768 PyObject * obj3 = 0 ;
9769 PyObject * obj4 = 0 ;
9770 PyObject * obj6 = 0 ;
9771 PyObject * obj7 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 {
9779 arg3 = wxString_in_helper(obj2);
9780 if (arg3 == NULL) SWIG_fail;
423f194a 9781 temp3 = True;
d14a1e28
RD
9782 }
9783 if (obj3) {
9784 {
9785 arg4 = &temp4;
9786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9787 }
9788 }
9789 if (obj4) {
9790 {
9791 arg5 = &temp5;
9792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9793 }
9794 }
9795 if (obj6) {
9796 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9797 if (arg7 == NULL) {
9798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9799 }
9800 }
9801 if (obj7) {
9802 {
9803 arg8 = wxString_in_helper(obj7);
9804 if (arg8 == NULL) SWIG_fail;
423f194a 9805 temp8 = True;
d14a1e28
RD
9806 }
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9816 {
9817 if (temp3)
9818 delete arg3;
9819 }
9820 {
9821 if (temp8)
9822 delete arg8;
9823 }
9824 return resultobj;
9825 fail:
9826 {
9827 if (temp3)
9828 delete arg3;
9829 }
9830 {
9831 if (temp8)
9832 delete arg8;
9833 }
9834 return NULL;
9835}
9836
9837
9838static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxRadioButton *result;
9841 char *kwnames[] = {
9842 NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (wxRadioButton *)new wxRadioButton();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9854 return resultobj;
9855 fail:
9856 return NULL;
9857}
9858
9859
9860static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9863 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9864 int arg3 ;
d14a1e28
RD
9865 wxString *arg4 = 0 ;
9866 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9867 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9868 wxSize const &arg6_defvalue = wxDefaultSize ;
9869 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9870 long arg7 = (long) 0 ;
9871 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9872 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9873 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9874 wxString *arg9 = (wxString *) &arg9_defvalue ;
9875 bool result;
423f194a 9876 bool temp4 = False ;
d14a1e28
RD
9877 wxPoint temp5 ;
9878 wxSize temp6 ;
423f194a 9879 bool temp9 = False ;
d14a1e28
RD
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 PyObject * obj3 = 0 ;
9883 PyObject * obj4 = 0 ;
9884 PyObject * obj5 = 0 ;
9885 PyObject * obj7 = 0 ;
9886 PyObject * obj8 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9894 {
9895 arg4 = wxString_in_helper(obj3);
9896 if (arg4 == NULL) SWIG_fail;
423f194a 9897 temp4 = True;
d14a1e28
RD
9898 }
9899 if (obj4) {
9900 {
9901 arg5 = &temp5;
9902 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9903 }
9904 }
9905 if (obj5) {
9906 {
9907 arg6 = &temp6;
9908 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9909 }
9910 }
9911 if (obj7) {
9912 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9913 if (arg8 == NULL) {
9914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9915 }
9916 }
9917 if (obj8) {
9918 {
9919 arg9 = wxString_in_helper(obj8);
9920 if (arg9 == NULL) SWIG_fail;
423f194a 9921 temp9 = True;
d14a1e28
RD
9922 }
9923 }
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = PyInt_FromLong((long)result);
9932 {
9933 if (temp4)
9934 delete arg4;
9935 }
9936 {
9937 if (temp9)
9938 delete arg9;
9939 }
9940 return resultobj;
9941 fail:
9942 {
9943 if (temp4)
9944 delete arg4;
9945 }
9946 {
9947 if (temp9)
9948 delete arg9;
9949 }
9950 return NULL;
9951}
9952
9953
9954static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject *resultobj;
9956 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9957 bool result;
9958 PyObject * obj0 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (bool)(arg1)->GetValue();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = PyInt_FromLong((long)result);
9973 return resultobj;
9974 fail:
9975 return NULL;
9976}
9977
9978
9979static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj;
9981 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9982 bool arg2 ;
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self",(char *) "value", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 arg2 = PyInt_AsLong(obj1) ? true : false;
9992 if (PyErr_Occurred()) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 (arg1)->SetValue(arg2);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 Py_INCREF(Py_None); resultobj = Py_None;
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
10007static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10008 PyObject *obj;
10009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10010 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10011 Py_INCREF(obj);
10012 return Py_BuildValue((char *)"");
10013}
10014static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 10017 int arg2 ;
d14a1e28
RD
10018 int arg3 ;
10019 int arg4 ;
10020 int arg5 ;
10021 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10022 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10023 wxSize const &arg7_defvalue = wxDefaultSize ;
10024 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10025 long arg8 = (long) wxSL_HORIZONTAL ;
10026 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10027 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10028 wxString const &arg10_defvalue = wxPySliderNameStr ;
10029 wxString *arg10 = (wxString *) &arg10_defvalue ;
10030 wxSlider *result;
10031 wxPoint temp6 ;
10032 wxSize temp7 ;
423f194a 10033 bool temp10 = False ;
d14a1e28
RD
10034 PyObject * obj0 = 0 ;
10035 PyObject * obj5 = 0 ;
10036 PyObject * obj6 = 0 ;
10037 PyObject * obj8 = 0 ;
10038 PyObject * obj9 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10045 if (obj5) {
10046 {
10047 arg6 = &temp6;
10048 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10049 }
10050 }
10051 if (obj6) {
10052 {
10053 arg7 = &temp7;
10054 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10055 }
10056 }
10057 if (obj8) {
10058 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10059 if (arg9 == NULL) {
10060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10061 }
10062 }
10063 if (obj9) {
10064 {
10065 arg10 = wxString_in_helper(obj9);
10066 if (arg10 == NULL) SWIG_fail;
423f194a 10067 temp10 = True;
d14a1e28
RD
10068 }
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10078 {
10079 if (temp10)
10080 delete arg10;
10081 }
10082 return resultobj;
10083 fail:
10084 {
10085 if (temp10)
10086 delete arg10;
10087 }
10088 return NULL;
10089}
10090
10091
10092static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxSlider *result;
10095 char *kwnames[] = {
10096 NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (wxSlider *)new wxSlider();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10108 return resultobj;
10109 fail:
10110 return NULL;
10111}
10112
10113
10114static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxSlider *arg1 = (wxSlider *) 0 ;
10117 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 10118 int arg3 ;
d14a1e28
RD
10119 int arg4 ;
10120 int arg5 ;
10121 int arg6 ;
10122 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10123 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10124 wxSize const &arg8_defvalue = wxDefaultSize ;
10125 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10126 long arg9 = (long) wxSL_HORIZONTAL ;
10127 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10128 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10129 wxString const &arg11_defvalue = wxPySliderNameStr ;
10130 wxString *arg11 = (wxString *) &arg11_defvalue ;
10131 bool result;
10132 wxPoint temp7 ;
10133 wxSize temp8 ;
423f194a 10134 bool temp11 = False ;
d14a1e28
RD
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10137 PyObject * obj6 = 0 ;
10138 PyObject * obj7 = 0 ;
10139 PyObject * obj9 = 0 ;
10140 PyObject * obj10 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10148 if (obj6) {
10149 {
10150 arg7 = &temp7;
10151 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10152 }
10153 }
10154 if (obj7) {
10155 {
10156 arg8 = &temp8;
10157 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10158 }
10159 }
10160 if (obj9) {
10161 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10162 if (arg10 == NULL) {
10163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10164 }
10165 }
10166 if (obj10) {
10167 {
10168 arg11 = wxString_in_helper(obj10);
10169 if (arg11 == NULL) SWIG_fail;
423f194a 10170 temp11 = True;
d14a1e28
RD
10171 }
10172 }
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = PyInt_FromLong((long)result);
10181 {
10182 if (temp11)
10183 delete arg11;
10184 }
10185 return resultobj;
10186 fail:
10187 {
10188 if (temp11)
10189 delete arg11;
10190 }
10191 return NULL;
10192}
10193
10194
10195static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxSlider *arg1 = (wxSlider *) 0 ;
10198 int result;
10199 PyObject * obj0 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) 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 result = (int)((wxSlider const *)arg1)->GetValue();
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 resultobj = PyInt_FromLong((long)result);
10214 return resultobj;
10215 fail:
10216 return NULL;
10217}
10218
10219
10220static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxSlider *arg1 = (wxSlider *) 0 ;
10223 int arg2 ;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "value", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 (arg1)->SetValue(arg2);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 Py_INCREF(Py_None); resultobj = Py_None;
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
10245static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxSlider *arg1 = (wxSlider *) 0 ;
10248 int arg2 ;
10249 int arg3 ;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetRange(arg2,arg3);
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_Slider_GetMin(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_GetMin",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)->GetMin();
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
10296static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxSlider *arg1 = (wxSlider *) 0 ;
10299 int result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) 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 result = (int)((wxSlider const *)arg1)->GetMax();
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = PyInt_FromLong((long)result);
10315 return resultobj;
10316 fail:
10317 return NULL;
10318}
10319
10320
10321static PyObject *_wrap_Slider_SetMin(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 *) "minValue", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",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)->SetMin(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
10346static PyObject *_wrap_Slider_SetMax(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 *) "maxValue", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",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)->SetMax(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
10371static PyObject *_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",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)->SetLineSize(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
10396static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10397 PyObject *resultobj;
10398 wxSlider *arg1 = (wxSlider *) 0 ;
10399 int arg2 ;
10400 PyObject * obj0 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "pageSize", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) 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 (arg1)->SetPageSize(arg2);
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 Py_INCREF(Py_None); resultobj = Py_None;
10415 return resultobj;
10416 fail:
10417 return NULL;
10418}
10419
10420
10421static PyObject *_wrap_Slider_GetLineSize(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_GetLineSize",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)->GetLineSize();
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
10446static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxSlider *arg1 = (wxSlider *) 0 ;
10449 int result;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) 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 result = (int)((wxSlider const *)arg1)->GetPageSize();
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 resultobj = PyInt_FromLong((long)result);
10465 return resultobj;
10466 fail:
10467 return NULL;
10468}
10469
10470
10471static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxSlider *arg1 = (wxSlider *) 0 ;
10474 int arg2 ;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self",(char *) "lenPixels", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) 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 (arg1)->SetThumbLength(arg2);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 Py_INCREF(Py_None); resultobj = Py_None;
10490 return resultobj;
10491 fail:
10492 return NULL;
10493}
10494
10495
10496static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject *resultobj;
10498 wxSlider *arg1 = (wxSlider *) 0 ;
10499 int result;
10500 PyObject * obj0 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 resultobj = PyInt_FromLong((long)result);
10515 return resultobj;
10516 fail:
10517 return NULL;
10518}
10519
10520
10521static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxSlider *arg1 = (wxSlider *) 0 ;
10524 int arg2 ;
10525 int arg3 ;
10526 PyObject * obj0 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "n",(char *) "pos", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetTickFreq(arg2,arg3);
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 Py_INCREF(Py_None); resultobj = Py_None;
10541 return resultobj;
10542 fail:
10543 return NULL;
10544}
10545
10546
10547static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxSlider *arg1 = (wxSlider *) 0 ;
10550 int result;
10551 PyObject * obj0 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = PyInt_FromLong((long)result);
10566 return resultobj;
10567 fail:
10568 return NULL;
10569}
10570
10571
10572static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxSlider *arg1 = (wxSlider *) 0 ;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->ClearTicks();
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
10596static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxSlider *arg1 = (wxSlider *) 0 ;
10599 int arg2 ;
10600 PyObject * obj0 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self",(char *) "tickPos", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 (arg1)->SetTick(arg2);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 Py_INCREF(Py_None); resultobj = Py_None;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxSlider *arg1 = (wxSlider *) 0 ;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",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 (arg1)->ClearSel();
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 Py_INCREF(Py_None); resultobj = Py_None;
10639 return resultobj;
10640 fail:
10641 return NULL;
10642}
10643
10644
10645static PyObject *_wrap_Slider_GetSelEnd(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_GetSelEnd",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)->GetSelEnd();
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
10670static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxSlider *arg1 = (wxSlider *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (int)((wxSlider const *)arg1)->GetSelStart();
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = PyInt_FromLong((long)result);
10689 return resultobj;
10690 fail:
10691 return NULL;
10692}
10693
10694
10695static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxSlider *arg1 = (wxSlider *) 0 ;
10698 int arg2 ;
10699 int arg3 ;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self",(char *) "min",(char *) "max", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 (arg1)->SetSelection(arg2,arg3);
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 Py_INCREF(Py_None); resultobj = Py_None;
10715 return resultobj;
10716 fail:
10717 return NULL;
10718}
10719
10720
10721static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10722 PyObject *obj;
10723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10724 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10725 Py_INCREF(obj);
10726 return Py_BuildValue((char *)"");
10727}
10728static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 10731 int arg2 ;
d14a1e28
RD
10732 wxString *arg3 = 0 ;
10733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10735 wxSize const &arg5_defvalue = wxDefaultSize ;
10736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10737 long arg6 = (long) 0 ;
10738 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10739 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10740 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10741 wxString *arg8 = (wxString *) &arg8_defvalue ;
10742 wxToggleButton *result;
423f194a 10743 bool temp3 = False ;
d14a1e28
RD
10744 wxPoint temp4 ;
10745 wxSize temp5 ;
423f194a 10746 bool temp8 = False ;
d14a1e28
RD
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 PyObject * obj3 = 0 ;
10750 PyObject * obj4 = 0 ;
10751 PyObject * obj6 = 0 ;
10752 PyObject * obj7 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10759 {
10760 arg3 = wxString_in_helper(obj2);
10761 if (arg3 == NULL) SWIG_fail;
423f194a 10762 temp3 = True;
d14a1e28
RD
10763 }
10764 if (obj3) {
10765 {
10766 arg4 = &temp4;
10767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10768 }
10769 }
10770 if (obj4) {
10771 {
10772 arg5 = &temp5;
10773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10774 }
10775 }
10776 if (obj6) {
10777 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10778 if (arg7 == NULL) {
10779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10780 }
10781 }
10782 if (obj7) {
10783 {
10784 arg8 = wxString_in_helper(obj7);
10785 if (arg8 == NULL) SWIG_fail;
423f194a 10786 temp8 = True;
d14a1e28
RD
10787 }
10788 }
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10792
10793 wxPyEndAllowThreads(__tstate);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
10796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10797 {
10798 if (temp3)
10799 delete arg3;
10800 }
10801 {
10802 if (temp8)
10803 delete arg8;
10804 }
10805 return resultobj;
10806 fail:
10807 {
10808 if (temp3)
10809 delete arg3;
10810 }
10811 {
10812 if (temp8)
10813 delete arg8;
10814 }
10815 return NULL;
10816}
10817
10818
10819static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxToggleButton *result;
10822 char *kwnames[] = {
10823 NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 result = (wxToggleButton *)new wxToggleButton();
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10835 return resultobj;
10836 fail:
10837 return NULL;
10838}
10839
10840
10841static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
10842 PyObject *obj;
10843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10844 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
10845 Py_INCREF(obj);
10846 return Py_BuildValue((char *)"");
10847}
10848static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10851 size_t result;
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
10858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 resultobj = PyInt_FromLong((long)result);
10867 return resultobj;
10868 fail:
10869 return NULL;
10870}
10871
10872
10873static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj;
10875 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10876 size_t arg2 ;
10877 wxWindow *result;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj1 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self",(char *) "n", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
10885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10886 arg2 = (size_t) PyInt_AsLong(obj1);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (wxWindow *)(arg1)->GetPage(arg2);
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 {
10896 resultobj = wxPyMake_wxObject(result);
10897 }
10898 return resultobj;
10899 fail:
10900 return NULL;
10901}
10902
10903
10904static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10907 int result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 resultobj = PyInt_FromLong((long)result);
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
10929static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10932 size_t arg2 ;
10933 wxString *arg3 = 0 ;
10934 bool result;
423f194a 10935 bool temp3 = False ;
d14a1e28
RD
10936 PyObject * obj0 = 0 ;
10937 PyObject * obj1 = 0 ;
10938 PyObject * obj2 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self",(char *) "n",(char *) "strText", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10945 arg2 = (size_t) PyInt_AsLong(obj1);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 {
10948 arg3 = wxString_in_helper(obj2);
10949 if (arg3 == NULL) SWIG_fail;
423f194a 10950 temp3 = True;
d14a1e28
RD
10951 }
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = PyInt_FromLong((long)result);
10960 {
10961 if (temp3)
10962 delete arg3;
10963 }
10964 return resultobj;
10965 fail:
10966 {
10967 if (temp3)
10968 delete arg3;
10969 }
10970 return NULL;
10971}
10972
10973
10974static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10977 size_t arg2 ;
10978 wxString result;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self",(char *) "n", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10987 arg2 = (size_t) PyInt_AsLong(obj1);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 {
10997#if wxUSE_UNICODE
10998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10999#else
11000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11001#endif
11002 }
11003 return resultobj;
11004 fail:
11005 return NULL;
11006}
11007
11008
11009static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11012 wxImageList *arg2 = (wxImageList *) 0 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "imageList", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 (arg1)->SetImageList(arg2);
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 Py_INCREF(Py_None); resultobj = Py_None;
11030 return resultobj;
11031 fail:
11032 return NULL;
11033}
11034
11035
11036static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11039 wxImageList *arg2 = (wxImageList *) 0 ;
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "imageList", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->AssignImageList(arg2);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060}
11061
11062
11063static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11066 wxImageList *result;
11067 PyObject * obj0 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 {
11082 resultobj = wxPyMake_wxObject(result);
11083 }
11084 return resultobj;
11085 fail:
11086 return NULL;
11087}
11088
11089
11090static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11093 size_t arg2 ;
11094 int result;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self",(char *) "n", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 arg2 = (size_t) PyInt_AsLong(obj1);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = PyInt_FromLong((long)result);
11113 return resultobj;
11114 fail:
11115 return NULL;
11116}
11117
11118
11119static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11122 size_t arg2 ;
11123 int arg3 ;
11124 bool result;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "n",(char *) "imageId", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 arg2 = (size_t) PyInt_AsLong(obj1);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 resultobj = PyInt_FromLong((long)result);
11143 return resultobj;
11144 fail:
11145 return NULL;
11146}
11147
11148
11149static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11152 wxSize *arg2 = 0 ;
11153 wxSize temp2 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "size", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11162 {
11163 arg2 = &temp2;
11164 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11165 }
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 (arg1)->SetPageSize((wxSize const &)*arg2);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 Py_INCREF(Py_None); resultobj = Py_None;
11174 return resultobj;
11175 fail:
11176 return NULL;
11177}
11178
11179
11180static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11183 wxSize *arg2 = 0 ;
11184 wxSize result;
11185 wxSize temp2 ;
11186 PyObject * obj0 = 0 ;
11187 PyObject * obj1 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self",(char *) "sizePage", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11194 {
11195 arg2 = &temp2;
11196 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11197 }
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 wxSize * resultptr;
11207 resultptr = new wxSize((wxSize &) result);
11208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11209 }
11210 return resultobj;
11211 fail:
11212 return NULL;
11213}
11214
11215
11216static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11219 size_t arg2 ;
11220 bool result;
11221 PyObject * obj0 = 0 ;
11222 PyObject * obj1 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self",(char *) "n", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11229 arg2 = (size_t) PyInt_AsLong(obj1);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (bool)(arg1)->DeletePage(arg2);
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = PyInt_FromLong((long)result);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242}
11243
11244
11245static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11248 size_t arg2 ;
11249 bool result;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self",(char *) "n", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11258 arg2 = (size_t) PyInt_AsLong(obj1);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (bool)(arg1)->RemovePage(arg2);
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
11274static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11277 bool result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (bool)(arg1)->DeleteAllPages();
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = PyInt_FromLong((long)result);
11293 return resultobj;
11294 fail:
11295 return NULL;
11296}
11297
11298
11299static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11302 wxWindow *arg2 = (wxWindow *) 0 ;
11303 wxString *arg3 = 0 ;
423f194a 11304 bool arg4 = (bool) False ;
d14a1e28
RD
11305 int arg5 = (int) -1 ;
11306 bool result;
423f194a 11307 bool temp3 = False ;
d14a1e28
RD
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 PyObject * obj2 = 0 ;
11311 PyObject * obj3 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11319 {
11320 arg3 = wxString_in_helper(obj2);
11321 if (arg3 == NULL) SWIG_fail;
423f194a 11322 temp3 = True;
d14a1e28
RD
11323 }
11324 if (obj3) {
11325 arg4 = PyInt_AsLong(obj3) ? true : false;
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 resultobj = PyInt_FromLong((long)result);
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp3)
11344 delete arg3;
11345 }
11346 return NULL;
11347}
11348
11349
11350static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11353 size_t arg2 ;
11354 wxWindow *arg3 = (wxWindow *) 0 ;
11355 wxString *arg4 = 0 ;
423f194a 11356 bool arg5 = (bool) False ;
d14a1e28
RD
11357 int arg6 = (int) -1 ;
11358 bool result;
423f194a 11359 bool temp4 = False ;
d14a1e28
RD
11360 PyObject * obj0 = 0 ;
11361 PyObject * obj1 = 0 ;
11362 PyObject * obj2 = 0 ;
11363 PyObject * obj3 = 0 ;
11364 PyObject * obj4 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11371 arg2 = (size_t) PyInt_AsLong(obj1);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 {
11375 arg4 = wxString_in_helper(obj3);
11376 if (arg4 == NULL) SWIG_fail;
423f194a 11377 temp4 = True;
d14a1e28
RD
11378 }
11379 if (obj4) {
11380 arg5 = PyInt_AsLong(obj4) ? true : false;
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 resultobj = PyInt_FromLong((long)result);
11391 {
11392 if (temp4)
11393 delete arg4;
11394 }
11395 return resultobj;
11396 fail:
11397 {
11398 if (temp4)
11399 delete arg4;
11400 }
11401 return NULL;
11402}
11403
11404
11405static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj;
11407 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11408 size_t arg2 ;
11409 int result;
11410 PyObject * obj0 = 0 ;
11411 PyObject * obj1 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "n", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11418 arg2 = (size_t) PyInt_AsLong(obj1);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (int)(arg1)->SetSelection(arg2);
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = PyInt_FromLong((long)result);
11428 return resultobj;
11429 fail:
11430 return NULL;
11431}
11432
11433
11434static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
423f194a 11437 bool arg2 = (bool) True ;
d14a1e28
RD
11438 PyObject * obj0 = 0 ;
11439 PyObject * obj1 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self",(char *) "forward", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11446 if (obj1) {
11447 arg2 = PyInt_AsLong(obj1) ? true : false;
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->AdvanceSelection(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
11464static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11465 PyObject *obj;
11466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11468 Py_INCREF(obj);
11469 return Py_BuildValue((char *)"");
11470}
11471static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11474 int arg2 = (int) 0 ;
11475 int arg3 = (int) -1 ;
11476 int arg4 = (int) -1 ;
11477 wxBookCtrlEvent *result;
11478 char *kwnames[] = {
11479 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494}
11495
11496
11497static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11500 int result;
11501 PyObject * obj0 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) 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 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 resultobj = PyInt_FromLong((long)result);
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11525 int arg2 ;
11526 PyObject * obj0 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self",(char *) "nSel", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) 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 (arg1)->SetSelection(arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
11547static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11550 int result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) 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 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 resultobj = PyInt_FromLong((long)result);
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
11572static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11575 int arg2 ;
11576 PyObject * obj0 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self",(char *) "nOldSel", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 (arg1)->SetOldSelection(arg2);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 Py_INCREF(Py_None); resultobj = Py_None;
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
11597static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11598 PyObject *obj;
11599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11600 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11601 Py_INCREF(obj);
11602 return Py_BuildValue((char *)"");
11603}
11604static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11605 PyObject *resultobj;
11606 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 11607 int arg2 ;
d14a1e28
RD
11608 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11609 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11610 wxSize const &arg4_defvalue = wxDefaultSize ;
11611 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11612 long arg5 = (long) 0 ;
11613 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11614 wxString *arg6 = (wxString *) &arg6_defvalue ;
11615 wxNotebook *result;
11616 wxPoint temp3 ;
11617 wxSize temp4 ;
423f194a 11618 bool temp6 = False ;
d14a1e28
RD
11619 PyObject * obj0 = 0 ;
11620 PyObject * obj2 = 0 ;
11621 PyObject * obj3 = 0 ;
11622 PyObject * obj5 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11629 if (obj2) {
11630 {
11631 arg3 = &temp3;
11632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11633 }
11634 }
11635 if (obj3) {
11636 {
11637 arg4 = &temp4;
11638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11639 }
11640 }
11641 if (obj5) {
11642 {
11643 arg6 = wxString_in_helper(obj5);
11644 if (arg6 == NULL) SWIG_fail;
423f194a 11645 temp6 = True;
d14a1e28
RD
11646 }
11647 }
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 {
11656 resultobj = wxPyMake_wxObject(result);
11657 }
11658 {
11659 if (temp6)
11660 delete arg6;
11661 }
11662 return resultobj;
11663 fail:
11664 {
11665 if (temp6)
11666 delete arg6;
11667 }
11668 return NULL;
11669}
11670
11671
11672static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxNotebook *result;
11675 char *kwnames[] = {
11676 NULL
11677 };
11678
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11680 {
11681 PyThreadState* __tstate = wxPyBeginAllowThreads();
11682 result = (wxNotebook *)new wxNotebook();
11683
11684 wxPyEndAllowThreads(__tstate);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 {
11688 resultobj = wxPyMake_wxObject(result);
11689 }
11690 return resultobj;
11691 fail:
11692 return NULL;
11693}
11694
11695
11696static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxNotebook *arg1 = (wxNotebook *) 0 ;
11699 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 11700 int arg3 ;
d14a1e28
RD
11701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11703 wxSize const &arg5_defvalue = wxDefaultSize ;
11704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11705 long arg6 = (long) 0 ;
11706 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11707 wxString *arg7 = (wxString *) &arg7_defvalue ;
11708 bool result;
11709 wxPoint temp4 ;
11710 wxSize temp5 ;
423f194a 11711 bool temp7 = False ;
d14a1e28
RD
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 PyObject * obj3 = 0 ;
11715 PyObject * obj4 = 0 ;
11716 PyObject * obj6 = 0 ;
11717 char *kwnames[] = {
11718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11724 if (obj3) {
11725 {
11726 arg4 = &temp4;
11727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11728 }
11729 }
11730 if (obj4) {
11731 {
11732 arg5 = &temp5;
11733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11734 }
11735 }
11736 if (obj6) {
11737 {
11738 arg7 = wxString_in_helper(obj6);
11739 if (arg7 == NULL) SWIG_fail;
423f194a 11740 temp7 = True;
d14a1e28
RD
11741 }
11742 }
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = PyInt_FromLong((long)result);
11751 {
11752 if (temp7)
11753 delete arg7;
11754 }
11755 return resultobj;
11756 fail:
11757 {
11758 if (temp7)
11759 delete arg7;
11760 }
11761 return NULL;
11762}
11763
11764
11765static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11766 PyObject *resultobj;
11767 wxNotebook *arg1 = (wxNotebook *) 0 ;
11768 int result;
11769 PyObject * obj0 = 0 ;
11770 char *kwnames[] = {
11771 (char *) "self", NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11776 {
11777 PyThreadState* __tstate = wxPyBeginAllowThreads();
11778 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = PyInt_FromLong((long)result);
11784 return resultobj;
11785 fail:
11786 return NULL;
11787}
11788
11789
11790static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj;
11792 wxNotebook *arg1 = (wxNotebook *) 0 ;
11793 wxSize *arg2 = 0 ;
11794 wxSize temp2 ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self",(char *) "padding", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 {
11804 arg2 = &temp2;
11805 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 (arg1)->SetPadding((wxSize const &)*arg2);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 Py_INCREF(Py_None); resultobj = Py_None;
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
11821static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxNotebook *arg1 = (wxNotebook *) 0 ;
11824 wxSize *arg2 = 0 ;
11825 wxSize temp2 ;
11826 PyObject * obj0 = 0 ;
11827 PyObject * obj1 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self",(char *) "sz", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11834 {
11835 arg2 = &temp2;
11836 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11837 }
11838 {
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 (arg1)->SetTabSize((wxSize const &)*arg2);
11841
11842 wxPyEndAllowThreads(__tstate);
11843 if (PyErr_Occurred()) SWIG_fail;
11844 }
11845 Py_INCREF(Py_None); resultobj = Py_None;
11846 return resultobj;
11847 fail:
11848 return NULL;
11849}
11850
11851
11852static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxNotebook *arg1 = (wxNotebook *) 0 ;
11855 wxPoint *arg2 = 0 ;
11856 long *arg3 = (long *) 0 ;
11857 int result;
11858 wxPoint temp2 ;
11859 long temp3 ;
11860 PyObject * obj0 = 0 ;
11861 PyObject * obj1 = 0 ;
11862 char *kwnames[] = {
11863 (char *) "self",(char *) "pt", NULL
11864 };
11865
11866 arg3 = &temp3;
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
11868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11869 {
11870 arg2 = &temp2;
11871 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11872 }
11873 {
11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
11875 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11876
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 resultobj = PyInt_FromLong((long)result);
11881 {
11882 PyObject *o = PyInt_FromLong((long) (*arg3));
11883 resultobj = t_output_helper(resultobj,o);
11884 }
11885 return resultobj;
11886 fail:
11887 return NULL;
11888}
11889
11890
11891static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj;
11893 wxNotebook *arg1 = (wxNotebook *) 0 ;
11894 wxSize *arg2 = 0 ;
11895 wxSize result;
11896 wxSize temp2 ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self",(char *) "sizePage", NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11905 {
11906 arg2 = &temp2;
11907 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11908 }
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11912
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 {
11917 wxSize * resultptr;
11918 resultptr = new wxSize((wxSize &) result);
11919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11920 }
11921 return resultobj;
11922 fail:
11923 return NULL;
11924}
11925
11926
11927static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
11928 PyObject *obj;
11929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11930 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
11931 Py_INCREF(obj);
11932 return Py_BuildValue((char *)"");
11933}
11934static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11937 int arg2 = (int) 0 ;
11938 int arg3 = (int) -1 ;
11939 int arg4 = (int) -1 ;
11940 wxNotebookEvent *result;
11941 char *kwnames[] = {
11942 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
11954 return resultobj;
11955 fail:
11956 return NULL;
11957}
11958
11959
11960static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
11961 PyObject *obj;
11962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11963 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
11964 Py_INCREF(obj);
11965 return Py_BuildValue((char *)"");
11966}
11967static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 11970 int arg2 ;
d14a1e28
RD
11971 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11972 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11973 wxSize const &arg4_defvalue = wxDefaultSize ;
11974 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11975 long arg5 = (long) 0 ;
11976 wxString const &arg6_defvalue = wxPyEmptyString ;
11977 wxString *arg6 = (wxString *) &arg6_defvalue ;
11978 wxListbook *result;
11979 wxPoint temp3 ;
11980 wxSize temp4 ;
423f194a 11981 bool temp6 = False ;
d14a1e28
RD
11982 PyObject * obj0 = 0 ;
11983 PyObject * obj2 = 0 ;
11984 PyObject * obj3 = 0 ;
11985 PyObject * obj5 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11992 if (obj2) {
11993 {
11994 arg3 = &temp3;
11995 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11996 }
11997 }
11998 if (obj3) {
11999 {
12000 arg4 = &temp4;
12001 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12002 }
12003 }
12004 if (obj5) {
12005 {
12006 arg6 = wxString_in_helper(obj5);
12007 if (arg6 == NULL) SWIG_fail;
423f194a 12008 temp6 = True;
d14a1e28
RD
12009 }
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12019 {
12020 if (temp6)
12021 delete arg6;
12022 }
12023 return resultobj;
12024 fail:
12025 {
12026 if (temp6)
12027 delete arg6;
12028 }
12029 return NULL;
12030}
12031
12032
12033static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxListbook *result;
12036 char *kwnames[] = {
12037 NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 result = (wxListbook *)new wxListbook();
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12049 return resultobj;
12050 fail:
12051 return NULL;
12052}
12053
12054
12055static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj;
12057 wxListbook *arg1 = (wxListbook *) 0 ;
12058 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12059 int arg3 ;
d14a1e28
RD
12060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12062 wxSize const &arg5_defvalue = wxDefaultSize ;
12063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12064 long arg6 = (long) 0 ;
12065 wxString const &arg7_defvalue = wxPyEmptyString ;
12066 wxString *arg7 = (wxString *) &arg7_defvalue ;
12067 bool result;
12068 wxPoint temp4 ;
12069 wxSize temp5 ;
423f194a 12070 bool temp7 = False ;
d14a1e28
RD
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 PyObject * obj3 = 0 ;
12074 PyObject * obj4 = 0 ;
12075 PyObject * obj6 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12083 if (obj3) {
12084 {
12085 arg4 = &temp4;
12086 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12087 }
12088 }
12089 if (obj4) {
12090 {
12091 arg5 = &temp5;
12092 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12093 }
12094 }
12095 if (obj6) {
12096 {
12097 arg7 = wxString_in_helper(obj6);
12098 if (arg7 == NULL) SWIG_fail;
423f194a 12099 temp7 = True;
d14a1e28
RD
12100 }
12101 }
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 resultobj = PyInt_FromLong((long)result);
12110 {
12111 if (temp7)
12112 delete arg7;
12113 }
12114 return resultobj;
12115 fail:
12116 {
12117 if (temp7)
12118 delete arg7;
12119 }
12120 return NULL;
12121}
12122
12123
12124static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxListbook *arg1 = (wxListbook *) 0 ;
12127 bool result;
12128 PyObject * obj0 = 0 ;
12129 char *kwnames[] = {
12130 (char *) "self", NULL
12131 };
12132
12133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 result = (bool)((wxListbook const *)arg1)->IsVertical();
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 resultobj = PyInt_FromLong((long)result);
12143 return resultobj;
12144 fail:
12145 return NULL;
12146}
12147
12148
12149static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12150 PyObject *obj;
12151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12152 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12153 Py_INCREF(obj);
12154 return Py_BuildValue((char *)"");
12155}
12156static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj;
12158 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12159 int arg2 = (int) 0 ;
12160 int arg3 = (int) -1 ;
12161 int arg4 = (int) -1 ;
12162 wxListbookEvent *result;
12163 char *kwnames[] = {
12164 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12176 return resultobj;
12177 fail:
12178 return NULL;
12179}
12180
12181
12182static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12183 PyObject *obj;
12184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12185 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12186 Py_INCREF(obj);
12187 return Py_BuildValue((char *)"");
12188}
12189static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12192 wxBookCtrlSizer *result;
12193 PyObject * obj0 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "nb", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12208 return resultobj;
12209 fail:
12210 return NULL;
12211}
12212
12213
12214static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",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 (arg1)->RecalcSizes();
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235}
12236
12237
12238static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12241 wxSize result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (arg1)->CalcMin();
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 {
12257 wxSize * resultptr;
12258 resultptr = new wxSize((wxSize &) result);
12259 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12260 }
12261 return resultobj;
12262 fail:
12263 return NULL;
12264}
12265
12266
12267static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12270 wxBookCtrl *result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = (wxBookCtrl *)(arg1)->GetControl();
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12286 return resultobj;
12287 fail:
12288 return NULL;
12289}
12290
12291
12292static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12293 PyObject *obj;
12294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12296 Py_INCREF(obj);
12297 return Py_BuildValue((char *)"");
12298}
12299static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxNotebook *arg1 = (wxNotebook *) 0 ;
12302 wxNotebookSizer *result;
12303 PyObject * obj0 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "nb", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12318 return resultobj;
12319 fail:
12320 return NULL;
12321}
12322
12323
12324static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12327 PyObject * obj0 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",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 (arg1)->RecalcSizes();
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 Py_INCREF(Py_None); resultobj = Py_None;
12342 return resultobj;
12343 fail:
12344 return NULL;
12345}
12346
12347
12348static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12351 wxSize result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (arg1)->CalcMin();
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 {
12367 wxSize * resultptr;
12368 resultptr = new wxSize((wxSize &) result);
12369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12370 }
12371 return resultobj;
12372 fail:
12373 return NULL;
12374}
12375
12376
12377static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12380 wxNotebook *result;
12381 PyObject * obj0 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "self", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (wxNotebook *)(arg1)->GetNotebook();
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 {
12396 resultobj = wxPyMake_wxObject(result);
12397 }
12398 return resultobj;
12399 fail:
12400 return NULL;
12401}
12402
12403
12404static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12405 PyObject *obj;
12406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12407 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12408 Py_INCREF(obj);
12409 return Py_BuildValue((char *)"");
12410}
12411static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12414 int result;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",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 = (int)(arg1)->GetId();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = PyInt_FromLong((long)result);
12430 return resultobj;
12431 fail:
12432 return NULL;
12433}
12434
12435
12436static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12439 wxControl *result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (wxControl *)(arg1)->GetControl();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 {
12455 resultobj = wxPyMake_wxObject(result);
12456 }
12457 return resultobj;
12458 fail:
12459 return NULL;
12460}
12461
12462
12463static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12466 wxToolBarBase *result;
12467 PyObject * obj0 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxToolBarBase *)(arg1)->GetToolBar();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 {
12482 resultobj = wxPyMake_wxObject(result);
12483 }
12484 return resultobj;
12485 fail:
12486 return NULL;
12487}
12488
12489
12490static PyObject *_wrap_ToolBarToolBase_IsButton(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_IsButton",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)->IsButton();
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
12515static PyObject *_wrap_ToolBarToolBase_IsControl(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_IsControl",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)->IsControl();
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
12540static PyObject *_wrap_ToolBarToolBase_IsSeparator(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_IsSeparator",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)->IsSeparator();
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
12565static PyObject *_wrap_ToolBarToolBase_GetStyle(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_GetStyle",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)->GetStyle();
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
12590static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12591 PyObject *resultobj;
12592 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12593 int result;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",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 = (int)(arg1)->GetKind();
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
12615static PyObject *_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled",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)->IsEnabled();
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
12640static PyObject *_wrap_ToolBarToolBase_IsToggled(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_IsToggled",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)->IsToggled();
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
12665static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12668 bool result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",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 result = (bool)(arg1)->CanBeToggled();
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 resultobj = PyInt_FromLong((long)result);
12684 return resultobj;
12685 fail:
12686 return NULL;
12687}
12688
12689
12690static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj;
12692 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12693 wxBitmap *result;
12694 PyObject * obj0 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "self", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 {
12704 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12705 result = (wxBitmap *) &_result_ref;
12706 }
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12721 wxBitmap *result;
12722 PyObject * obj0 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "self", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 {
12732 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12733 result = (wxBitmap *) &_result_ref;
12734 }
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12740 return resultobj;
12741 fail:
12742 return NULL;
12743}
12744
12745
12746static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj;
12748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12749 wxBitmap result;
12750 PyObject * obj0 = 0 ;
12751 char *kwnames[] = {
12752 (char *) "self", NULL
12753 };
12754
12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 result = (arg1)->GetBitmap();
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 {
12765 wxBitmap * resultptr;
12766 resultptr = new wxBitmap((wxBitmap &) result);
12767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12768 }
12769 return resultobj;
12770 fail:
12771 return NULL;
12772}
12773
12774
12775static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12778 wxString result;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (arg1)->GetLabel();
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 {
12794#if wxUSE_UNICODE
12795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12796#else
12797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12798#endif
12799 }
12800 return resultobj;
12801 fail:
12802 return NULL;
12803}
12804
12805
12806static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12809 wxString result;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (arg1)->GetShortHelp();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 {
12825#if wxUSE_UNICODE
12826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12827#else
12828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12829#endif
12830 }
12831 return resultobj;
12832 fail:
12833 return NULL;
12834}
12835
12836
12837static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12840 wxString result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
12847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 result = (arg1)->GetLongHelp();
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856#if wxUSE_UNICODE
12857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12858#else
12859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12860#endif
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
12868static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12871 bool arg2 ;
12872 bool result;
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "enable", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 arg2 = PyInt_AsLong(obj1) ? true : false;
12882 if (PyErr_Occurred()) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (bool)(arg1)->Enable(arg2);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 resultobj = PyInt_FromLong((long)result);
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
12897static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
12906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 (arg1)->Toggle();
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 Py_INCREF(Py_None); resultobj = Py_None;
12915 return resultobj;
12916 fail:
12917 return NULL;
12918}
12919
12920
12921static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12924 bool arg2 ;
12925 bool result;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self",(char *) "toggle", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12934 arg2 = PyInt_AsLong(obj1) ? true : false;
12935 if (PyErr_Occurred()) SWIG_fail;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (bool)(arg1)->SetToggle(arg2);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 resultobj = PyInt_FromLong((long)result);
12944 return resultobj;
12945 fail:
12946 return NULL;
12947}
12948
12949
12950static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12951 PyObject *resultobj;
12952 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12953 wxString *arg2 = 0 ;
12954 bool result;
423f194a 12955 bool temp2 = False ;
d14a1e28
RD
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj1 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self",(char *) "help", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
12963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12964 {
12965 arg2 = wxString_in_helper(obj1);
12966 if (arg2 == NULL) SWIG_fail;
423f194a 12967 temp2 = True;
d14a1e28
RD
12968 }
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 resultobj = PyInt_FromLong((long)result);
12977 {
12978 if (temp2)
12979 delete arg2;
12980 }
12981 return resultobj;
12982 fail:
12983 {
12984 if (temp2)
12985 delete arg2;
12986 }
12987 return NULL;
12988}
12989
12990
12991static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12994 wxString *arg2 = 0 ;
12995 bool result;
423f194a 12996 bool temp2 = False ;
d14a1e28
RD
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self",(char *) "help", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13005 {
13006 arg2 = wxString_in_helper(obj1);
13007 if (arg2 == NULL) SWIG_fail;
423f194a 13008 temp2 = True;
d14a1e28
RD
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = PyInt_FromLong((long)result);
13018 {
13019 if (temp2)
13020 delete arg2;
13021 }
13022 return resultobj;
13023 fail:
13024 {
13025 if (temp2)
13026 delete arg2;
13027 }
13028 return NULL;
13029}
13030
13031
13032static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13033 PyObject *resultobj;
13034 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13035 wxBitmap *arg2 = 0 ;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj1 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self",(char *) "bmp", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13045 if (arg2 == NULL) {
13046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13047 }
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 Py_INCREF(Py_None); resultobj = Py_None;
13056 return resultobj;
13057 fail:
13058 return NULL;
13059}
13060
13061
13062static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13065 wxBitmap *arg2 = 0 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self",(char *) "bmp", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13075 if (arg2 == NULL) {
13076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13077 }
13078 {
13079 PyThreadState* __tstate = wxPyBeginAllowThreads();
13080 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13081
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 Py_INCREF(Py_None); resultobj = Py_None;
13086 return resultobj;
13087 fail:
13088 return NULL;
13089}
13090
13091
13092static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj;
13094 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13095 wxString *arg2 = 0 ;
423f194a 13096 bool temp2 = False ;
d14a1e28
RD
13097 PyObject * obj0 = 0 ;
13098 PyObject * obj1 = 0 ;
13099 char *kwnames[] = {
13100 (char *) "self",(char *) "label", NULL
13101 };
13102
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13105 {
13106 arg2 = wxString_in_helper(obj1);
13107 if (arg2 == NULL) SWIG_fail;
423f194a 13108 temp2 = True;
d14a1e28
RD
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 (arg1)->SetLabel((wxString const &)*arg2);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 Py_INCREF(Py_None); resultobj = Py_None;
13118 {
13119 if (temp2)
13120 delete arg2;
13121 }
13122 return resultobj;
13123 fail:
13124 {
13125 if (temp2)
13126 delete arg2;
13127 }
13128 return NULL;
13129}
13130
13131
13132static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13135 PyObject * obj0 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 (arg1)->Detach();
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 Py_INCREF(Py_None); resultobj = Py_None;
13150 return resultobj;
13151 fail:
13152 return NULL;
13153}
13154
13155
13156static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13159 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "tbar", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 (arg1)->Attach(arg2);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 Py_INCREF(Py_None); resultobj = Py_None;
13177 return resultobj;
13178 fail:
13179 return NULL;
13180}
13181
13182
13183static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13186 PyObject *result;
13187 PyObject * obj0 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 resultobj = result;
13202 return resultobj;
13203 fail:
13204 return NULL;
13205}
13206
13207
13208static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj;
13210 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13211 PyObject *arg2 = (PyObject *) 0 ;
13212 PyObject * obj0 = 0 ;
13213 PyObject * obj1 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self",(char *) "clientData", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13220 arg2 = obj1;
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 wxToolBarToolBase_SetClientData(arg1,arg2);
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 Py_INCREF(Py_None); resultobj = Py_None;
13229 return resultobj;
13230 fail:
13231 return NULL;
13232}
13233
13234
13235static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13236 PyObject *obj;
13237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13238 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13239 Py_INCREF(obj);
13240 return Py_BuildValue((char *)"");
13241}
13242static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13245 int arg2 ;
13246 wxString *arg3 = 0 ;
13247 wxBitmap *arg4 = 0 ;
13248 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13249 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13250 int arg6 = (int) wxITEM_NORMAL ;
13251 wxString const &arg7_defvalue = wxPyEmptyString ;
13252 wxString *arg7 = (wxString *) &arg7_defvalue ;
13253 wxString const &arg8_defvalue = wxPyEmptyString ;
13254 wxString *arg8 = (wxString *) &arg8_defvalue ;
13255 PyObject *arg9 = (PyObject *) NULL ;
13256 wxToolBarToolBase *result;
423f194a
RD
13257 bool temp3 = False ;
13258 bool temp7 = False ;
13259 bool temp8 = False ;
d14a1e28
RD
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj2 = 0 ;
13262 PyObject * obj3 = 0 ;
13263 PyObject * obj4 = 0 ;
13264 PyObject * obj6 = 0 ;
13265 PyObject * obj7 = 0 ;
13266 PyObject * obj8 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13273 {
13274 arg3 = wxString_in_helper(obj2);
13275 if (arg3 == NULL) SWIG_fail;
423f194a 13276 temp3 = True;
d14a1e28
RD
13277 }
13278 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13279 if (arg4 == NULL) {
13280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13281 }
13282 if (obj4) {
13283 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 if (arg5 == NULL) {
13285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13286 }
13287 }
13288 if (obj6) {
13289 {
13290 arg7 = wxString_in_helper(obj6);
13291 if (arg7 == NULL) SWIG_fail;
423f194a 13292 temp7 = True;
d14a1e28
RD
13293 }
13294 }
13295 if (obj7) {
13296 {
13297 arg8 = wxString_in_helper(obj7);
13298 if (arg8 == NULL) SWIG_fail;
423f194a 13299 temp8 = True;
d14a1e28
RD
13300 }
13301 }
13302 if (obj8) {
13303 arg9 = obj8;
13304 }
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 {
13313 resultobj = wxPyMake_wxObject(result);
13314 }
13315 {
13316 if (temp3)
13317 delete arg3;
13318 }
13319 {
13320 if (temp7)
13321 delete arg7;
13322 }
13323 {
13324 if (temp8)
13325 delete arg8;
13326 }
13327 return resultobj;
13328 fail:
13329 {
13330 if (temp3)
13331 delete arg3;
13332 }
13333 {
13334 if (temp7)
13335 delete arg7;
13336 }
13337 {
13338 if (temp8)
13339 delete arg8;
13340 }
13341 return NULL;
13342}
13343
13344
13345static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13348 size_t arg2 ;
13349 int arg3 ;
13350 wxString *arg4 = 0 ;
13351 wxBitmap *arg5 = 0 ;
13352 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13353 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13354 int arg7 = (int) wxITEM_NORMAL ;
13355 wxString const &arg8_defvalue = wxPyEmptyString ;
13356 wxString *arg8 = (wxString *) &arg8_defvalue ;
13357 wxString const &arg9_defvalue = wxPyEmptyString ;
13358 wxString *arg9 = (wxString *) &arg9_defvalue ;
13359 PyObject *arg10 = (PyObject *) NULL ;
13360 wxToolBarToolBase *result;
423f194a
RD
13361 bool temp4 = False ;
13362 bool temp8 = False ;
13363 bool temp9 = False ;
d14a1e28
RD
13364 PyObject * obj0 = 0 ;
13365 PyObject * obj1 = 0 ;
13366 PyObject * obj3 = 0 ;
13367 PyObject * obj4 = 0 ;
13368 PyObject * obj5 = 0 ;
13369 PyObject * obj7 = 0 ;
13370 PyObject * obj8 = 0 ;
13371 PyObject * obj9 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 arg2 = (size_t) PyInt_AsLong(obj1);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 {
13381 arg4 = wxString_in_helper(obj3);
13382 if (arg4 == NULL) SWIG_fail;
423f194a 13383 temp4 = True;
d14a1e28
RD
13384 }
13385 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 if (arg5 == NULL) {
13387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13388 }
13389 if (obj5) {
13390 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13391 if (arg6 == NULL) {
13392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13393 }
13394 }
13395 if (obj7) {
13396 {
13397 arg8 = wxString_in_helper(obj7);
13398 if (arg8 == NULL) SWIG_fail;
423f194a 13399 temp8 = True;
d14a1e28
RD
13400 }
13401 }
13402 if (obj8) {
13403 {
13404 arg9 = wxString_in_helper(obj8);
13405 if (arg9 == NULL) SWIG_fail;
423f194a 13406 temp9 = True;
d14a1e28
RD
13407 }
13408 }
13409 if (obj9) {
13410 arg10 = obj9;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 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);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = wxPyMake_wxObject(result);
13421 }
13422 {
13423 if (temp4)
13424 delete arg4;
13425 }
13426 {
13427 if (temp8)
13428 delete arg8;
13429 }
13430 {
13431 if (temp9)
13432 delete arg9;
13433 }
13434 return resultobj;
13435 fail:
13436 {
13437 if (temp4)
13438 delete arg4;
13439 }
13440 {
13441 if (temp8)
13442 delete arg8;
13443 }
13444 {
13445 if (temp9)
13446 delete arg9;
13447 }
13448 return NULL;
13449}
13450
13451
13452static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13455 wxControl *arg2 = (wxControl *) 0 ;
13456 wxToolBarToolBase *result;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "control", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 {
13474 resultobj = wxPyMake_wxObject(result);
13475 }
13476 return resultobj;
13477 fail:
13478 return NULL;
13479}
13480
13481
13482static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13485 size_t arg2 ;
13486 wxControl *arg3 = (wxControl *) 0 ;
13487 wxToolBarToolBase *result;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 PyObject * obj2 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self",(char *) "pos",(char *) "control", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13497 arg2 = (size_t) PyInt_AsLong(obj1);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 {
13508 resultobj = wxPyMake_wxObject(result);
13509 }
13510 return resultobj;
13511 fail:
13512 return NULL;
13513}
13514
13515
13516static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13519 int arg2 ;
13520 wxControl *result;
13521 PyObject * obj0 = 0 ;
13522 char *kwnames[] = {
13523 (char *) "self",(char *) "id", NULL
13524 };
13525
13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13528 {
13529 PyThreadState* __tstate = wxPyBeginAllowThreads();
13530 result = (wxControl *)(arg1)->FindControl(arg2);
13531
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 resultobj = wxPyMake_wxObject(result);
13537 }
13538 return resultobj;
13539 fail:
13540 return NULL;
13541}
13542
13543
13544static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13545 PyObject *resultobj;
13546 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13547 wxToolBarToolBase *result;
13548 PyObject * obj0 = 0 ;
13549 char *kwnames[] = {
13550 (char *) "self", NULL
13551 };
13552
13553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = wxPyMake_wxObject(result);
13564 }
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13574 size_t arg2 ;
13575 wxToolBarToolBase *result;
13576 PyObject * obj0 = 0 ;
13577 PyObject * obj1 = 0 ;
13578 char *kwnames[] = {
13579 (char *) "self",(char *) "pos", NULL
13580 };
13581
13582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 arg2 = (size_t) PyInt_AsLong(obj1);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594 resultobj = wxPyMake_wxObject(result);
13595 }
13596 return resultobj;
13597 fail:
13598 return NULL;
13599}
13600
13601
13602static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13605 int arg2 ;
13606 wxToolBarToolBase *result;
13607 PyObject * obj0 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "id", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 {
13622 resultobj = wxPyMake_wxObject(result);
13623 }
13624 return resultobj;
13625 fail:
13626 return NULL;
13627}
13628
13629
13630static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13633 size_t arg2 ;
13634 bool result;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "pos", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13643 arg2 = (size_t) PyInt_AsLong(obj1);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (bool)(arg1)->DeleteToolByPos(arg2);
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = PyInt_FromLong((long)result);
13653 return resultobj;
13654 fail:
13655 return NULL;
13656}
13657
13658
13659static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13662 int arg2 ;
13663 bool result;
13664 PyObject * obj0 = 0 ;
13665 char *kwnames[] = {
13666 (char *) "self",(char *) "id", NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 result = (bool)(arg1)->DeleteTool(arg2);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 resultobj = PyInt_FromLong((long)result);
13679 return resultobj;
13680 fail:
13681 return NULL;
13682}
13683
13684
13685static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",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 (arg1)->ClearTools();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 Py_INCREF(Py_None); resultobj = Py_None;
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
13709static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13712 bool result;
13713 PyObject * obj0 = 0 ;
13714 char *kwnames[] = {
13715 (char *) "self", NULL
13716 };
13717
13718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (bool)(arg1)->Realize();
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 resultobj = PyInt_FromLong((long)result);
13728 return resultobj;
13729 fail:
13730 return NULL;
13731}
13732
13733
13734static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj;
13736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13737 int arg2 ;
13738 bool arg3 ;
13739 PyObject * obj0 = 0 ;
13740 PyObject * obj2 = 0 ;
13741 char *kwnames[] = {
13742 (char *) "self",(char *) "id",(char *) "enable", NULL
13743 };
13744
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13747 arg3 = PyInt_AsLong(obj2) ? true : false;
13748 if (PyErr_Occurred()) SWIG_fail;
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->EnableTool(arg2,arg3);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 Py_INCREF(Py_None); resultobj = Py_None;
13757 return resultobj;
13758 fail:
13759 return NULL;
13760}
13761
13762
13763static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13766 int arg2 ;
13767 bool arg3 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj2 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self",(char *) "id",(char *) "toggle", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13776 arg3 = PyInt_AsLong(obj2) ? true : false;
13777 if (PyErr_Occurred()) SWIG_fail;
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 (arg1)->ToggleTool(arg2,arg3);
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 Py_INCREF(Py_None); resultobj = Py_None;
13786 return resultobj;
13787 fail:
13788 return NULL;
13789}
13790
13791
13792static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj;
13794 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13795 int arg2 ;
13796 bool arg3 ;
13797 PyObject * obj0 = 0 ;
13798 PyObject * obj2 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "id",(char *) "toggle", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13805 arg3 = PyInt_AsLong(obj2) ? true : false;
13806 if (PyErr_Occurred()) SWIG_fail;
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 (arg1)->SetToggle(arg2,arg3);
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 Py_INCREF(Py_None); resultobj = Py_None;
13815 return resultobj;
13816 fail:
13817 return NULL;
13818}
13819
13820
13821static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13824 int arg2 ;
13825 PyObject *result;
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self",(char *) "id", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 resultobj = result;
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13850 int arg2 ;
13851 PyObject *arg3 = (PyObject *) 0 ;
13852 PyObject * obj0 = 0 ;
13853 PyObject * obj2 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self",(char *) "id",(char *) "clientData", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 arg3 = obj2;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13878 int arg2 ;
13879 int result;
13880 PyObject * obj0 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self",(char *) "id", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
13886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 resultobj = PyInt_FromLong((long)result);
13895 return resultobj;
13896 fail:
13897 return NULL;
13898}
13899
13900
13901static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13904 int arg2 ;
13905 bool result;
13906 PyObject * obj0 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self",(char *) "id", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->GetToolState(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = PyInt_FromLong((long)result);
13921 return resultobj;
13922 fail:
13923 return NULL;
13924}
13925
13926
13927static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13930 int arg2 ;
13931 bool result;
13932 PyObject * obj0 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self",(char *) "id", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
13938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (bool)(arg1)->GetToolEnabled(arg2);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = PyInt_FromLong((long)result);
13947 return resultobj;
13948 fail:
13949 return NULL;
13950}
13951
13952
13953static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13956 int arg2 ;
13957 wxString *arg3 = 0 ;
423f194a 13958 bool temp3 = False ;
d14a1e28
RD
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj2 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self",(char *) "id",(char *) "helpString", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13967 {
13968 arg3 = wxString_in_helper(obj2);
13969 if (arg3 == NULL) SWIG_fail;
423f194a 13970 temp3 = True;
d14a1e28
RD
13971 }
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 Py_INCREF(Py_None); resultobj = Py_None;
13980 {
13981 if (temp3)
13982 delete arg3;
13983 }
13984 return resultobj;
13985 fail:
13986 {
13987 if (temp3)
13988 delete arg3;
13989 }
13990 return NULL;
13991}
13992
13993
13994static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13997 int arg2 ;
13998 wxString result;
13999 PyObject * obj0 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "id", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 result = (arg1)->GetToolShortHelp(arg2);
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 {
14014#if wxUSE_UNICODE
14015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14016#else
14017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14018#endif
14019 }
14020 return resultobj;
14021 fail:
14022 return NULL;
14023}
14024
14025
14026static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14029 int arg2 ;
14030 wxString *arg3 = 0 ;
423f194a 14031 bool temp3 = False ;
d14a1e28
RD
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj2 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "id",(char *) "helpString", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14040 {
14041 arg3 = wxString_in_helper(obj2);
14042 if (arg3 == NULL) SWIG_fail;
423f194a 14043 temp3 = True;
d14a1e28
RD
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 if (temp3)
14055 delete arg3;
14056 }
14057 return resultobj;
14058 fail:
14059 {
14060 if (temp3)
14061 delete arg3;
14062 }
14063 return NULL;
14064}
14065
14066
14067static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14070 int arg2 ;
14071 wxString result;
14072 PyObject * obj0 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self",(char *) "id", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = (arg1)->GetToolLongHelp(arg2);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087#if wxUSE_UNICODE
14088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14089#else
14090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14091#endif
14092 }
14093 return resultobj;
14094 fail:
14095 return NULL;
14096}
14097
14098
14099static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14102 int arg2 ;
14103 int arg3 ;
14104 PyObject * obj0 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self",(char *) "x",(char *) "y", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->SetMargins(arg2,arg3);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
14125static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14128 wxSize *arg2 = 0 ;
14129 wxSize temp2 ;
14130 PyObject * obj0 = 0 ;
14131 PyObject * obj1 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self",(char *) "size", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 {
14139 arg2 = &temp2;
14140 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetMargins((wxSize const &)*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
14156static PyObject *_wrap_ToolBarBase_SetToolPacking(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 *) "packing", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",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)->SetToolPacking(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
14181static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14184 int arg2 ;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self",(char *) "separation", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) 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 (arg1)->SetToolSeparation(arg2);
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 Py_INCREF(Py_None); resultobj = Py_None;
14200 return resultobj;
14201 fail:
14202 return NULL;
14203}
14204
14205
14206static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14209 wxSize result;
14210 PyObject * obj0 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 result = (arg1)->GetToolMargins();
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 {
14225 wxSize * resultptr;
14226 resultptr = new wxSize((wxSize &) result);
14227 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14228 }
14229 return resultobj;
14230 fail:
14231 return NULL;
14232}
14233
14234
14235static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj;
14237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14238 wxSize result;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (arg1)->GetMargins();
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 {
14254 wxSize * resultptr;
14255 resultptr = new wxSize((wxSize &) result);
14256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14257 }
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
14264static PyObject *_wrap_ToolBarBase_GetToolPacking(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_GetToolPacking",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)->GetToolPacking();
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
14289static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14292 int result;
14293 PyObject * obj0 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) 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 result = (int)(arg1)->GetToolSeparation();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = PyInt_FromLong((long)result);
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
14314static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14317 int arg2 ;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "nRows", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 (arg1)->SetRows(arg2);
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 Py_INCREF(Py_None); resultobj = Py_None;
14333 return resultobj;
14334 fail:
14335 return NULL;
14336}
14337
14338
14339static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14342 int arg2 ;
14343 int arg3 ;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self",(char *) "rows",(char *) "cols", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) 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 (arg1)->SetMaxRowsCols(arg2,arg3);
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 Py_INCREF(Py_None); resultobj = Py_None;
14359 return resultobj;
14360 fail:
14361 return NULL;
14362}
14363
14364
14365static PyObject *_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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)->GetMaxRows();
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
14390static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14393 int result;
14394 PyObject * obj0 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (int)(arg1)->GetMaxCols();
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 resultobj = PyInt_FromLong((long)result);
14409 return resultobj;
14410 fail:
14411 return NULL;
14412}
14413
14414
14415static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj;
14417 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14418 wxSize *arg2 = 0 ;
14419 wxSize temp2 ;
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "size", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14428 {
14429 arg2 = &temp2;
14430 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14431 }
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 Py_INCREF(Py_None); resultobj = Py_None;
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
14446static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14449 wxSize result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (arg1)->GetToolBitmapSize();
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 {
14465 wxSize * resultptr;
14466 resultptr = new wxSize((wxSize &) result);
14467 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14468 }
14469 return resultobj;
14470 fail:
14471 return NULL;
14472}
14473
14474
14475static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14478 wxSize result;
14479 PyObject * obj0 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (arg1)->GetToolSize();
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 {
14494 wxSize * resultptr;
14495 resultptr = new wxSize((wxSize &) result);
14496 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14497 }
14498 return resultobj;
14499 fail:
14500 return NULL;
14501}
14502
14503
14504static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
423f194a
RD
14507 int arg2 ;
14508 int arg3 ;
d14a1e28
RD
14509 wxToolBarToolBase *result;
14510 PyObject * obj0 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self",(char *) "x",(char *) "y", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 {
14525 resultobj = wxPyMake_wxObject(result);
14526 }
14527 return resultobj;
14528 fail:
14529 return NULL;
14530}
14531
14532
14533static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14536 bool result;
14537 PyObject * obj0 = 0 ;
14538 char *kwnames[] = {
14539 (char *) "self", NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 result = (bool)(arg1)->IsVertical();
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 resultobj = PyInt_FromLong((long)result);
14552 return resultobj;
14553 fail:
14554 return NULL;
14555}
14556
14557
14558static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14559 PyObject *obj;
14560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14561 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14562 Py_INCREF(obj);
14563 return Py_BuildValue((char *)"");
14564}
14565static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14568 int arg2 ;
d14a1e28
RD
14569 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14570 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14571 wxSize const &arg4_defvalue = wxDefaultSize ;
14572 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14573 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14574 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14575 wxString *arg6 = (wxString *) &arg6_defvalue ;
14576 wxToolBar *result;
14577 wxPoint temp3 ;
14578 wxSize temp4 ;
423f194a 14579 bool temp6 = False ;
d14a1e28
RD
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj2 = 0 ;
14582 PyObject * obj3 = 0 ;
14583 PyObject * obj5 = 0 ;
14584 char *kwnames[] = {
14585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14586 };
14587
14588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 if (obj2) {
14591 {
14592 arg3 = &temp3;
14593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14594 }
14595 }
14596 if (obj3) {
14597 {
14598 arg4 = &temp4;
14599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14600 }
14601 }
14602 if (obj5) {
14603 {
14604 arg6 = wxString_in_helper(obj5);
14605 if (arg6 == NULL) SWIG_fail;
423f194a 14606 temp6 = True;
d14a1e28
RD
14607 }
14608 }
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 {
14617 resultobj = wxPyMake_wxObject(result);
14618 }
14619 {
14620 if (temp6)
14621 delete arg6;
14622 }
14623 return resultobj;
14624 fail:
14625 {
14626 if (temp6)
14627 delete arg6;
14628 }
14629 return NULL;
14630}
14631
14632
14633static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxToolBar *result;
14636 char *kwnames[] = {
14637 NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 result = (wxToolBar *)new wxToolBar();
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 {
14649 resultobj = wxPyMake_wxObject(result);
14650 }
14651 return resultobj;
14652 fail:
14653 return NULL;
14654}
14655
14656
14657static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxToolBar *arg1 = (wxToolBar *) 0 ;
14660 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 14661 int arg3 ;
d14a1e28
RD
14662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14664 wxSize const &arg5_defvalue = wxDefaultSize ;
14665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14666 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14667 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14668 wxString *arg7 = (wxString *) &arg7_defvalue ;
14669 bool result;
14670 wxPoint temp4 ;
14671 wxSize temp5 ;
423f194a 14672 bool temp7 = False ;
d14a1e28
RD
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 PyObject * obj3 = 0 ;
14676 PyObject * obj4 = 0 ;
14677 PyObject * obj6 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14685 if (obj3) {
14686 {
14687 arg4 = &temp4;
14688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14689 }
14690 }
14691 if (obj4) {
14692 {
14693 arg5 = &temp5;
14694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14695 }
14696 }
14697 if (obj6) {
14698 {
14699 arg7 = wxString_in_helper(obj6);
14700 if (arg7 == NULL) SWIG_fail;
423f194a 14701 temp7 = True;
d14a1e28
RD
14702 }
14703 }
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 resultobj = PyInt_FromLong((long)result);
14712 {
14713 if (temp7)
14714 delete arg7;
14715 }
14716 return resultobj;
14717 fail:
14718 {
14719 if (temp7)
14720 delete arg7;
14721 }
14722 return NULL;
14723}
14724
14725
14726static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxToolBar *arg1 = (wxToolBar *) 0 ;
423f194a
RD
14729 int arg2 ;
14730 int arg3 ;
d14a1e28
RD
14731 wxToolBarToolBase *result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "x",(char *) "y", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 resultobj = wxPyMake_wxObject(result);
14748 }
14749 return resultobj;
14750 fail:
14751 return NULL;
14752}
14753
14754
14755static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14756 PyObject *obj;
14757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14758 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14759 Py_INCREF(obj);
14760 return Py_BuildValue((char *)"");
14761}
14762static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 wxColour const &arg1_defvalue = wxNullColour ;
14765 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14766 wxColour const &arg2_defvalue = wxNullColour ;
14767 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14768 wxFont const &arg3_defvalue = wxNullFont ;
14769 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14770 wxListItemAttr *result;
14771 wxColour temp1 ;
14772 wxColour temp2 ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 PyObject * obj2 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14781 if (obj0) {
14782 {
14783 arg1 = &temp1;
14784 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14785 }
14786 }
14787 if (obj1) {
14788 {
14789 arg2 = &temp2;
14790 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14791 }
14792 }
14793 if (obj2) {
14794 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14795 if (arg3 == NULL) {
14796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14797 }
14798 }
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14807 return resultobj;
14808 fail:
14809 return NULL;
14810}
14811
14812
14813static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14816 wxColour *arg2 = 0 ;
14817 wxColour temp2 ;
14818 PyObject * obj0 = 0 ;
14819 PyObject * obj1 = 0 ;
14820 char *kwnames[] = {
14821 (char *) "self",(char *) "colText", NULL
14822 };
14823
14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
14825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14826 {
14827 arg2 = &temp2;
14828 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14829 }
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 (arg1)->SetTextColour((wxColour const &)*arg2);
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 Py_INCREF(Py_None); resultobj = Py_None;
14838 return resultobj;
14839 fail:
14840 return NULL;
14841}
14842
14843
14844static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14847 wxColour *arg2 = 0 ;
14848 wxColour temp2 ;
14849 PyObject * obj0 = 0 ;
14850 PyObject * obj1 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "self",(char *) "colBack", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
14856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14857 {
14858 arg2 = &temp2;
14859 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14860 }
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 Py_INCREF(Py_None); resultobj = Py_None;
14869 return resultobj;
14870 fail:
14871 return NULL;
14872}
14873
14874
14875static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14878 wxFont *arg2 = 0 ;
14879 PyObject * obj0 = 0 ;
14880 PyObject * obj1 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self",(char *) "font", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
14886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14888 if (arg2 == NULL) {
14889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14890 }
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 (arg1)->SetFont((wxFont const &)*arg2);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 Py_INCREF(Py_None); resultobj = Py_None;
14899 return resultobj;
14900 fail:
14901 return NULL;
14902}
14903
14904
14905static PyObject *_wrap_ListItemAttr_HasTextColour(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_HasTextColour",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)->HasTextColour();
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
14930static PyObject *_wrap_ListItemAttr_HasBackgroundColour(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_HasBackgroundColour",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)->HasBackgroundColour();
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
14955static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14958 bool result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",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 = (bool)(arg1)->HasFont();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 resultobj = PyInt_FromLong((long)result);
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
14980static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj;
14982 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14983 wxColour result;
14984 PyObject * obj0 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (arg1)->GetTextColour();
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 {
14999 wxColour * resultptr;
15000 resultptr = new wxColour((wxColour &) result);
15001 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15002 }
15003 return resultobj;
15004 fail:
15005 return NULL;
15006}
15007
15008
15009static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj;
15011 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15012 wxColour result;
15013 PyObject * obj0 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (arg1)->GetBackgroundColour();
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 wxColour * resultptr;
15029 resultptr = new wxColour((wxColour &) result);
15030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15031 }
15032 return resultobj;
15033 fail:
15034 return NULL;
15035}
15036
15037
15038static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15041 wxFont result;
15042 PyObject * obj0 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self", NULL
15045 };
15046
15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (arg1)->GetFont();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 {
15057 wxFont * resultptr;
15058 resultptr = new wxFont((wxFont &) result);
15059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15060 }
15061 return resultobj;
15062 fail:
15063 return NULL;
15064}
15065
15066
15067static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15070 PyObject * obj0 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 wxListItemAttr_Destroy(arg1);
15080
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 Py_INCREF(Py_None); resultobj = Py_None;
15085 return resultobj;
15086 fail:
15087 return NULL;
15088}
15089
15090
15091static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15092 PyObject *obj;
15093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15094 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15095 Py_INCREF(obj);
15096 return Py_BuildValue((char *)"");
15097}
15098static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxListItem *result;
15101 char *kwnames[] = {
15102 NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 result = (wxListItem *)new wxListItem();
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 {
15114 resultobj = wxPyMake_wxObject(result);
15115 }
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
15122static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxListItem *arg1 = (wxListItem *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 delete arg1;
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 Py_INCREF(Py_None); resultobj = Py_None;
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
15146static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxListItem *arg1 = (wxListItem *) 0 ;
15149 PyObject * obj0 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 (arg1)->Clear();
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 Py_INCREF(Py_None); resultobj = Py_None;
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
15170static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxListItem *arg1 = (wxListItem *) 0 ;
15173 PyObject * obj0 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) 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)->ClearAttributes();
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
15194static PyObject *_wrap_ListItem_SetMask(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 *) "mask", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",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)->SetMask(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
15219static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxListItem *arg1 = (wxListItem *) 0 ;
15222 long arg2 ;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self",(char *) "id", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",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)->SetId(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
15244static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxListItem *arg1 = (wxListItem *) 0 ;
15247 int arg2 ;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "col", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",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)->SetColumn(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
15269static PyObject *_wrap_ListItem_SetState(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 *) "state", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",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)->SetState(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
15294static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxListItem *arg1 = (wxListItem *) 0 ;
15297 long arg2 ;
15298 PyObject * obj0 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self",(char *) "stateMask", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 (arg1)->SetStateMask(arg2);
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 Py_INCREF(Py_None); resultobj = Py_None;
15313 return resultobj;
15314 fail:
15315 return NULL;
15316}
15317
15318
15319static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15320 PyObject *resultobj;
15321 wxListItem *arg1 = (wxListItem *) 0 ;
15322 wxString *arg2 = 0 ;
423f194a 15323 bool temp2 = False ;
d14a1e28
RD
15324 PyObject * obj0 = 0 ;
15325 PyObject * obj1 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self",(char *) "text", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15332 {
15333 arg2 = wxString_in_helper(obj1);
15334 if (arg2 == NULL) SWIG_fail;
423f194a 15335 temp2 = True;
d14a1e28
RD
15336 }
15337 {
15338 PyThreadState* __tstate = wxPyBeginAllowThreads();
15339 (arg1)->SetText((wxString const &)*arg2);
15340
15341 wxPyEndAllowThreads(__tstate);
15342 if (PyErr_Occurred()) SWIG_fail;
15343 }
15344 Py_INCREF(Py_None); resultobj = Py_None;
15345 {
15346 if (temp2)
15347 delete arg2;
15348 }
15349 return resultobj;
15350 fail:
15351 {
15352 if (temp2)
15353 delete arg2;
15354 }
15355 return NULL;
15356}
15357
15358
15359static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxListItem *arg1 = (wxListItem *) 0 ;
15362 int arg2 ;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self",(char *) "image", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",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)->SetImage(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
15384static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxListItem *arg1 = (wxListItem *) 0 ;
15387 long arg2 ;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "data", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",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)->SetData(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
15409static PyObject *_wrap_ListItem_SetWidth(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 *) "width", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",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)->SetWidth(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
15434static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxListItem *arg1 = (wxListItem *) 0 ;
15437 int arg2 ;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self",(char *) "align", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 (arg1)->SetAlign((wxListColumnFormat )arg2);
15448
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 Py_INCREF(Py_None); resultobj = Py_None;
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
15459static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxListItem *arg1 = (wxListItem *) 0 ;
15462 wxColour *arg2 = 0 ;
15463 wxColour temp2 ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "colText", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15472 {
15473 arg2 = &temp2;
15474 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15475 }
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->SetTextColour((wxColour const &)*arg2);
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 Py_INCREF(Py_None); resultobj = Py_None;
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
15490static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxListItem *arg1 = (wxListItem *) 0 ;
15493 wxColour *arg2 = 0 ;
15494 wxColour temp2 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "colBack", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15503 {
15504 arg2 = &temp2;
15505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15506 }
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
15521static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxListItem *arg1 = (wxListItem *) 0 ;
15524 wxFont *arg2 = 0 ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "font", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15534 if (arg2 == NULL) {
15535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15536 }
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->SetFont((wxFont const &)*arg2);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548}
15549
15550
15551static PyObject *_wrap_ListItem_GetMask(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_GetMask",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)->GetMask();
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
15576static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxListItem *arg1 = (wxListItem *) 0 ;
15579 long result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",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 = (long)(arg1)->GetId();
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
15601static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxListItem *arg1 = (wxListItem *) 0 ;
15604 int result;
15605 PyObject * obj0 = 0 ;
15606 char *kwnames[] = {
15607 (char *) "self", NULL
15608 };
15609
15610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",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 = (int)(arg1)->GetColumn();
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
15626static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxListItem *arg1 = (wxListItem *) 0 ;
15629 long result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",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 result = (long)(arg1)->GetState();
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 resultobj = PyInt_FromLong((long)result);
15645 return resultobj;
15646 fail:
15647 return NULL;
15648}
15649
15650
15651static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxListItem *arg1 = (wxListItem *) 0 ;
15654 wxString *result;
15655 PyObject * obj0 = 0 ;
15656 char *kwnames[] = {
15657 (char *) "self", NULL
15658 };
15659
15660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 {
15665 wxString const &_result_ref = (arg1)->GetText();
15666 result = (wxString *) &_result_ref;
15667 }
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15673 return resultobj;
15674 fail:
15675 return NULL;
15676}
15677
15678
15679static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxListItem *arg1 = (wxListItem *) 0 ;
15682 int result;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",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 = (int)(arg1)->GetImage();
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
15704static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxListItem *arg1 = (wxListItem *) 0 ;
15707 long result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",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 = (long)(arg1)->GetData();
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
15729static PyObject *_wrap_ListItem_GetWidth(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_GetWidth",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)->GetWidth();
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
15754static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxListItem *arg1 = (wxListItem *) 0 ;
15757 int result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",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 = (int)(arg1)->GetAlign();
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 resultobj = PyInt_FromLong((long)result);
15773 return resultobj;
15774 fail:
15775 return NULL;
15776}
15777
15778
15779static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxListItem *arg1 = (wxListItem *) 0 ;
15782 wxListItemAttr *result;
15783 PyObject * obj0 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",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 = (wxListItemAttr *)(arg1)->GetAttributes();
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15798 return resultobj;
15799 fail:
15800 return NULL;
15801}
15802
15803
15804static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxListItem *arg1 = (wxListItem *) 0 ;
15807 bool result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",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 = (bool)(arg1)->HasAttributes();
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 resultobj = PyInt_FromLong((long)result);
15823 return resultobj;
15824 fail:
15825 return NULL;
15826}
15827
15828
15829static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15830 PyObject *resultobj;
15831 wxListItem *arg1 = (wxListItem *) 0 ;
15832 wxColour result;
15833 PyObject * obj0 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 result = ((wxListItem const *)arg1)->GetTextColour();
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 wxColour * resultptr;
15849 resultptr = new wxColour((wxColour &) result);
15850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15851 }
15852 return resultobj;
15853 fail:
15854 return NULL;
15855}
15856
15857
15858static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15859 PyObject *resultobj;
15860 wxListItem *arg1 = (wxListItem *) 0 ;
15861 wxColour result;
15862 PyObject * obj0 = 0 ;
15863 char *kwnames[] = {
15864 (char *) "self", NULL
15865 };
15866
15867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 result = ((wxListItem const *)arg1)->GetBackgroundColour();
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 {
15877 wxColour * resultptr;
15878 resultptr = new wxColour((wxColour &) result);
15879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15880 }
15881 return resultobj;
15882 fail:
15883 return NULL;
15884}
15885
15886
15887static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 wxListItem *arg1 = (wxListItem *) 0 ;
15890 wxFont result;
15891 PyObject * obj0 = 0 ;
15892 char *kwnames[] = {
15893 (char *) "self", NULL
15894 };
15895
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 result = ((wxListItem const *)arg1)->GetFont();
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 {
15906 wxFont * resultptr;
15907 resultptr = new wxFont((wxFont &) result);
15908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15909 }
15910 return resultobj;
15911 fail:
15912 return NULL;
15913}
15914
15915
15916static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxListItem *arg1 = (wxListItem *) 0 ;
15919 long arg2 ;
15920 PyObject * obj0 = 0 ;
15921 char *kwnames[] = {
15922 (char *) "self",(char *) "m_mask", NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
15926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15927 if (arg1) (arg1)->m_mask = arg2;
15928
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
15936static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxListItem *arg1 = (wxListItem *) 0 ;
15939 long result;
15940 PyObject * obj0 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15947 result = (long) ((arg1)->m_mask);
15948
15949 resultobj = PyInt_FromLong((long)result);
15950 return resultobj;
15951 fail:
15952 return NULL;
15953}
15954
15955
15956static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxListItem *arg1 = (wxListItem *) 0 ;
15959 long arg2 ;
15960 PyObject * obj0 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self",(char *) "m_itemId", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15967 if (arg1) (arg1)->m_itemId = arg2;
15968
15969 Py_INCREF(Py_None); resultobj = Py_None;
15970 return resultobj;
15971 fail:
15972 return NULL;
15973}
15974
15975
15976static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj;
15978 wxListItem *arg1 = (wxListItem *) 0 ;
15979 long result;
15980 PyObject * obj0 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15987 result = (long) ((arg1)->m_itemId);
15988
15989 resultobj = PyInt_FromLong((long)result);
15990 return resultobj;
15991 fail:
15992 return NULL;
15993}
15994
15995
15996static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxListItem *arg1 = (wxListItem *) 0 ;
15999 int arg2 ;
16000 PyObject * obj0 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "m_col", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 if (arg1) (arg1)->m_col = arg2;
16008
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
16016static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxListItem *arg1 = (wxListItem *) 0 ;
16019 int result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16027 result = (int) ((arg1)->m_col);
16028
16029 resultobj = PyInt_FromLong((long)result);
16030 return resultobj;
16031 fail:
16032 return NULL;
16033}
16034
16035
16036static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxListItem *arg1 = (wxListItem *) 0 ;
16039 long arg2 ;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self",(char *) "m_state", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16047 if (arg1) (arg1)->m_state = arg2;
16048
16049 Py_INCREF(Py_None); resultobj = Py_None;
16050 return resultobj;
16051 fail:
16052 return NULL;
16053}
16054
16055
16056static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxListItem *arg1 = (wxListItem *) 0 ;
16059 long result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 result = (long) ((arg1)->m_state);
16068
16069 resultobj = PyInt_FromLong((long)result);
16070 return resultobj;
16071 fail:
16072 return NULL;
16073}
16074
16075
16076static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxListItem *arg1 = (wxListItem *) 0 ;
16079 long arg2 ;
16080 PyObject * obj0 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self",(char *) "m_stateMask", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16087 if (arg1) (arg1)->m_stateMask = arg2;
16088
16089 Py_INCREF(Py_None); resultobj = Py_None;
16090 return resultobj;
16091 fail:
16092 return NULL;
16093}
16094
16095
16096static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxListItem *arg1 = (wxListItem *) 0 ;
16099 long result;
16100 PyObject * obj0 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16107 result = (long) ((arg1)->m_stateMask);
16108
16109 resultobj = PyInt_FromLong((long)result);
16110 return resultobj;
16111 fail:
16112 return NULL;
16113}
16114
16115
16116static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxListItem *arg1 = (wxListItem *) 0 ;
16119 wxString arg2 ;
d14a1e28
RD
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "m_text", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a
RD
16128 {
16129 wxString* sptr = wxString_in_helper(obj1);
16130 if (sptr == NULL) SWIG_fail;
16131 arg2 = *sptr;
16132 delete sptr;
16133 }
d14a1e28
RD
16134 if (arg1) (arg1)->m_text = arg2;
16135
16136 Py_INCREF(Py_None); resultobj = Py_None;
16137 return resultobj;
16138 fail:
16139 return NULL;
16140}
16141
16142
16143static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxListItem *arg1 = (wxListItem *) 0 ;
16146 wxString result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16154 result = ((arg1)->m_text);
16155
16156 {
16157#if wxUSE_UNICODE
16158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16159#else
16160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16161#endif
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxListItem *arg1 = (wxListItem *) 0 ;
16172 int arg2 ;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "m_image", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 if (arg1) (arg1)->m_image = arg2;
16181
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 return resultobj;
16184 fail:
16185 return NULL;
16186}
16187
16188
16189static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxListItem *arg1 = (wxListItem *) 0 ;
16192 int result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16200 result = (int) ((arg1)->m_image);
16201
16202 resultobj = PyInt_FromLong((long)result);
16203 return resultobj;
16204 fail:
16205 return NULL;
16206}
16207
16208
16209static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxListItem *arg1 = (wxListItem *) 0 ;
16212 long arg2 ;
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "m_data", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16220 if (arg1) (arg1)->m_data = arg2;
16221
16222 Py_INCREF(Py_None); resultobj = Py_None;
16223 return resultobj;
16224 fail:
16225 return NULL;
16226}
16227
16228
16229static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxListItem *arg1 = (wxListItem *) 0 ;
16232 long result;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16240 result = (long) ((arg1)->m_data);
16241
16242 resultobj = PyInt_FromLong((long)result);
16243 return resultobj;
16244 fail:
16245 return NULL;
16246}
16247
16248
16249static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxListItem *arg1 = (wxListItem *) 0 ;
16252 int arg2 ;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "m_format", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 if (arg1) (arg1)->m_format = arg2;
16261
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266}
16267
16268
16269static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxListItem *arg1 = (wxListItem *) 0 ;
16272 int result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16280 result = (int) ((arg1)->m_format);
16281
16282 resultobj = PyInt_FromLong((long)result);
16283 return resultobj;
16284 fail:
16285 return NULL;
16286}
16287
16288
16289static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxListItem *arg1 = (wxListItem *) 0 ;
16292 int arg2 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "m_width", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16300 if (arg1) (arg1)->m_width = arg2;
16301
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 return resultobj;
16304 fail:
16305 return NULL;
16306}
16307
16308
16309static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxListItem *arg1 = (wxListItem *) 0 ;
16312 int result;
16313 PyObject * obj0 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16320 result = (int) ((arg1)->m_width);
16321
16322 resultobj = PyInt_FromLong((long)result);
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16330 PyObject *obj;
16331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16332 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16333 Py_INCREF(obj);
16334 return Py_BuildValue((char *)"");
16335}
16336static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16339 int arg2 = (int) 0 ;
16340 wxListEvent *result;
16341 char *kwnames[] = {
16342 (char *) "commandType",(char *) "id", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxListEvent *arg1 = (wxListEvent *) 0 ;
16363 int arg2 ;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self",(char *) "m_code", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 if (arg1) (arg1)->m_code = arg2;
16372
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377}
16378
16379
16380static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxListEvent *arg1 = (wxListEvent *) 0 ;
16383 int result;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16391 result = (int) ((arg1)->m_code);
16392
16393 resultobj = PyInt_FromLong((long)result);
16394 return resultobj;
16395 fail:
16396 return NULL;
16397}
16398
16399
16400static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxListEvent *arg1 = (wxListEvent *) 0 ;
16403 long arg2 ;
16404 PyObject * obj0 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "m_oldItemIndex", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16411 if (arg1) (arg1)->m_oldItemIndex = arg2;
16412
16413 Py_INCREF(Py_None); resultobj = Py_None;
16414 return resultobj;
16415 fail:
16416 return NULL;
16417}
16418
16419
16420static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxListEvent *arg1 = (wxListEvent *) 0 ;
16423 long result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16431 result = (long) ((arg1)->m_oldItemIndex);
16432
16433 resultobj = PyInt_FromLong((long)result);
16434 return resultobj;
16435 fail:
16436 return NULL;
16437}
16438
16439
16440static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxListEvent *arg1 = (wxListEvent *) 0 ;
16443 long arg2 ;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "m_itemIndex", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16451 if (arg1) (arg1)->m_itemIndex = arg2;
16452
16453 Py_INCREF(Py_None); resultobj = Py_None;
16454 return resultobj;
16455 fail:
16456 return NULL;
16457}
16458
16459
16460static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxListEvent *arg1 = (wxListEvent *) 0 ;
16463 long result;
16464 PyObject * obj0 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16471 result = (long) ((arg1)->m_itemIndex);
16472
16473 resultobj = PyInt_FromLong((long)result);
16474 return resultobj;
16475 fail:
16476 return NULL;
16477}
16478
16479
16480static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxListEvent *arg1 = (wxListEvent *) 0 ;
16483 int arg2 ;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "m_col", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 if (arg1) (arg1)->m_col = arg2;
16492
16493 Py_INCREF(Py_None); resultobj = Py_None;
16494 return resultobj;
16495 fail:
16496 return NULL;
16497}
16498
16499
16500static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxListEvent *arg1 = (wxListEvent *) 0 ;
16503 int result;
16504 PyObject * obj0 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16511 result = (int) ((arg1)->m_col);
16512
16513 resultobj = PyInt_FromLong((long)result);
16514 return resultobj;
16515 fail:
16516 return NULL;
16517}
16518
16519
16520static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxListEvent *arg1 = (wxListEvent *) 0 ;
16523 wxPoint *arg2 = (wxPoint *) 0 ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self",(char *) "m_pointDrag", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 if (arg1) (arg1)->m_pointDrag = *arg2;
16534
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
16542static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxListEvent *arg1 = (wxListEvent *) 0 ;
16545 wxPoint *result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16553 result = (wxPoint *)& ((arg1)->m_pointDrag);
16554
16555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16556 return resultobj;
16557 fail:
16558 return NULL;
16559}
16560
16561
16562static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxListEvent *arg1 = (wxListEvent *) 0 ;
16565 wxListItem *result;
16566 PyObject * obj0 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 result = (wxListItem *)& ((arg1)->m_item);
16574
16575 {
16576 resultobj = wxPyMake_wxObject(result);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581}
16582
16583
16584static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxListEvent *arg1 = (wxListEvent *) 0 ;
16587 int result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",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 = (int)(arg1)->GetKeyCode();
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
16609static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxListEvent *arg1 = (wxListEvent *) 0 ;
16612 long result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",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 = (long)(arg1)->GetIndex();
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
16634static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxListEvent *arg1 = (wxListEvent *) 0 ;
16637 int result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",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 = (int)(arg1)->GetColumn();
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 resultobj = PyInt_FromLong((long)result);
16653 return resultobj;
16654 fail:
16655 return NULL;
16656}
16657
16658
16659static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 wxListEvent *arg1 = (wxListEvent *) 0 ;
16662 wxPoint result;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (arg1)->GetPoint();
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 wxPoint * resultptr;
16679 resultptr = new wxPoint((wxPoint &) result);
16680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685}
16686
16687
16688static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxListEvent *arg1 = (wxListEvent *) 0 ;
16691 wxString *result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 {
16702 wxString const &_result_ref = (arg1)->GetLabel();
16703 result = (wxString *) &_result_ref;
16704 }
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
16716static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxListEvent *arg1 = (wxListEvent *) 0 ;
16719 wxString *result;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 {
16730 wxString const &_result_ref = (arg1)->GetText();
16731 result = (wxString *) &_result_ref;
16732 }
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741}
16742
16743
16744static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxListEvent *arg1 = (wxListEvent *) 0 ;
16747 int result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",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 = (int)(arg1)->GetImage();
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
16769static PyObject *_wrap_ListEvent_GetData(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_GetData",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)->GetData();
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
16794static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxListEvent *arg1 = (wxListEvent *) 0 ;
16797 long result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",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 result = (long)(arg1)->GetMask();
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 resultobj = PyInt_FromLong((long)result);
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxListEvent *arg1 = (wxListEvent *) 0 ;
16822 wxListItem *result;
16823 PyObject * obj0 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "self", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
16829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 {
16833 wxListItem const &_result_ref = (arg1)->GetItem();
16834 result = (wxListItem *) &_result_ref;
16835 }
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
16841 return resultobj;
16842 fail:
16843 return NULL;
16844}
16845
16846
16847static PyObject *_wrap_ListEvent_GetCacheFrom(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_GetCacheFrom",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)->GetCacheFrom();
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
16872static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxListEvent *arg1 = (wxListEvent *) 0 ;
16875 long result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",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 = (long)(arg1)->GetCacheTo();
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
16897static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxListEvent *arg1 = (wxListEvent *) 0 ;
16900 bool result;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
16907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 resultobj = PyInt_FromLong((long)result);
16916 return resultobj;
16917 fail:
16918 return NULL;
16919}
16920
16921
16922static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj;
16924 wxListEvent *arg1 = (wxListEvent *) 0 ;
16925 bool arg2 ;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self",(char *) "editCancelled", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16934 arg2 = PyInt_AsLong(obj1) ? true : false;
16935 if (PyErr_Occurred()) SWIG_fail;
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetEditCanceled(arg2);
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 Py_INCREF(Py_None); resultobj = Py_None;
16944 return resultobj;
16945 fail:
16946 return NULL;
16947}
16948
16949
16950static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
16951 PyObject *obj;
16952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16953 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
16954 Py_INCREF(obj);
16955 return Py_BuildValue((char *)"");
16956}
16957static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 16960 int arg2 = (int) -1 ;
d14a1e28
RD
16961 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16962 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16963 wxSize const &arg4_defvalue = wxDefaultSize ;
16964 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16965 long arg5 = (long) wxLC_ICON ;
16966 wxValidator const &arg6_defvalue = wxDefaultValidator ;
16967 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
16968 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
16969 wxString *arg7 = (wxString *) &arg7_defvalue ;
16970 wxPyListCtrl *result;
16971 wxPoint temp3 ;
16972 wxSize temp4 ;
423f194a 16973 bool temp7 = False ;
d14a1e28
RD
16974 PyObject * obj0 = 0 ;
16975 PyObject * obj2 = 0 ;
16976 PyObject * obj3 = 0 ;
16977 PyObject * obj5 = 0 ;
16978 PyObject * obj6 = 0 ;
16979 char *kwnames[] = {
16980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
16984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16985 if (obj2) {
16986 {
16987 arg3 = &temp3;
16988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16989 }
16990 }
16991 if (obj3) {
16992 {
16993 arg4 = &temp4;
16994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16995 }
16996 }
16997 if (obj5) {
16998 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16999 if (arg6 == NULL) {
17000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17001 }
17002 }
17003 if (obj6) {
17004 {
17005 arg7 = wxString_in_helper(obj6);
17006 if (arg7 == NULL) SWIG_fail;
423f194a 17007 temp7 = True;
d14a1e28
RD
17008 }
17009 }
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17018 {
17019 if (temp7)
17020 delete arg7;
17021 }
17022 return resultobj;
17023 fail:
17024 {
17025 if (temp7)
17026 delete arg7;
17027 }
17028 return NULL;
17029}
17030
17031
17032static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxPyListCtrl *result;
17035 char *kwnames[] = {
17036 NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (wxPyListCtrl *)new wxPyListCtrl();
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17048 return resultobj;
17049 fail:
17050 return NULL;
17051}
17052
17053
17054static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17055 PyObject *resultobj;
17056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17057 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 17058 int arg3 = (int) -1 ;
d14a1e28
RD
17059 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17060 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17061 wxSize const &arg5_defvalue = wxDefaultSize ;
17062 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17063 long arg6 = (long) wxLC_ICON ;
17064 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17065 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17066 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17067 wxString *arg8 = (wxString *) &arg8_defvalue ;
17068 bool result;
17069 wxPoint temp4 ;
17070 wxSize temp5 ;
423f194a 17071 bool temp8 = False ;
d14a1e28
RD
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj3 = 0 ;
17075 PyObject * obj4 = 0 ;
17076 PyObject * obj6 = 0 ;
17077 PyObject * obj7 = 0 ;
17078 char *kwnames[] = {
17079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17080 };
17081
17082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 if (obj3) {
17086 {
17087 arg4 = &temp4;
17088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17089 }
17090 }
17091 if (obj4) {
17092 {
17093 arg5 = &temp5;
17094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17095 }
17096 }
17097 if (obj6) {
17098 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17099 if (arg7 == NULL) {
17100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17101 }
17102 }
17103 if (obj7) {
17104 {
17105 arg8 = wxString_in_helper(obj7);
17106 if (arg8 == NULL) SWIG_fail;
423f194a 17107 temp8 = True;
d14a1e28
RD
17108 }
17109 }
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 resultobj = PyInt_FromLong((long)result);
17118 {
17119 if (temp8)
17120 delete arg8;
17121 }
17122 return resultobj;
17123 fail:
17124 {
17125 if (temp8)
17126 delete arg8;
17127 }
17128 return NULL;
17129}
17130
17131
17132static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17135 PyObject *arg2 = (PyObject *) 0 ;
17136 PyObject *arg3 = (PyObject *) 0 ;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 PyObject * obj2 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self",(char *) "self",(char *) "_class", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 arg2 = obj1;
17147 arg3 = obj2;
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 (arg1)->_setCallbackInfo(arg2,arg3);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 Py_INCREF(Py_None); resultobj = Py_None;
17156 return resultobj;
17157 fail:
17158 return NULL;
17159}
17160
17161
17162static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17165 wxColour *arg2 = 0 ;
17166 bool result;
17167 wxColour temp2 ;
17168 PyObject * obj0 = 0 ;
17169 PyObject * obj1 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self",(char *) "col", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17176 {
17177 arg2 = &temp2;
17178 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17179 }
17180 {
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 resultobj = PyInt_FromLong((long)result);
17188 return resultobj;
17189 fail:
17190 return NULL;
17191}
17192
17193
17194static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17197 wxColour *arg2 = 0 ;
17198 bool result;
17199 wxColour temp2 ;
17200 PyObject * obj0 = 0 ;
17201 PyObject * obj1 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "col", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17208 {
17209 arg2 = &temp2;
17210 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17211 }
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = PyInt_FromLong((long)result);
17220 return resultobj;
17221 fail:
17222 return NULL;
17223}
17224
17225
17226static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17229 int arg2 ;
17230 wxListItem *result;
17231 PyObject * obj0 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "col", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 {
17246 resultobj = wxPyMake_wxObject(result);
17247 }
17248 return resultobj;
17249 fail:
17250 return NULL;
17251}
17252
17253
17254static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17257 int arg2 ;
17258 wxListItem *arg3 = 0 ;
17259 bool result;
17260 PyObject * obj0 = 0 ;
17261 PyObject * obj2 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self",(char *) "col",(char *) "item", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17268 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 if (arg3 == NULL) {
17270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17271 }
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 resultobj = PyInt_FromLong((long)result);
17280 return resultobj;
17281 fail:
17282 return NULL;
17283}
17284
17285
17286static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17289 int arg2 ;
17290 int result;
17291 PyObject * obj0 = 0 ;
17292 char *kwnames[] = {
17293 (char *) "self",(char *) "col", NULL
17294 };
17295
17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 resultobj = PyInt_FromLong((long)result);
17306 return resultobj;
17307 fail:
17308 return NULL;
17309}
17310
17311
17312static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17315 int arg2 ;
17316 int arg3 ;
17317 bool result;
17318 PyObject * obj0 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "col",(char *) "width", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) 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 = (bool)(arg1)->SetColumnWidth(arg2,arg3);
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
17339static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17342 int result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",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 = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = PyInt_FromLong((long)result);
17358 return resultobj;
17359 fail:
17360 return NULL;
17361}
17362
17363
17364static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17365 PyObject *resultobj;
17366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17367 wxRect result;
17368 PyObject * obj0 = 0 ;
17369 char *kwnames[] = {
17370 (char *) "self", NULL
17371 };
17372
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
17382 {
17383 wxRect * resultptr;
17384 resultptr = new wxRect((wxRect &) result);
17385 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17386 }
17387 return resultobj;
17388 fail:
17389 return NULL;
17390}
17391
17392
17393static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj;
17395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17396 long arg2 ;
17397 int arg3 = (int) 0 ;
17398 wxListItem *result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self",(char *) "itemId",(char *) "col", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 {
17414 resultobj = wxPyMake_wxObject(result);
17415 }
17416 return resultobj;
17417 fail:
17418 return NULL;
17419}
17420
17421
17422static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17425 wxListItem *arg2 = 0 ;
17426 bool result;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "info", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 if (arg2 == NULL) {
17437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17438 }
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 result = (bool)(arg1)->SetItem(*arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 resultobj = PyInt_FromLong((long)result);
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
17453static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17456 long arg2 ;
17457 int arg3 ;
17458 wxString *arg4 = 0 ;
17459 int arg5 = (int) -1 ;
17460 long result;
423f194a 17461 bool temp4 = False ;
d14a1e28
RD
17462 PyObject * obj0 = 0 ;
17463 PyObject * obj3 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17470 {
17471 arg4 = wxString_in_helper(obj3);
17472 if (arg4 == NULL) SWIG_fail;
423f194a 17473 temp4 = True;
d14a1e28
RD
17474 }
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 resultobj = PyInt_FromLong((long)result);
17483 {
17484 if (temp4)
17485 delete arg4;
17486 }
17487 return resultobj;
17488 fail:
17489 {
17490 if (temp4)
17491 delete arg4;
17492 }
17493 return NULL;
17494}
17495
17496
17497static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17500 long arg2 ;
17501 long arg3 ;
17502 int result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17513
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 resultobj = PyInt_FromLong((long)result);
17518 return resultobj;
17519 fail:
17520 return NULL;
17521}
17522
17523
17524static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj;
17526 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17527 long arg2 ;
17528 long arg3 ;
17529 long arg4 ;
17530 bool result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 resultobj = PyInt_FromLong((long)result);
17546 return resultobj;
17547 fail:
17548 return NULL;
17549}
17550
17551
17552static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17555 long arg2 ;
17556 int arg3 ;
17557 int arg4 ;
17558 bool result;
17559 PyObject * obj0 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = PyInt_FromLong((long)result);
17574 return resultobj;
17575 fail:
17576 return NULL;
17577}
17578
17579
17580static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17583 long arg2 ;
17584 wxString result;
17585 PyObject * obj0 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "item", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 {
17600#if wxUSE_UNICODE
17601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17602#else
17603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17604#endif
17605 }
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
17612static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17615 long arg2 ;
17616 wxString *arg3 = 0 ;
423f194a 17617 bool temp3 = False ;
d14a1e28
RD
17618 PyObject * obj0 = 0 ;
17619 PyObject * obj2 = 0 ;
17620 char *kwnames[] = {
17621 (char *) "self",(char *) "item",(char *) "str", NULL
17622 };
17623
17624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17626 {
17627 arg3 = wxString_in_helper(obj2);
17628 if (arg3 == NULL) SWIG_fail;
423f194a 17629 temp3 = True;
d14a1e28
RD
17630 }
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 {
17640 if (temp3)
17641 delete arg3;
17642 }
17643 return resultobj;
17644 fail:
17645 {
17646 if (temp3)
17647 delete arg3;
17648 }
17649 return NULL;
17650}
17651
17652
17653static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17656 long arg2 ;
17657 long result;
17658 PyObject * obj0 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self",(char *) "item", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 resultobj = PyInt_FromLong((long)result);
17673 return resultobj;
17674 fail:
17675 return NULL;
17676}
17677
17678
17679static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17682 long arg2 ;
17683 long arg3 ;
17684 bool result;
17685 PyObject * obj0 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self",(char *) "item",(char *) "data", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (bool)(arg1)->SetItemData(arg2,arg3);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 resultobj = PyInt_FromLong((long)result);
17700 return resultobj;
17701 fail:
17702 return NULL;
17703}
17704
17705
17706static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17709 long arg2 ;
17710 wxPoint result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "item", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 {
17726 wxPoint * resultptr;
17727 resultptr = new wxPoint((wxPoint &) result);
17728 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17729 }
17730 return resultobj;
17731 fail:
17732 return NULL;
17733}
17734
17735
17736static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17739 long arg2 ;
17740 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17741 wxRect result;
17742 PyObject * obj0 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self",(char *) "item",(char *) "code", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 {
17757 wxRect * resultptr;
17758 resultptr = new wxRect((wxRect &) result);
17759 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17760 }
17761 return resultobj;
17762 fail:
17763 return NULL;
17764}
17765
17766
17767static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj;
17769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17770 long arg2 ;
17771 wxPoint *arg3 = 0 ;
17772 bool result;
17773 wxPoint temp3 ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj2 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "item",(char *) "pos", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17782 {
17783 arg3 = &temp3;
17784 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17785 }
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
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
17800static PyObject *_wrap_ListCtrl_GetItemCount(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_GetItemCount",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)->GetItemCount();
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
17825static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17828 int result;
17829 PyObject * obj0 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",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 = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 resultobj = PyInt_FromLong((long)result);
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
17850static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17853 wxSize result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 {
17869 wxSize * resultptr;
17870 resultptr = new wxSize((wxSize &) result);
17871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17872 }
17873 return resultobj;
17874 fail:
17875 return NULL;
17876}
17877
17878
17879static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17882 int arg2 ;
423f194a 17883 bool arg3 = (bool) False ;
d14a1e28
RD
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj2 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17892 if (obj2) {
17893 arg3 = PyInt_AsLong(obj2) ? true : false;
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 (arg1)->SetItemSpacing(arg2,arg3);
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 Py_INCREF(Py_None); resultobj = Py_None;
17904 return resultobj;
17905 fail:
17906 return NULL;
17907}
17908
17909
17910static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17913 int result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",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 = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = PyInt_FromLong((long)result);
17929 return resultobj;
17930 fail:
17931 return NULL;
17932}
17933
17934
17935static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17938 wxColour result;
17939 PyObject * obj0 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 {
17954 wxColour * resultptr;
17955 resultptr = new wxColour((wxColour &) result);
17956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17957 }
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17967 wxColour *arg2 = 0 ;
17968 wxColour temp2 ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "col", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17977 {
17978 arg2 = &temp2;
17979 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->SetTextColour((wxColour const &)*arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17998 long result;
17999 PyObject * obj0 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 resultobj = PyInt_FromLong((long)result);
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
18020static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18023 long arg2 ;
423f194a 18024 bool arg3 = (bool) True ;
d14a1e28
RD
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj2 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "style",(char *) "add", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 if (obj2) {
18034 arg3 = PyInt_AsLong(obj2) ? true : false;
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->SetSingleStyle(arg2,arg3);
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
18051static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18054 long arg2 ;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "style", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 (arg1)->SetWindowStyleFlag(arg2);
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 Py_INCREF(Py_None); resultobj = Py_None;
18070 return resultobj;
18071 fail:
18072 return NULL;
18073}
18074
18075
18076static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj;
18078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18079 long arg2 ;
18080 int arg3 = (int) wxLIST_NEXT_ALL ;
18081 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18082 long result;
18083 PyObject * obj0 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 resultobj = PyInt_FromLong((long)result);
18098 return resultobj;
18099 fail:
18100 return NULL;
18101}
18102
18103
18104static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18105 PyObject *resultobj;
18106 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18107 int arg2 ;
18108 wxImageList *result;
18109 PyObject * obj0 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self",(char *) "which", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 {
18124 resultobj = wxPyMake_wxObject(result);
18125 }
18126 return resultobj;
18127 fail:
18128 return NULL;
18129}
18130
18131
18132static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18135 wxImageList *arg2 = (wxImageList *) 0 ;
18136 int arg3 ;
18137 PyObject * obj0 = 0 ;
18138 PyObject * obj1 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self",(char *) "imageList",(char *) "which", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetImageList(arg2,arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
18154 return resultobj;
18155 fail:
18156 return NULL;
18157}
18158
18159
18160static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18163 wxImageList *arg2 = (wxImageList *) 0 ;
18164 int arg3 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "imageList",(char *) "which", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 (arg1)->AssignImageList(arg2,arg3);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 Py_INCREF(Py_None); resultobj = Py_None;
18182 return resultobj;
18183 fail:
18184 return NULL;
18185}
18186
18187
18188static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18191 bool result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) 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 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = PyInt_FromLong((long)result);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210}
18211
18212
18213static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18216 long arg2 ;
18217 PyObject * obj0 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self",(char *) "item", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 (arg1)->RefreshItem(arg2);
18227
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 Py_INCREF(Py_None); resultobj = Py_None;
18232 return resultobj;
18233 fail:
18234 return NULL;
18235}
18236
18237
18238static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18239 PyObject *resultobj;
18240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18241 long arg2 ;
18242 long arg3 ;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 (arg1)->RefreshItems(arg2,arg3);
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 Py_INCREF(Py_None); resultobj = Py_None;
18258 return resultobj;
18259 fail:
18260 return NULL;
18261}
18262
18263
18264static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18267 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18268 bool result;
18269 PyObject * obj0 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self",(char *) "flag", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18276 {
18277 PyThreadState* __tstate = wxPyBeginAllowThreads();
18278 result = (bool)(arg1)->Arrange(arg2);
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 resultobj = PyInt_FromLong((long)result);
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18293 long arg2 ;
18294 bool result;
18295 PyObject * obj0 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "item", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) 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)->DeleteItem(arg2);
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
18316static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18319 bool result;
18320 PyObject * obj0 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (bool)(arg1)->DeleteAllItems();
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 resultobj = PyInt_FromLong((long)result);
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
18341static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18344 int arg2 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self",(char *) "col", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) 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)->DeleteColumn(arg2);
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
18367static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18370 bool result;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (bool)(arg1)->DeleteAllColumns();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 resultobj = PyInt_FromLong((long)result);
18386 return resultobj;
18387 fail:
18388 return NULL;
18389}
18390
18391
18392static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) 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)->ClearAll();
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
18416static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18419 long arg2 ;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self",(char *) "item", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 (arg1)->EditLabel(arg2);
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 Py_INCREF(Py_None); resultobj = Py_None;
18435 return resultobj;
18436 fail:
18437 return NULL;
18438}
18439
18440
18441static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 bool result;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "item", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 result = (bool)(arg1)->EnsureVisible(arg2);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 resultobj = PyInt_FromLong((long)result);
18461 return resultobj;
18462 fail:
18463 return NULL;
18464}
18465
18466
18467static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18470 long arg2 ;
18471 wxString *arg3 = 0 ;
423f194a 18472 bool arg4 = (bool) False ;
d14a1e28 18473 long result;
423f194a 18474 bool temp3 = False ;
d14a1e28
RD
18475 PyObject * obj0 = 0 ;
18476 PyObject * obj2 = 0 ;
18477 PyObject * obj3 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18484 {
18485 arg3 = wxString_in_helper(obj2);
18486 if (arg3 == NULL) SWIG_fail;
423f194a 18487 temp3 = True;
d14a1e28
RD
18488 }
18489 if (obj3) {
18490 arg4 = PyInt_AsLong(obj3) ? true : false;
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 resultobj = PyInt_FromLong((long)result);
18501 {
18502 if (temp3)
18503 delete arg3;
18504 }
18505 return resultobj;
18506 fail:
18507 {
18508 if (temp3)
18509 delete arg3;
18510 }
18511 return NULL;
18512}
18513
18514
18515static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18518 long arg2 ;
18519 long arg3 ;
18520 long result;
18521 PyObject * obj0 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self",(char *) "start",(char *) "data", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (long)(arg1)->FindItem(arg2,arg3);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = PyInt_FromLong((long)result);
18536 return resultobj;
18537 fail:
18538 return NULL;
18539}
18540
18541
18542static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18545 long arg2 ;
18546 wxPoint *arg3 = 0 ;
18547 int arg4 ;
18548 long result;
18549 wxPoint temp3 ;
18550 PyObject * obj0 = 0 ;
18551 PyObject * obj2 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18558 {
18559 arg3 = &temp3;
18560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18561 }
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 resultobj = PyInt_FromLong((long)result);
18570 return resultobj;
18571 fail:
18572 return NULL;
18573}
18574
18575
18576static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18579 wxPoint *arg2 = 0 ;
18580 int *arg3 = 0 ;
18581 long result;
18582 wxPoint temp2 ;
18583 int temp3 ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj1 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self",(char *) "point", NULL
18588 };
18589
18590 arg3 = &temp3;
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18593 {
18594 arg2 = &temp2;
18595 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18596 }
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 resultobj = PyInt_FromLong((long)result);
18605 {
18606 PyObject *o = PyInt_FromLong((long) (*arg3));
18607 resultobj = t_output_helper(resultobj,o);
18608 }
18609 return resultobj;
18610 fail:
18611 return NULL;
18612}
18613
18614
18615static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18618 wxListItem *arg2 = 0 ;
18619 long result;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "info", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 if (arg2 == NULL) {
18630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18631 }
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 result = (long)(arg1)->InsertItem(*arg2);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 resultobj = PyInt_FromLong((long)result);
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
18646static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18649 long arg2 ;
18650 wxString *arg3 = 0 ;
18651 long result;
423f194a 18652 bool temp3 = False ;
d14a1e28
RD
18653 PyObject * obj0 = 0 ;
18654 PyObject * obj2 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self",(char *) "index",(char *) "label", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18661 {
18662 arg3 = wxString_in_helper(obj2);
18663 if (arg3 == NULL) SWIG_fail;
423f194a 18664 temp3 = True;
d14a1e28
RD
18665 }
18666 {
18667 PyThreadState* __tstate = wxPyBeginAllowThreads();
18668 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18669
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = PyInt_FromLong((long)result);
18674 {
18675 if (temp3)
18676 delete arg3;
18677 }
18678 return resultobj;
18679 fail:
18680 {
18681 if (temp3)
18682 delete arg3;
18683 }
18684 return NULL;
18685}
18686
18687
18688static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18691 long arg2 ;
18692 int arg3 ;
18693 long result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 result = (long)(arg1)->InsertItem(arg2,arg3);
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 resultobj = PyInt_FromLong((long)result);
18709 return resultobj;
18710 fail:
18711 return NULL;
18712}
18713
18714
18715static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18716 PyObject *resultobj;
18717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18718 long arg2 ;
18719 wxString *arg3 = 0 ;
18720 int arg4 ;
18721 long result;
423f194a 18722 bool temp3 = False ;
d14a1e28
RD
18723 PyObject * obj0 = 0 ;
18724 PyObject * obj2 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 arg3 = wxString_in_helper(obj2);
18733 if (arg3 == NULL) SWIG_fail;
423f194a 18734 temp3 = True;
d14a1e28
RD
18735 }
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = PyInt_FromLong((long)result);
18744 {
18745 if (temp3)
18746 delete arg3;
18747 }
18748 return resultobj;
18749 fail:
18750 {
18751 if (temp3)
18752 delete arg3;
18753 }
18754 return NULL;
18755}
18756
18757
18758static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18761 long arg2 ;
18762 wxListItem *arg3 = 0 ;
18763 long result;
18764 PyObject * obj0 = 0 ;
18765 PyObject * obj2 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self",(char *) "col",(char *) "info", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18772 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18773 if (arg3 == NULL) {
18774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18775 }
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 resultobj = PyInt_FromLong((long)result);
18784 return resultobj;
18785 fail:
18786 return NULL;
18787}
18788
18789
18790static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18793 long arg2 ;
18794 wxString *arg3 = 0 ;
18795 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18796 int arg5 = (int) -1 ;
18797 long result;
423f194a 18798 bool temp3 = False ;
d14a1e28
RD
18799 PyObject * obj0 = 0 ;
18800 PyObject * obj2 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18807 {
18808 arg3 = wxString_in_helper(obj2);
18809 if (arg3 == NULL) SWIG_fail;
423f194a 18810 temp3 = True;
d14a1e28
RD
18811 }
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 resultobj = PyInt_FromLong((long)result);
18820 {
18821 if (temp3)
18822 delete arg3;
18823 }
18824 return resultobj;
18825 fail:
18826 {
18827 if (temp3)
18828 delete arg3;
18829 }
18830 return NULL;
18831}
18832
18833
18834static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18837 long arg2 ;
18838 PyObject * obj0 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self",(char *) "count", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
18844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 (arg1)->SetItemCount(arg2);
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 Py_INCREF(Py_None); resultobj = Py_None;
18853 return resultobj;
18854 fail:
18855 return NULL;
18856}
18857
18858
18859static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj;
18861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18862 int arg2 ;
18863 int arg3 ;
18864 bool result;
18865 PyObject * obj0 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self",(char *) "dx",(char *) "dy", NULL
18868 };
18869
18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
18871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (bool)(arg1)->ScrollList(arg2,arg3);
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = PyInt_FromLong((long)result);
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
18886static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18889 long arg2 ;
18890 wxColour *arg3 = 0 ;
18891 wxColour temp3 ;
18892 PyObject * obj0 = 0 ;
18893 PyObject * obj2 = 0 ;
18894 char *kwnames[] = {
18895 (char *) "self",(char *) "item",(char *) "col", NULL
18896 };
18897
18898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18900 {
18901 arg3 = &temp3;
18902 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18903 }
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 Py_INCREF(Py_None); resultobj = Py_None;
18912 return resultobj;
18913 fail:
18914 return NULL;
18915}
18916
18917
18918static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18921 long arg2 ;
18922 wxColour result;
18923 PyObject * obj0 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self",(char *) "item", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 {
18938 wxColour * resultptr;
18939 resultptr = new wxColour((wxColour &) result);
18940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18941 }
18942 return resultobj;
18943 fail:
18944 return NULL;
18945}
18946
18947
18948static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18951 long arg2 ;
18952 wxColour *arg3 = 0 ;
18953 wxColour temp3 ;
18954 PyObject * obj0 = 0 ;
18955 PyObject * obj2 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self",(char *) "item",(char *) "col", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18962 {
18963 arg3 = &temp3;
18964 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18965 }
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 Py_INCREF(Py_None); resultobj = Py_None;
18974 return resultobj;
18975 fail:
18976 return NULL;
18977}
18978
18979
18980static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj;
18982 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18983 long arg2 ;
18984 wxColour result;
18985 PyObject * obj0 = 0 ;
18986 char *kwnames[] = {
18987 (char *) "self",(char *) "item", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
18991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 wxColour * resultptr;
19001 resultptr = new wxColour((wxColour &) result);
19002 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19003 }
19004 return resultobj;
19005 fail:
19006 return NULL;
19007}
19008
19009
19010static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19013 PyObject *arg2 = (PyObject *) 0 ;
19014 bool result;
19015 PyObject * obj0 = 0 ;
19016 PyObject * obj1 = 0 ;
19017 char *kwnames[] = {
19018 (char *) "self",(char *) "func", NULL
19019 };
19020
19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19023 arg2 = obj1;
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 resultobj = PyInt_FromLong((long)result);
19032 return resultobj;
19033 fail:
19034 return NULL;
19035}
19036
19037
19038static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19041 wxWindow *result;
19042 PyObject * obj0 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self", NULL
19045 };
19046
19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19049 {
19050 PyThreadState* __tstate = wxPyBeginAllowThreads();
19051 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19052
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 {
19057 resultobj = wxPyMake_wxObject(result);
19058 }
19059 return resultobj;
19060 fail:
19061 return NULL;
19062}
19063
19064
19065static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19066 PyObject *obj;
19067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19068 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19069 Py_INCREF(obj);
19070 return Py_BuildValue((char *)"");
19071}
19072static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19075 int arg2 = (int) -1 ;
d14a1e28
RD
19076 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19077 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19078 wxSize const &arg4_defvalue = wxDefaultSize ;
19079 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19080 long arg5 = (long) wxLC_REPORT ;
19081 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19082 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19083 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19084 wxString *arg7 = (wxString *) &arg7_defvalue ;
19085 wxListView *result;
19086 wxPoint temp3 ;
19087 wxSize temp4 ;
423f194a 19088 bool temp7 = False ;
d14a1e28
RD
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj2 = 0 ;
19091 PyObject * obj3 = 0 ;
19092 PyObject * obj5 = 0 ;
19093 PyObject * obj6 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 if (obj2) {
19101 {
19102 arg3 = &temp3;
19103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19104 }
19105 }
19106 if (obj3) {
19107 {
19108 arg4 = &temp4;
19109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19110 }
19111 }
19112 if (obj5) {
19113 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19114 if (arg6 == NULL) {
19115 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19116 }
19117 }
19118 if (obj6) {
19119 {
19120 arg7 = wxString_in_helper(obj6);
19121 if (arg7 == NULL) SWIG_fail;
423f194a 19122 temp7 = True;
d14a1e28
RD
19123 }
19124 }
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19133 {
19134 if (temp7)
19135 delete arg7;
19136 }
19137 return resultobj;
19138 fail:
19139 {
19140 if (temp7)
19141 delete arg7;
19142 }
19143 return NULL;
19144}
19145
19146
19147static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxListView *result;
19150 char *kwnames[] = {
19151 NULL
19152 };
19153
19154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 result = (wxListView *)new wxListView();
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19163 return resultobj;
19164 fail:
19165 return NULL;
19166}
19167
19168
19169static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxListView *arg1 = (wxListView *) 0 ;
19172 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 19173 int arg3 = (int) -1 ;
d14a1e28
RD
19174 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19175 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19176 wxSize const &arg5_defvalue = wxDefaultSize ;
19177 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19178 long arg6 = (long) wxLC_REPORT ;
19179 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19180 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19181 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19182 wxString *arg8 = (wxString *) &arg8_defvalue ;
19183 bool result;
19184 wxPoint temp4 ;
19185 wxSize temp5 ;
423f194a 19186 bool temp8 = False ;
d14a1e28
RD
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 PyObject * obj3 = 0 ;
19190 PyObject * obj4 = 0 ;
19191 PyObject * obj6 = 0 ;
19192 PyObject * obj7 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19200 if (obj3) {
19201 {
19202 arg4 = &temp4;
19203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19204 }
19205 }
19206 if (obj4) {
19207 {
19208 arg5 = &temp5;
19209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19210 }
19211 }
19212 if (obj6) {
19213 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19214 if (arg7 == NULL) {
19215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19216 }
19217 }
19218 if (obj7) {
19219 {
19220 arg8 = wxString_in_helper(obj7);
19221 if (arg8 == NULL) SWIG_fail;
423f194a 19222 temp8 = True;
d14a1e28
RD
19223 }
19224 }
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = PyInt_FromLong((long)result);
19233 {
19234 if (temp8)
19235 delete arg8;
19236 }
19237 return resultobj;
19238 fail:
19239 {
19240 if (temp8)
19241 delete arg8;
19242 }
19243 return NULL;
19244}
19245
19246
19247static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxListView *arg1 = (wxListView *) 0 ;
19250 long arg2 ;
423f194a 19251 bool arg3 = (bool) True ;
d14a1e28
RD
19252 PyObject * obj0 = 0 ;
19253 PyObject * obj2 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self",(char *) "n",(char *) "on", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19260 if (obj2) {
19261 arg3 = PyInt_AsLong(obj2) ? true : false;
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 (arg1)->Select(arg2,arg3);
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
19278static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxListView *arg1 = (wxListView *) 0 ;
19281 long arg2 ;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "index", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) 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 (arg1)->Focus(arg2);
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 Py_INCREF(Py_None); resultobj = Py_None;
19297 return resultobj;
19298 fail:
19299 return NULL;
19300}
19301
19302
19303static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxListView *arg1 = (wxListView *) 0 ;
19306 long result;
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = PyInt_FromLong((long)result);
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
19328static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxListView *arg1 = (wxListView *) 0 ;
19331 long arg2 ;
19332 long result;
19333 PyObject * obj0 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self",(char *) "item", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) 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)->GetNextSelected(arg2);
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
19354static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxListView *arg1 = (wxListView *) 0 ;
19357 long result;
19358 PyObject * obj0 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 resultobj = PyInt_FromLong((long)result);
19373 return resultobj;
19374 fail:
19375 return NULL;
19376}
19377
19378
19379static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxListView *arg1 = (wxListView *) 0 ;
19382 long arg2 ;
19383 bool result;
19384 PyObject * obj0 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self",(char *) "index", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (bool)(arg1)->IsSelected(arg2);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 resultobj = PyInt_FromLong((long)result);
19399 return resultobj;
19400 fail:
19401 return NULL;
19402}
19403
19404
19405static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxListView *arg1 = (wxListView *) 0 ;
19408 int arg2 ;
19409 int arg3 ;
19410 PyObject * obj0 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "col",(char *) "image", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) 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)->SetColumnImage(arg2,arg3);
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
19431static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxListView *arg1 = (wxListView *) 0 ;
19434 int arg2 ;
19435 PyObject * obj0 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "self",(char *) "col", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 (arg1)->ClearColumnImage(arg2);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 Py_INCREF(Py_None); resultobj = Py_None;
19450 return resultobj;
19451 fail:
19452 return NULL;
19453}
19454
19455
19456static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19457 PyObject *obj;
19458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19459 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19460 Py_INCREF(obj);
19461 return Py_BuildValue((char *)"");
19462}
19463static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxTreeItemId *result;
19466 char *kwnames[] = {
19467 NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 result = (wxTreeItemId *)new wxTreeItemId();
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
19485static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19488 PyObject * obj0 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",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 delete arg1;
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 return resultobj;
19504 fail:
19505 return NULL;
19506}
19507
19508
19509static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19512 bool result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 resultobj = PyInt_FromLong((long)result);
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
19534static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19537 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19538 bool result;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "other", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19551
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 resultobj = PyInt_FromLong((long)result);
19556 return resultobj;
19557 fail:
19558 return NULL;
19559}
19560
19561
19562static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19565 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19566 bool result;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "other", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 resultobj = PyInt_FromLong((long)result);
19584 return resultobj;
19585 fail:
19586 return NULL;
19587}
19588
19589
19590static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19593 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "m_pItem", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19603 if (arg1) (arg1)->m_pItem = arg2;
19604
19605 Py_INCREF(Py_None); resultobj = Py_None;
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
19612static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19615 wxTreeItemIdValue result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19624
19625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629}
19630
19631
19632static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19633 PyObject *obj;
19634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19635 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19636 Py_INCREF(obj);
19637 return Py_BuildValue((char *)"");
19638}
19639static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 PyObject *arg1 = (PyObject *) NULL ;
19642 wxPyTreeItemData *result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "obj", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19649 if (obj0) {
19650 arg1 = obj0;
19651 }
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
19666static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19669 PyObject *result;
19670 PyObject * obj0 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 result = (PyObject *)(arg1)->GetData();
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = result;
19685 return resultobj;
19686 fail:
19687 return NULL;
19688}
19689
19690
19691static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19694 PyObject *arg2 = (PyObject *) 0 ;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self",(char *) "obj", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19703 arg2 = obj1;
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 (arg1)->SetData(arg2);
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 Py_INCREF(Py_None); resultobj = Py_None;
19712 return resultobj;
19713 fail:
19714 return NULL;
19715}
19716
19717
19718static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19721 wxTreeItemId *result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 {
19732 wxTreeItemId const &_result_ref = (arg1)->GetId();
19733 result = (wxTreeItemId *) &_result_ref;
19734 }
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19740 return resultobj;
19741 fail:
19742 return NULL;
19743}
19744
19745
19746static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19749 wxTreeItemId *arg2 = 0 ;
19750 PyObject * obj0 = 0 ;
19751 PyObject * obj1 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self",(char *) "id", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19759 if (arg2 == NULL) {
19760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19761 }
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 (arg1)->SetId((wxTreeItemId const &)*arg2);
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 Py_INCREF(Py_None); resultobj = Py_None;
19770 return resultobj;
19771 fail:
19772 return NULL;
19773}
19774
19775
19776static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 wxPyTreeItemData_Destroy(arg1);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 Py_INCREF(Py_None); resultobj = Py_None;
19794 return resultobj;
19795 fail:
19796 return NULL;
19797}
19798
19799
19800static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19801 PyObject *obj;
19802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19803 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19804 Py_INCREF(obj);
19805 return Py_BuildValue((char *)"");
19806}
19807static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj;
19809 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19810 int arg2 = (int) 0 ;
19811 wxTreeEvent *result;
19812 char *kwnames[] = {
19813 (char *) "commandType",(char *) "id", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
19825 return resultobj;
19826 fail:
19827 return NULL;
19828}
19829
19830
19831static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19834 wxTreeItemId result;
19835 PyObject * obj0 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
19841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = ((wxTreeEvent const *)arg1)->GetItem();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 wxTreeItemId * resultptr;
19851 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19852 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19853 }
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
19860static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19863 wxTreeItemId *arg2 = 0 ;
19864 PyObject * obj0 = 0 ;
19865 PyObject * obj1 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "item", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 if (arg2 == NULL) {
19874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->SetItem((wxTreeItemId const &)*arg2);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887}
19888
19889
19890static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19893 wxTreeItemId result;
19894 PyObject * obj0 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = ((wxTreeEvent const *)arg1)->GetOldItem();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 wxTreeItemId * resultptr;
19910 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19911 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19912 }
19913 return resultobj;
19914 fail:
19915 return NULL;
19916}
19917
19918
19919static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19922 wxTreeItemId *arg2 = 0 ;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "item", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if (arg2 == NULL) {
19933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19934 }
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 Py_INCREF(Py_None); resultobj = Py_None;
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
19949static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19952 wxPoint result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = ((wxTreeEvent const *)arg1)->GetPoint();
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 {
19968 wxPoint * resultptr;
19969 resultptr = new wxPoint((wxPoint &) result);
19970 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19971 }
19972 return resultobj;
19973 fail:
19974 return NULL;
19975}
19976
19977
19978static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19979 PyObject *resultobj;
19980 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19981 wxPoint *arg2 = 0 ;
19982 wxPoint temp2 ;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "pt", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 {
19992 arg2 = &temp2;
19993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19994 }
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 (arg1)->SetPoint((wxPoint const &)*arg2);
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 Py_INCREF(Py_None); resultobj = Py_None;
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
20009static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj;
20011 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20012 wxKeyEvent *result;
20013 PyObject * obj0 = 0 ;
20014 char *kwnames[] = {
20015 (char *) "self", NULL
20016 };
20017
20018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 {
20023 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20024 result = (wxKeyEvent *) &_result_ref;
20025 }
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20040 int result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 resultobj = PyInt_FromLong((long)result);
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
20062static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20065 wxKeyEvent *arg2 = 0 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "evt", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 if (arg2 == NULL) {
20076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20077 }
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
20092static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20095 wxString *result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 {
20106 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20107 result = (wxString *) &_result_ref;
20108 }
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20114 return resultobj;
20115 fail:
20116 return NULL;
20117}
20118
20119
20120static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20123 wxString *arg2 = 0 ;
423f194a 20124 bool temp2 = False ;
d14a1e28
RD
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "label", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20133 {
20134 arg2 = wxString_in_helper(obj1);
20135 if (arg2 == NULL) SWIG_fail;
423f194a 20136 temp2 = True;
d14a1e28
RD
20137 }
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 (arg1)->SetLabel((wxString const &)*arg2);
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 Py_INCREF(Py_None); resultobj = Py_None;
20146 {
20147 if (temp2)
20148 delete arg2;
20149 }
20150 return resultobj;
20151 fail:
20152 {
20153 if (temp2)
20154 delete arg2;
20155 }
20156 return NULL;
20157}
20158
20159
20160static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20163 bool result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 resultobj = PyInt_FromLong((long)result);
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
20185static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20188 bool arg2 ;
20189 PyObject * obj0 = 0 ;
20190 PyObject * obj1 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self",(char *) "editCancelled", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20197 arg2 = PyInt_AsLong(obj1) ? true : false;
20198 if (PyErr_Occurred()) SWIG_fail;
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 (arg1)->SetEditCanceled(arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 Py_INCREF(Py_None); resultobj = Py_None;
20207 return resultobj;
20208 fail:
20209 return NULL;
20210}
20211
20212
20213static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20214 PyObject *obj;
20215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20216 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20217 Py_INCREF(obj);
20218 return Py_BuildValue((char *)"");
20219}
20220static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20221 PyObject *resultobj;
20222 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20223 int arg2 = (int) -1 ;
d14a1e28
RD
20224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20226 wxSize const &arg4_defvalue = wxDefaultSize ;
20227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20228 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20229 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20230 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20231 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20232 wxString *arg7 = (wxString *) &arg7_defvalue ;
20233 wxPyTreeCtrl *result;
20234 wxPoint temp3 ;
20235 wxSize temp4 ;
423f194a 20236 bool temp7 = False ;
d14a1e28
RD
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj2 = 0 ;
20239 PyObject * obj3 = 0 ;
20240 PyObject * obj5 = 0 ;
20241 PyObject * obj6 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 if (obj2) {
20249 {
20250 arg3 = &temp3;
20251 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20252 }
20253 }
20254 if (obj3) {
20255 {
20256 arg4 = &temp4;
20257 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20258 }
20259 }
20260 if (obj5) {
20261 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 if (arg6 == NULL) {
20263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20264 }
20265 }
20266 if (obj6) {
20267 {
20268 arg7 = wxString_in_helper(obj6);
20269 if (arg7 == NULL) SWIG_fail;
423f194a 20270 temp7 = True;
d14a1e28
RD
20271 }
20272 }
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20281 {
20282 if (temp7)
20283 delete arg7;
20284 }
20285 return resultobj;
20286 fail:
20287 {
20288 if (temp7)
20289 delete arg7;
20290 }
20291 return NULL;
20292}
20293
20294
20295static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxPyTreeCtrl *result;
20298 char *kwnames[] = {
20299 NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
20317static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20320 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 20321 int arg3 = (int) -1 ;
d14a1e28
RD
20322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20324 wxSize const &arg5_defvalue = wxDefaultSize ;
20325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20326 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20327 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20328 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20329 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20330 wxString *arg8 = (wxString *) &arg8_defvalue ;
20331 bool result;
20332 wxPoint temp4 ;
20333 wxSize temp5 ;
423f194a 20334 bool temp8 = False ;
d14a1e28
RD
20335 PyObject * obj0 = 0 ;
20336 PyObject * obj1 = 0 ;
20337 PyObject * obj3 = 0 ;
20338 PyObject * obj4 = 0 ;
20339 PyObject * obj6 = 0 ;
20340 PyObject * obj7 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 if (obj3) {
20349 {
20350 arg4 = &temp4;
20351 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20352 }
20353 }
20354 if (obj4) {
20355 {
20356 arg5 = &temp5;
20357 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20358 }
20359 }
20360 if (obj6) {
20361 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20362 if (arg7 == NULL) {
20363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20364 }
20365 }
20366 if (obj7) {
20367 {
20368 arg8 = wxString_in_helper(obj7);
20369 if (arg8 == NULL) SWIG_fail;
423f194a 20370 temp8 = True;
d14a1e28
RD
20371 }
20372 }
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 resultobj = PyInt_FromLong((long)result);
20381 {
20382 if (temp8)
20383 delete arg8;
20384 }
20385 return resultobj;
20386 fail:
20387 {
20388 if (temp8)
20389 delete arg8;
20390 }
20391 return NULL;
20392}
20393
20394
20395static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20398 PyObject *arg2 = (PyObject *) 0 ;
20399 PyObject *arg3 = (PyObject *) 0 ;
20400 PyObject * obj0 = 0 ;
20401 PyObject * obj1 = 0 ;
20402 PyObject * obj2 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self",(char *) "self",(char *) "_class", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20409 arg2 = obj1;
20410 arg3 = obj2;
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 (arg1)->_setCallbackInfo(arg2,arg3);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 Py_INCREF(Py_None); resultobj = Py_None;
20419 return resultobj;
20420 fail:
20421 return NULL;
20422}
20423
20424
20425static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20428 size_t result;
20429 PyObject * obj0 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "self", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",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 = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
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
20450static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20453 unsigned int result;
20454 PyObject * obj0 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = PyInt_FromLong((long)result);
20469 return resultobj;
20470 fail:
20471 return NULL;
20472}
20473
20474
20475static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20478 unsigned int arg2 ;
20479 PyObject * obj0 = 0 ;
20480 PyObject * obj1 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self",(char *) "indent", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20487 arg2 = (unsigned int) PyInt_AsLong(obj1);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetIndent(arg2);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 return resultobj;
20498 fail:
20499 return NULL;
20500}
20501
20502
20503static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20506 unsigned int result;
20507 PyObject * obj0 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 resultobj = PyInt_FromLong((long)result);
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
20528static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20531 unsigned int arg2 ;
20532 PyObject * obj0 = 0 ;
20533 PyObject * obj1 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self",(char *) "spacing", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20540 arg2 = (unsigned int) PyInt_AsLong(obj1);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 (arg1)->SetSpacing(arg2);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 Py_INCREF(Py_None); resultobj = Py_None;
20550 return resultobj;
20551 fail:
20552 return NULL;
20553}
20554
20555
20556static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20557 PyObject *resultobj;
20558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20559 wxImageList *result;
20560 PyObject * obj0 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 {
20575 resultobj = wxPyMake_wxObject(result);
20576 }
20577 return resultobj;
20578 fail:
20579 return NULL;
20580}
20581
20582
20583static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20586 wxImageList *result;
20587 PyObject * obj0 = 0 ;
20588 char *kwnames[] = {
20589 (char *) "self", NULL
20590 };
20591
20592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 {
20602 resultobj = wxPyMake_wxObject(result);
20603 }
20604 return resultobj;
20605 fail:
20606 return NULL;
20607}
20608
20609
20610static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20613 wxImageList *arg2 = (wxImageList *) 0 ;
20614 PyObject * obj0 = 0 ;
20615 PyObject * obj1 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self",(char *) "imageList", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 (arg1)->SetImageList(arg2);
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 return resultobj;
20632 fail:
20633 return NULL;
20634}
20635
20636
20637static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20640 wxImageList *arg2 = (wxImageList *) 0 ;
20641 PyObject * obj0 = 0 ;
20642 PyObject * obj1 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "imageList", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 (arg1)->SetStateImageList(arg2);
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 Py_INCREF(Py_None); resultobj = Py_None;
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
20664static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20667 wxImageList *arg2 = (wxImageList *) 0 ;
20668 PyObject * obj0 = 0 ;
20669 PyObject * obj1 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "imageList", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 (arg1)->AssignImageList(arg2);
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 Py_INCREF(Py_None); resultobj = Py_None;
20685 return resultobj;
20686 fail:
20687 return NULL;
20688}
20689
20690
20691static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20694 wxImageList *arg2 = (wxImageList *) 0 ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "imageList", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 (arg1)->AssignStateImageList(arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20721 wxTreeItemId *arg2 = 0 ;
20722 wxString result;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self",(char *) "item", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20732 if (arg2 == NULL) {
20733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20734 }
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 {
20743#if wxUSE_UNICODE
20744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20745#else
20746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20747#endif
20748 }
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
20755static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20758 wxTreeItemId *arg2 = 0 ;
20759 int arg3 = (int) wxTreeItemIcon_Normal ;
20760 int result;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "item",(char *) "which", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20770 if (arg2 == NULL) {
20771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20772 }
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = PyInt_FromLong((long)result);
20781 return resultobj;
20782 fail:
20783 return NULL;
20784}
20785
20786
20787static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20790 wxTreeItemId *arg2 = 0 ;
20791 wxPyTreeItemData *result;
20792 PyObject * obj0 = 0 ;
20793 PyObject * obj1 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self",(char *) "item", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20801 if (arg2 == NULL) {
20802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20803 }
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
20812 return resultobj;
20813 fail:
20814 return NULL;
20815}
20816
20817
20818static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
20819 PyObject *resultobj;
20820 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20821 wxTreeItemId *arg2 = 0 ;
20822 PyObject *result;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "item", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 if (arg2 == NULL) {
20833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 resultobj = result;
20843 return resultobj;
20844 fail:
20845 return NULL;
20846}
20847
20848
20849static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20852 wxTreeItemId *arg2 = 0 ;
20853 wxColour result;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "item", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20863 if (arg2 == NULL) {
20864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20865 }
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 {
20874 wxColour * resultptr;
20875 resultptr = new wxColour((wxColour &) result);
20876 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20877 }
20878 return resultobj;
20879 fail:
20880 return NULL;
20881}
20882
20883
20884static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20885 PyObject *resultobj;
20886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20887 wxTreeItemId *arg2 = 0 ;
20888 wxColour result;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "item", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20898 if (arg2 == NULL) {
20899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 {
20909 wxColour * resultptr;
20910 resultptr = new wxColour((wxColour &) result);
20911 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20912 }
20913 return resultobj;
20914 fail:
20915 return NULL;
20916}
20917
20918
20919static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20922 wxTreeItemId *arg2 = 0 ;
20923 wxFont result;
20924 PyObject * obj0 = 0 ;
20925 PyObject * obj1 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self",(char *) "item", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
20931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20933 if (arg2 == NULL) {
20934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20935 }
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 {
20944 wxFont * resultptr;
20945 resultptr = new wxFont((wxFont &) result);
20946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
20947 }
20948 return resultobj;
20949 fail:
20950 return NULL;
20951}
20952
20953
20954static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20957 wxTreeItemId *arg2 = 0 ;
20958 wxString *arg3 = 0 ;
423f194a 20959 bool temp3 = False ;
d14a1e28
RD
20960 PyObject * obj0 = 0 ;
20961 PyObject * obj1 = 0 ;
20962 PyObject * obj2 = 0 ;
20963 char *kwnames[] = {
20964 (char *) "self",(char *) "item",(char *) "text", NULL
20965 };
20966
20967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20970 if (arg2 == NULL) {
20971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20972 }
20973 {
20974 arg3 = wxString_in_helper(obj2);
20975 if (arg3 == NULL) SWIG_fail;
423f194a 20976 temp3 = True;
d14a1e28
RD
20977 }
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 Py_INCREF(Py_None); resultobj = Py_None;
20986 {
20987 if (temp3)
20988 delete arg3;
20989 }
20990 return resultobj;
20991 fail:
20992 {
20993 if (temp3)
20994 delete arg3;
20995 }
20996 return NULL;
20997}
20998
20999
21000static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21003 wxTreeItemId *arg2 = 0 ;
21004 int arg3 ;
21005 int arg4 = (int) wxTreeItemIcon_Normal ;
21006 PyObject * obj0 = 0 ;
21007 PyObject * obj1 = 0 ;
21008 char *kwnames[] = {
21009 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21010 };
21011
21012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 if (arg2 == NULL) {
21016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21017 }
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 Py_INCREF(Py_None); resultobj = Py_None;
21026 return resultobj;
21027 fail:
21028 return NULL;
21029}
21030
21031
21032static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21035 wxTreeItemId *arg2 = 0 ;
21036 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21037 PyObject * obj0 = 0 ;
21038 PyObject * obj1 = 0 ;
21039 PyObject * obj2 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self",(char *) "item",(char *) "data", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21047 if (arg2 == NULL) {
21048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21049 }
21050 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 return resultobj;
21060 fail:
21061 return NULL;
21062}
21063
21064
21065static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj;
21067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21068 wxTreeItemId *arg2 = 0 ;
21069 PyObject *arg3 = (PyObject *) 0 ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
21072 PyObject * obj2 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "self",(char *) "item",(char *) "obj", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21080 if (arg2 == NULL) {
21081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21082 }
21083 arg3 = obj2;
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 Py_INCREF(Py_None); resultobj = Py_None;
21092 return resultobj;
21093 fail:
21094 return NULL;
21095}
21096
21097
21098static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21099 PyObject *resultobj;
21100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21101 wxTreeItemId *arg2 = 0 ;
423f194a 21102 bool arg3 = (bool) True ;
d14a1e28
RD
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
21105 PyObject * obj2 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self",(char *) "item",(char *) "has", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21113 if (arg2 == NULL) {
21114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21115 }
21116 if (obj2) {
21117 arg3 = PyInt_AsLong(obj2) ? true : false;
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 Py_INCREF(Py_None); resultobj = Py_None;
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
21134static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21137 wxTreeItemId *arg2 = 0 ;
423f194a 21138 bool arg3 = (bool) True ;
d14a1e28
RD
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 PyObject * obj2 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "item",(char *) "bold", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21149 if (arg2 == NULL) {
21150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21151 }
21152 if (obj2) {
21153 arg3 = PyInt_AsLong(obj2) ? true : false;
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 Py_INCREF(Py_None); resultobj = Py_None;
21164 return resultobj;
21165 fail:
21166 return NULL;
21167}
21168
21169
21170static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21173 wxTreeItemId *arg2 = 0 ;
21174 wxColour *arg3 = 0 ;
21175 wxColour temp3 ;
21176 PyObject * obj0 = 0 ;
21177 PyObject * obj1 = 0 ;
21178 PyObject * obj2 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self",(char *) "item",(char *) "col", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21186 if (arg2 == NULL) {
21187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21188 }
21189 {
21190 arg3 = &temp3;
21191 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21192 }
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204}
21205
21206
21207static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21210 wxTreeItemId *arg2 = 0 ;
21211 wxColour *arg3 = 0 ;
21212 wxColour temp3 ;
21213 PyObject * obj0 = 0 ;
21214 PyObject * obj1 = 0 ;
21215 PyObject * obj2 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "self",(char *) "item",(char *) "col", NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21223 if (arg2 == NULL) {
21224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21225 }
21226 {
21227 arg3 = &temp3;
21228 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21229 }
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 Py_INCREF(Py_None); resultobj = Py_None;
21238 return resultobj;
21239 fail:
21240 return NULL;
21241}
21242
21243
21244static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21247 wxTreeItemId *arg2 = 0 ;
21248 wxFont *arg3 = 0 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 PyObject * obj2 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self",(char *) "item",(char *) "font", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21259 if (arg2 == NULL) {
21260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21261 }
21262 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 if (arg3 == NULL) {
21264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21265 }
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21269
21270 wxPyEndAllowThreads(__tstate);
21271 if (PyErr_Occurred()) SWIG_fail;
21272 }
21273 Py_INCREF(Py_None); resultobj = Py_None;
21274 return resultobj;
21275 fail:
21276 return NULL;
21277}
21278
21279
21280static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21283 wxTreeItemId *arg2 = 0 ;
21284 bool result;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "item", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21294 if (arg2 == NULL) {
21295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21296 }
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 resultobj = PyInt_FromLong((long)result);
21305 return resultobj;
21306 fail:
21307 return NULL;
21308}
21309
21310
21311static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21314 wxTreeItemId *arg2 = 0 ;
21315 bool result;
21316 PyObject * obj0 = 0 ;
21317 PyObject * obj1 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self",(char *) "item", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 if (arg2 == NULL) {
21326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21327 }
21328 {
21329 PyThreadState* __tstate = wxPyBeginAllowThreads();
21330 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21331
21332 wxPyEndAllowThreads(__tstate);
21333 if (PyErr_Occurred()) SWIG_fail;
21334 }
21335 resultobj = PyInt_FromLong((long)result);
21336 return resultobj;
21337 fail:
21338 return NULL;
21339}
21340
21341
21342static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21345 wxTreeItemId *arg2 = 0 ;
21346 bool result;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "item", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21356 if (arg2 == NULL) {
21357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 resultobj = PyInt_FromLong((long)result);
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21376 wxTreeItemId *arg2 = 0 ;
21377 bool result;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "item", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 if (arg2 == NULL) {
21388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21389 }
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 resultobj = PyInt_FromLong((long)result);
21398 return resultobj;
21399 fail:
21400 return NULL;
21401}
21402
21403
21404static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21407 wxTreeItemId *arg2 = 0 ;
21408 bool result;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "item", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21418 if (arg2 == NULL) {
21419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21420 }
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 resultobj = PyInt_FromLong((long)result);
21429 return resultobj;
21430 fail:
21431 return NULL;
21432}
21433
21434
21435static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21438 wxTreeItemId *arg2 = 0 ;
423f194a 21439 bool arg3 = (bool) True ;
d14a1e28
RD
21440 size_t result;
21441 PyObject * obj0 = 0 ;
21442 PyObject * obj1 = 0 ;
21443 PyObject * obj2 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self",(char *) "item",(char *) "recursively", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21451 if (arg2 == NULL) {
21452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21453 }
21454 if (obj2) {
21455 arg3 = PyInt_AsLong(obj2) ? true : false;
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 resultobj = PyInt_FromLong((long)result);
21466 return resultobj;
21467 fail:
21468 return NULL;
21469}
21470
21471
21472static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21473 PyObject *resultobj;
21474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21475 wxTreeItemId result;
21476 PyObject * obj0 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 {
21491 wxTreeItemId * resultptr;
21492 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21494 }
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21504 wxTreeItemId result;
21505 PyObject * obj0 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 {
21520 wxTreeItemId * resultptr;
21521 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21523 }
21524 return resultobj;
21525 fail:
21526 return NULL;
21527}
21528
21529
21530static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21533 PyObject *result;
21534 PyObject * obj0 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 resultobj = result;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552}
21553
21554
21555static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21558 wxTreeItemId *arg2 = 0 ;
21559 wxTreeItemId result;
21560 PyObject * obj0 = 0 ;
21561 PyObject * obj1 = 0 ;
21562 char *kwnames[] = {
21563 (char *) "self",(char *) "item", NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21569 if (arg2 == NULL) {
21570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21571 }
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21575
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 {
21580 wxTreeItemId * resultptr;
21581 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21582 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21583 }
21584 return resultobj;
21585 fail:
21586 return NULL;
21587}
21588
21589
21590static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21591 PyObject *resultobj;
21592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21593 wxTreeItemId *arg2 = 0 ;
21594 PyObject *result;
21595 PyObject * obj0 = 0 ;
21596 PyObject * obj1 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self",(char *) "item", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 if (arg2 == NULL) {
21605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21606 }
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 resultobj = result;
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
21621static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21624 wxTreeItemId *arg2 = 0 ;
21625 wxTreeItemIdValue *arg3 = 0 ;
21626 PyObject *result;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "item",(char *) "cookie", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21637 if (arg2 == NULL) {
21638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21639 }
21640 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21641 if (arg3 == NULL) {
21642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21643 }
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = result;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655}
21656
21657
21658static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21661 wxTreeItemId *arg2 = 0 ;
21662 wxTreeItemId result;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "item", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21672 if (arg2 == NULL) {
21673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21674 }
21675 {
21676 PyThreadState* __tstate = wxPyBeginAllowThreads();
21677 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21678
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 {
21683 wxTreeItemId * resultptr;
21684 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21685 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21686 }
21687 return resultobj;
21688 fail:
21689 return NULL;
21690}
21691
21692
21693static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21694 PyObject *resultobj;
21695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21696 wxTreeItemId *arg2 = 0 ;
21697 wxTreeItemId result;
21698 PyObject * obj0 = 0 ;
21699 PyObject * obj1 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self",(char *) "item", NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21707 if (arg2 == NULL) {
21708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21709 }
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 wxTreeItemId * resultptr;
21719 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21721 }
21722 return resultobj;
21723 fail:
21724 return NULL;
21725}
21726
21727
21728static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21731 wxTreeItemId *arg2 = 0 ;
21732 wxTreeItemId result;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "item", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21742 if (arg2 == NULL) {
21743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21744 }
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753 wxTreeItemId * resultptr;
21754 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21756 }
21757 return resultobj;
21758 fail:
21759 return NULL;
21760}
21761
21762
21763static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21766 wxTreeItemId result;
21767 PyObject * obj0 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 {
21782 wxTreeItemId * resultptr;
21783 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21784 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21785 }
21786 return resultobj;
21787 fail:
21788 return NULL;
21789}
21790
21791
21792static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj;
21794 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21795 wxTreeItemId *arg2 = 0 ;
21796 wxTreeItemId result;
21797 PyObject * obj0 = 0 ;
21798 PyObject * obj1 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "item", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21806 if (arg2 == NULL) {
21807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21808 }
21809 {
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
21812
21813 wxPyEndAllowThreads(__tstate);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 }
21816 {
21817 wxTreeItemId * resultptr;
21818 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21819 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21820 }
21821 return resultobj;
21822 fail:
21823 return NULL;
21824}
21825
21826
21827static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21830 wxTreeItemId *arg2 = 0 ;
21831 wxTreeItemId result;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "item", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21841 if (arg2 == NULL) {
21842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 wxTreeItemId * resultptr;
21853 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21855 }
21856 return resultobj;
21857 fail:
21858 return NULL;
21859}
21860
21861
21862static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21865 wxString *arg2 = 0 ;
21866 int arg3 = (int) -1 ;
21867 int arg4 = (int) -1 ;
21868 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
21869 wxTreeItemId result;
423f194a 21870 bool temp2 = False ;
d14a1e28
RD
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 PyObject * obj4 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 {
21881 arg2 = wxString_in_helper(obj1);
21882 if (arg2 == NULL) SWIG_fail;
423f194a 21883 temp2 = True;
d14a1e28
RD
21884 }
21885 if (obj4) {
21886 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21887 }
21888 {
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 {
21896 wxTreeItemId * resultptr;
21897 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21898 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21899 }
21900 {
21901 if (temp2)
21902 delete arg2;
21903 }
21904 return resultobj;
21905 fail:
21906 {
21907 if (temp2)
21908 delete arg2;
21909 }
21910 return NULL;
21911}
21912
21913
21914static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21917 wxTreeItemId *arg2 = 0 ;
21918 wxString *arg3 = 0 ;
21919 int arg4 = (int) -1 ;
21920 int arg5 = (int) -1 ;
21921 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
21922 wxTreeItemId result;
423f194a 21923 bool temp3 = False ;
d14a1e28
RD
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 PyObject * obj2 = 0 ;
21927 PyObject * obj5 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if (arg2 == NULL) {
21936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21937 }
21938 {
21939 arg3 = wxString_in_helper(obj2);
21940 if (arg3 == NULL) SWIG_fail;
423f194a 21941 temp3 = True;
d14a1e28
RD
21942 }
21943 if (obj5) {
21944 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 {
21954 wxTreeItemId * resultptr;
21955 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21957 }
21958 {
21959 if (temp3)
21960 delete arg3;
21961 }
21962 return resultobj;
21963 fail:
21964 {
21965 if (temp3)
21966 delete arg3;
21967 }
21968 return NULL;
21969}
21970
21971
21972static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21975 wxTreeItemId *arg2 = 0 ;
21976 wxTreeItemId *arg3 = 0 ;
21977 wxString *arg4 = 0 ;
21978 int arg5 = (int) -1 ;
21979 int arg6 = (int) -1 ;
21980 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
21981 wxTreeItemId result;
423f194a 21982 bool temp4 = False ;
d14a1e28
RD
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
21986 PyObject * obj3 = 0 ;
21987 PyObject * obj6 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
21993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21995 if (arg2 == NULL) {
21996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21997 }
21998 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21999 if (arg3 == NULL) {
22000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22001 }
22002 {
22003 arg4 = wxString_in_helper(obj3);
22004 if (arg4 == NULL) SWIG_fail;
423f194a 22005 temp4 = True;
d14a1e28
RD
22006 }
22007 if (obj6) {
22008 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22009 }
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 {
22018 wxTreeItemId * resultptr;
22019 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22020 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22021 }
22022 {
22023 if (temp4)
22024 delete arg4;
22025 }
22026 return resultobj;
22027 fail:
22028 {
22029 if (temp4)
22030 delete arg4;
22031 }
22032 return NULL;
22033}
22034
22035
22036static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22037 PyObject *resultobj;
22038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22039 wxTreeItemId *arg2 = 0 ;
22040 size_t arg3 ;
22041 wxString *arg4 = 0 ;
22042 int arg5 = (int) -1 ;
22043 int arg6 = (int) -1 ;
22044 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22045 wxTreeItemId result;
423f194a 22046 bool temp4 = False ;
d14a1e28
RD
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 PyObject * obj3 = 0 ;
22051 PyObject * obj6 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22059 if (arg2 == NULL) {
22060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22061 }
22062 arg3 = (size_t) PyInt_AsLong(obj2);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 {
22065 arg4 = wxString_in_helper(obj3);
22066 if (arg4 == NULL) SWIG_fail;
423f194a 22067 temp4 = True;
d14a1e28
RD
22068 }
22069 if (obj6) {
22070 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxTreeItemId * resultptr;
22081 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22083 }
22084 {
22085 if (temp4)
22086 delete arg4;
22087 }
22088 return resultobj;
22089 fail:
22090 {
22091 if (temp4)
22092 delete arg4;
22093 }
22094 return NULL;
22095}
22096
22097
22098static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22099 PyObject *resultobj;
22100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22101 wxTreeItemId *arg2 = 0 ;
22102 wxString *arg3 = 0 ;
22103 int arg4 = (int) -1 ;
22104 int arg5 = (int) -1 ;
22105 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22106 wxTreeItemId result;
423f194a 22107 bool temp3 = False ;
d14a1e28
RD
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 PyObject * obj2 = 0 ;
22111 PyObject * obj5 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 if (arg2 == NULL) {
22120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22121 }
22122 {
22123 arg3 = wxString_in_helper(obj2);
22124 if (arg3 == NULL) SWIG_fail;
423f194a 22125 temp3 = True;
d14a1e28
RD
22126 }
22127 if (obj5) {
22128 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 }
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 {
22138 wxTreeItemId * resultptr;
22139 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22140 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22141 }
22142 {
22143 if (temp3)
22144 delete arg3;
22145 }
22146 return resultobj;
22147 fail:
22148 {
22149 if (temp3)
22150 delete arg3;
22151 }
22152 return NULL;
22153}
22154
22155
22156static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22159 wxTreeItemId *arg2 = 0 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "item", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22169 if (arg2 == NULL) {
22170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22171 }
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 (arg1)->Delete((wxTreeItemId const &)*arg2);
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 Py_INCREF(Py_None); resultobj = Py_None;
22180 return resultobj;
22181 fail:
22182 return NULL;
22183}
22184
22185
22186static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22189 wxTreeItemId *arg2 = 0 ;
22190 PyObject * obj0 = 0 ;
22191 PyObject * obj1 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self",(char *) "item", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22199 if (arg2 == NULL) {
22200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 Py_INCREF(Py_None); resultobj = Py_None;
22210 return resultobj;
22211 fail:
22212 return NULL;
22213}
22214
22215
22216static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22219 PyObject * obj0 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 (arg1)->DeleteAllItems();
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 Py_INCREF(Py_None); resultobj = Py_None;
22234 return resultobj;
22235 fail:
22236 return NULL;
22237}
22238
22239
22240static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22241 PyObject *resultobj;
22242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22243 wxTreeItemId *arg2 = 0 ;
22244 PyObject * obj0 = 0 ;
22245 PyObject * obj1 = 0 ;
22246 char *kwnames[] = {
22247 (char *) "self",(char *) "item", NULL
22248 };
22249
22250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22253 if (arg2 == NULL) {
22254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22255 }
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 (arg1)->Expand((wxTreeItemId const &)*arg2);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 Py_INCREF(Py_None); resultobj = Py_None;
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
22270static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22273 wxTreeItemId *arg2 = 0 ;
22274 PyObject * obj0 = 0 ;
22275 PyObject * obj1 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self",(char *) "item", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22283 if (arg2 == NULL) {
22284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22285 }
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 Py_INCREF(Py_None); resultobj = Py_None;
22294 return resultobj;
22295 fail:
22296 return NULL;
22297}
22298
22299
22300static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22303 wxTreeItemId *arg2 = 0 ;
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
22306 char *kwnames[] = {
22307 (char *) "self",(char *) "item", NULL
22308 };
22309
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22313 if (arg2 == NULL) {
22314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22315 }
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 Py_INCREF(Py_None); resultobj = Py_None;
22324 return resultobj;
22325 fail:
22326 return NULL;
22327}
22328
22329
22330static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22333 wxTreeItemId *arg2 = 0 ;
22334 PyObject * obj0 = 0 ;
22335 PyObject * obj1 = 0 ;
22336 char *kwnames[] = {
22337 (char *) "self",(char *) "item", NULL
22338 };
22339
22340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22343 if (arg2 == NULL) {
22344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 Py_INCREF(Py_None); resultobj = Py_None;
22354 return resultobj;
22355 fail:
22356 return NULL;
22357}
22358
22359
22360static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22363 PyObject * obj0 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 (arg1)->Unselect();
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 Py_INCREF(Py_None); resultobj = Py_None;
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
22384static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22387 PyObject * obj0 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->UnselectAll();
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
22408static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22411 wxTreeItemId *arg2 = 0 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "item", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22421 if (arg2 == NULL) {
22422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22423 }
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 Py_INCREF(Py_None); resultobj = Py_None;
22432 return resultobj;
22433 fail:
22434 return NULL;
22435}
22436
22437
22438static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22441 wxTreeItemId *arg2 = 0 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "item", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 if (arg2 == NULL) {
22452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22453 }
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 Py_INCREF(Py_None); resultobj = Py_None;
22462 return resultobj;
22463 fail:
22464 return NULL;
22465}
22466
22467
22468static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj;
22470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22471 wxTreeItemId *arg2 = 0 ;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self",(char *) "item", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if (arg2 == NULL) {
22482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22483 }
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 Py_INCREF(Py_None); resultobj = Py_None;
22492 return resultobj;
22493 fail:
22494 return NULL;
22495}
22496
22497
22498static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj;
22500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22501 wxTreeItemId *arg2 = 0 ;
22502 PyObject * obj0 = 0 ;
22503 PyObject * obj1 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self",(char *) "item", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22511 if (arg2 == NULL) {
22512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22513 }
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 Py_INCREF(Py_None); resultobj = Py_None;
22522 return resultobj;
22523 fail:
22524 return NULL;
22525}
22526
22527
22528static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22531 wxTextCtrl *result;
22532 PyObject * obj0 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 {
22547 resultobj = wxPyMake_wxObject(result);
22548 }
22549 return resultobj;
22550 fail:
22551 return NULL;
22552}
22553
22554
22555static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22558 wxTreeItemId *arg2 = 0 ;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "item", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if (arg2 == NULL) {
22569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22570 }
22571 {
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 Py_INCREF(Py_None); resultobj = Py_None;
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
22585static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22586 PyObject *resultobj;
22587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22588 wxPoint *arg2 = 0 ;
22589 int *arg3 = 0 ;
22590 wxTreeItemId result;
22591 wxPoint temp2 ;
22592 int temp3 ;
22593 PyObject * obj0 = 0 ;
22594 PyObject * obj1 = 0 ;
22595 char *kwnames[] = {
22596 (char *) "self",(char *) "point", NULL
22597 };
22598
22599 arg3 = &temp3;
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22602 {
22603 arg2 = &temp2;
22604 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22605 }
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 wxTreeItemId * resultptr;
22615 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22616 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22617 }
22618 {
22619 PyObject *o = PyInt_FromLong((long) (*arg3));
22620 resultobj = t_output_helper(resultobj,o);
22621 }
22622 return resultobj;
22623 fail:
22624 return NULL;
22625}
22626
22627
22628static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22629 PyObject *resultobj;
22630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22631 wxTreeItemId *arg2 = 0 ;
423f194a 22632 bool arg3 = (bool) False ;
d14a1e28
RD
22633 PyObject *result;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 PyObject * obj2 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22644 if (arg2 == NULL) {
22645 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22646 }
22647 if (obj2) {
22648 arg3 = PyInt_AsLong(obj2) ? true : false;
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 {
22652 PyThreadState* __tstate = wxPyBeginAllowThreads();
22653 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22654
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = result;
22659 return resultobj;
22660 fail:
22661 return NULL;
22662}
22663
22664
22665static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22666 PyObject *obj;
22667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22668 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22669 Py_INCREF(obj);
22670 return Py_BuildValue((char *)"");
22671}
22672static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22675 int arg2 = (int) (int)-1 ;
d14a1e28
RD
22676 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22677 wxString *arg3 = (wxString *) &arg3_defvalue ;
22678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22680 wxSize const &arg5_defvalue = wxDefaultSize ;
22681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22682 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22683 wxString const &arg7_defvalue = wxPyEmptyString ;
22684 wxString *arg7 = (wxString *) &arg7_defvalue ;
22685 int arg8 = (int) 0 ;
22686 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22687 wxString *arg9 = (wxString *) &arg9_defvalue ;
22688 wxGenericDirCtrl *result;
423f194a 22689 bool temp3 = False ;
d14a1e28
RD
22690 wxPoint temp4 ;
22691 wxSize temp5 ;
423f194a
RD
22692 bool temp7 = False ;
22693 bool temp9 = False ;
d14a1e28
RD
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj2 = 0 ;
22696 PyObject * obj3 = 0 ;
22697 PyObject * obj4 = 0 ;
22698 PyObject * obj6 = 0 ;
22699 PyObject * obj8 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22706 if (obj2) {
22707 {
22708 arg3 = wxString_in_helper(obj2);
22709 if (arg3 == NULL) SWIG_fail;
423f194a 22710 temp3 = True;
d14a1e28
RD
22711 }
22712 }
22713 if (obj3) {
22714 {
22715 arg4 = &temp4;
22716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22717 }
22718 }
22719 if (obj4) {
22720 {
22721 arg5 = &temp5;
22722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22723 }
22724 }
22725 if (obj6) {
22726 {
22727 arg7 = wxString_in_helper(obj6);
22728 if (arg7 == NULL) SWIG_fail;
423f194a 22729 temp7 = True;
d14a1e28
RD
22730 }
22731 }
22732 if (obj8) {
22733 {
22734 arg9 = wxString_in_helper(obj8);
22735 if (arg9 == NULL) SWIG_fail;
423f194a 22736 temp9 = True;
d14a1e28
RD
22737 }
22738 }
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22747 {
22748 if (temp3)
22749 delete arg3;
22750 }
22751 {
22752 if (temp7)
22753 delete arg7;
22754 }
22755 {
22756 if (temp9)
22757 delete arg9;
22758 }
22759 return resultobj;
22760 fail:
22761 {
22762 if (temp3)
22763 delete arg3;
22764 }
22765 {
22766 if (temp7)
22767 delete arg7;
22768 }
22769 {
22770 if (temp9)
22771 delete arg9;
22772 }
22773 return NULL;
22774}
22775
22776
22777static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22778 PyObject *resultobj;
22779 wxGenericDirCtrl *result;
22780 char *kwnames[] = {
22781 NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22793 return resultobj;
22794 fail:
22795 return NULL;
22796}
22797
22798
22799static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22802 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 22803 int arg3 = (int) (int)-1 ;
d14a1e28
RD
22804 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22805 wxString *arg4 = (wxString *) &arg4_defvalue ;
22806 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22807 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22808 wxSize const &arg6_defvalue = wxDefaultSize ;
22809 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22810 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22811 wxString const &arg8_defvalue = wxPyEmptyString ;
22812 wxString *arg8 = (wxString *) &arg8_defvalue ;
22813 int arg9 = (int) 0 ;
22814 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
22815 wxString *arg10 = (wxString *) &arg10_defvalue ;
22816 bool result;
423f194a 22817 bool temp4 = False ;
d14a1e28
RD
22818 wxPoint temp5 ;
22819 wxSize temp6 ;
423f194a
RD
22820 bool temp8 = False ;
22821 bool temp10 = False ;
d14a1e28
RD
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj3 = 0 ;
22825 PyObject * obj4 = 0 ;
22826 PyObject * obj5 = 0 ;
22827 PyObject * obj7 = 0 ;
22828 PyObject * obj9 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
22834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 if (obj3) {
22837 {
22838 arg4 = wxString_in_helper(obj3);
22839 if (arg4 == NULL) SWIG_fail;
423f194a 22840 temp4 = True;
d14a1e28
RD
22841 }
22842 }
22843 if (obj4) {
22844 {
22845 arg5 = &temp5;
22846 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22847 }
22848 }
22849 if (obj5) {
22850 {
22851 arg6 = &temp6;
22852 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22853 }
22854 }
22855 if (obj7) {
22856 {
22857 arg8 = wxString_in_helper(obj7);
22858 if (arg8 == NULL) SWIG_fail;
423f194a 22859 temp8 = True;
d14a1e28
RD
22860 }
22861 }
22862 if (obj9) {
22863 {
22864 arg10 = wxString_in_helper(obj9);
22865 if (arg10 == NULL) SWIG_fail;
423f194a 22866 temp10 = True;
d14a1e28
RD
22867 }
22868 }
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 resultobj = PyInt_FromLong((long)result);
22877 {
22878 if (temp4)
22879 delete arg4;
22880 }
22881 {
22882 if (temp8)
22883 delete arg8;
22884 }
22885 {
22886 if (temp10)
22887 delete arg10;
22888 }
22889 return resultobj;
22890 fail:
22891 {
22892 if (temp4)
22893 delete arg4;
22894 }
22895 {
22896 if (temp8)
22897 delete arg8;
22898 }
22899 {
22900 if (temp10)
22901 delete arg10;
22902 }
22903 return NULL;
22904}
22905
22906
22907static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj;
22909 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22910 wxString *arg2 = 0 ;
22911 bool result;
423f194a 22912 bool temp2 = False ;
d14a1e28
RD
22913 PyObject * obj0 = 0 ;
22914 PyObject * obj1 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "path", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
22920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22921 {
22922 arg2 = wxString_in_helper(obj1);
22923 if (arg2 == NULL) SWIG_fail;
423f194a 22924 temp2 = True;
d14a1e28
RD
22925 }
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 resultobj = PyInt_FromLong((long)result);
22934 {
22935 if (temp2)
22936 delete arg2;
22937 }
22938 return resultobj;
22939 fail:
22940 {
22941 if (temp2)
22942 delete arg2;
22943 }
22944 return NULL;
22945}
22946
22947
22948static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22951 wxString result;
22952 PyObject * obj0 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
22958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 {
22967#if wxUSE_UNICODE
22968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22969#else
22970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22971#endif
22972 }
22973 return resultobj;
22974 fail:
22975 return NULL;
22976}
22977
22978
22979static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22980 PyObject *resultobj;
22981 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22982 wxString *arg2 = 0 ;
423f194a 22983 bool temp2 = False ;
d14a1e28
RD
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self",(char *) "path", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
22991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22992 {
22993 arg2 = wxString_in_helper(obj1);
22994 if (arg2 == NULL) SWIG_fail;
423f194a 22995 temp2 = True;
d14a1e28
RD
22996 }
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 (arg1)->SetDefaultPath((wxString const &)*arg2);
23000
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
23004 Py_INCREF(Py_None); resultobj = Py_None;
23005 {
23006 if (temp2)
23007 delete arg2;
23008 }
23009 return resultobj;
23010 fail:
23011 {
23012 if (temp2)
23013 delete arg2;
23014 }
23015 return NULL;
23016}
23017
23018
23019static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj;
23021 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23022 wxString result;
23023 PyObject * obj0 = 0 ;
23024 char *kwnames[] = {
23025 (char *) "self", NULL
23026 };
23027
23028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 {
23038#if wxUSE_UNICODE
23039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23040#else
23041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23042#endif
23043 }
23044 return resultobj;
23045 fail:
23046 return NULL;
23047}
23048
23049
23050static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23053 wxString result;
23054 PyObject * obj0 = 0 ;
23055 char *kwnames[] = {
23056 (char *) "self", NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 {
23069#if wxUSE_UNICODE
23070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23071#else
23072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23073#endif
23074 }
23075 return resultobj;
23076 fail:
23077 return NULL;
23078}
23079
23080
23081static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23084 wxString *arg2 = 0 ;
423f194a 23085 bool temp2 = False ;
d14a1e28
RD
23086 PyObject * obj0 = 0 ;
23087 PyObject * obj1 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self",(char *) "path", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23094 {
23095 arg2 = wxString_in_helper(obj1);
23096 if (arg2 == NULL) SWIG_fail;
423f194a 23097 temp2 = True;
d14a1e28
RD
23098 }
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 (arg1)->SetPath((wxString const &)*arg2);
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 Py_INCREF(Py_None); resultobj = Py_None;
23107 {
23108 if (temp2)
23109 delete arg2;
23110 }
23111 return resultobj;
23112 fail:
23113 {
23114 if (temp2)
23115 delete arg2;
23116 }
23117 return NULL;
23118}
23119
23120
23121static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23124 bool arg2 ;
23125 PyObject * obj0 = 0 ;
23126 PyObject * obj1 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "show", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23133 arg2 = PyInt_AsLong(obj1) ? true : false;
23134 if (PyErr_Occurred()) SWIG_fail;
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 (arg1)->ShowHidden(arg2);
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 Py_INCREF(Py_None); resultobj = Py_None;
23143 return resultobj;
23144 fail:
23145 return NULL;
23146}
23147
23148
23149static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23150 PyObject *resultobj;
23151 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23152 bool result;
23153 PyObject * obj0 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self", NULL
23156 };
23157
23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",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 = (bool)(arg1)->GetShowHidden();
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 resultobj = PyInt_FromLong((long)result);
23168 return resultobj;
23169 fail:
23170 return NULL;
23171}
23172
23173
23174static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23175 PyObject *resultobj;
23176 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23177 wxString result;
23178 PyObject * obj0 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 {
23193#if wxUSE_UNICODE
23194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23195#else
23196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23197#endif
23198 }
23199 return resultobj;
23200 fail:
23201 return NULL;
23202}
23203
23204
23205static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23206 PyObject *resultobj;
23207 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23208 wxString *arg2 = 0 ;
423f194a 23209 bool temp2 = False ;
d14a1e28
RD
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self",(char *) "filter", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 {
23219 arg2 = wxString_in_helper(obj1);
23220 if (arg2 == NULL) SWIG_fail;
423f194a 23221 temp2 = True;
d14a1e28
RD
23222 }
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 (arg1)->SetFilter((wxString const &)*arg2);
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 Py_INCREF(Py_None); resultobj = Py_None;
23231 {
23232 if (temp2)
23233 delete arg2;
23234 }
23235 return resultobj;
23236 fail:
23237 {
23238 if (temp2)
23239 delete arg2;
23240 }
23241 return NULL;
23242}
23243
23244
23245static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj;
23247 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23248 int result;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) 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 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23259
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 resultobj = PyInt_FromLong((long)result);
23264 return resultobj;
23265 fail:
23266 return NULL;
23267}
23268
23269
23270static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj;
23272 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23273 int arg2 ;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self",(char *) "n", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) 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 (arg1)->SetFilterIndex(arg2);
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 Py_INCREF(Py_None); resultobj = Py_None;
23289 return resultobj;
23290 fail:
23291 return NULL;
23292}
23293
23294
23295static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23298 wxTreeItemId result;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (arg1)->GetRootId();
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 wxTreeItemId * resultptr;
23315 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23317 }
23318 return resultobj;
23319 fail:
23320 return NULL;
23321}
23322
23323
23324static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23325 PyObject *resultobj;
23326 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23327 wxTreeCtrl *result;
23328 PyObject * obj0 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 {
23343 resultobj = wxPyMake_wxObject(result);
23344 }
23345 return resultobj;
23346 fail:
23347 return NULL;
23348}
23349
23350
23351static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23352 PyObject *resultobj;
23353 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23354 wxDirFilterListCtrl *result;
23355 PyObject * obj0 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23362 {
23363 PyThreadState* __tstate = wxPyBeginAllowThreads();
23364 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23365
23366 wxPyEndAllowThreads(__tstate);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23370 return resultobj;
23371 fail:
23372 return NULL;
23373}
23374
23375
23376static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23377 PyObject *resultobj;
23378 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23379 wxTreeItemId arg2 ;
23380 wxString *arg3 = 0 ;
23381 bool *arg4 = 0 ;
23382 wxTreeItemId result;
23383 wxTreeItemId *argp2 ;
423f194a 23384 bool temp3 = False ;
d14a1e28
RD
23385 bool temp4 ;
23386 PyObject * obj0 = 0 ;
23387 PyObject * obj1 = 0 ;
23388 PyObject * obj2 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self",(char *) "parentId",(char *) "path", NULL
23391 };
23392
23393 arg4 = &temp4;
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23396 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23397 arg2 = *argp2;
23398 {
23399 arg3 = wxString_in_helper(obj2);
23400 if (arg3 == NULL) SWIG_fail;
423f194a 23401 temp3 = True;
d14a1e28
RD
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 {
23411 wxTreeItemId * resultptr;
23412 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23413 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23414 }
23415 {
23416 PyObject *o = PyInt_FromLong((long) (*arg4));
23417 resultobj = t_output_helper(resultobj,o);
23418 }
23419 {
23420 if (temp3)
23421 delete arg3;
23422 }
23423 return resultobj;
23424 fail:
23425 {
23426 if (temp3)
23427 delete arg3;
23428 }
23429 return NULL;
23430}
23431
23432
23433static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23436 PyObject * obj0 = 0 ;
23437 char *kwnames[] = {
23438 (char *) "self", NULL
23439 };
23440
23441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 (arg1)->DoResize();
23446
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 Py_INCREF(Py_None); resultobj = Py_None;
23451 return resultobj;
23452 fail:
23453 return NULL;
23454}
23455
23456
23457static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23458 PyObject *resultobj;
23459 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23460 PyObject * obj0 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23467 {
23468 PyThreadState* __tstate = wxPyBeginAllowThreads();
23469 (arg1)->ReCreateTree();
23470
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 Py_INCREF(Py_None); resultobj = Py_None;
23475 return resultobj;
23476 fail:
23477 return NULL;
23478}
23479
23480
23481static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23482 PyObject *obj;
23483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23484 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23485 Py_INCREF(obj);
23486 return Py_BuildValue((char *)"");
23487}
23488static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
423f194a 23491 int arg2 = (int) (int)-1 ;
d14a1e28
RD
23492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23494 wxSize const &arg4_defvalue = wxDefaultSize ;
23495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23496 long arg5 = (long) 0 ;
23497 wxDirFilterListCtrl *result;
23498 wxPoint temp3 ;
23499 wxSize temp4 ;
23500 PyObject * obj0 = 0 ;
23501 PyObject * obj2 = 0 ;
23502 PyObject * obj3 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23509 if (obj2) {
23510 {
23511 arg3 = &temp3;
23512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23513 }
23514 }
23515 if (obj3) {
23516 {
23517 arg4 = &temp4;
23518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23519 }
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23529 return resultobj;
23530 fail:
23531 return NULL;
23532}
23533
23534
23535static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23536 PyObject *resultobj;
23537 wxDirFilterListCtrl *result;
23538 char *kwnames[] = {
23539 NULL
23540 };
23541
23542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23551 return resultobj;
23552 fail:
23553 return NULL;
23554}
23555
23556
23557static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj;
23559 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23560 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
423f194a 23561 int arg3 = (int) (int)-1 ;
d14a1e28
RD
23562 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23563 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23564 wxSize const &arg5_defvalue = wxDefaultSize ;
23565 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23566 long arg6 = (long) 0 ;
23567 bool result;
23568 wxPoint temp4 ;
23569 wxSize temp5 ;
23570 PyObject * obj0 = 0 ;
23571 PyObject * obj1 = 0 ;
23572 PyObject * obj3 = 0 ;
23573 PyObject * obj4 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23581 if (obj3) {
23582 {
23583 arg4 = &temp4;
23584 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23585 }
23586 }
23587 if (obj4) {
23588 {
23589 arg5 = &temp5;
23590 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23591 }
23592 }
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 resultobj = PyInt_FromLong((long)result);
23601 return resultobj;
23602 fail:
23603 return NULL;
23604}
23605
23606
23607static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23610 wxString *arg2 = 0 ;
23611 int arg3 ;
423f194a 23612 bool temp2 = False ;
d14a1e28
RD
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23621 {
23622 arg2 = wxString_in_helper(obj1);
23623 if (arg2 == NULL) SWIG_fail;
423f194a 23624 temp2 = True;
d14a1e28
RD
23625 }
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 Py_INCREF(Py_None); resultobj = Py_None;
23634 {
23635 if (temp2)
23636 delete arg2;
23637 }
23638 return resultobj;
23639 fail:
23640 {
23641 if (temp2)
23642 delete arg2;
23643 }
23644 return NULL;
23645}
23646
23647
23648static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23649 PyObject *obj;
23650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23651 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23652 Py_INCREF(obj);
23653 return Py_BuildValue((char *)"");
23654}
23655static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23658 int arg2 ;
d14a1e28
RD
23659 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23660 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23661 wxSize const &arg4_defvalue = wxDefaultSize ;
23662 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23663 long arg5 = (long) 0 ;
23664 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23665 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23666 wxString const &arg7_defvalue = wxPyControlNameStr ;
23667 wxString *arg7 = (wxString *) &arg7_defvalue ;
23668 wxPyControl *result;
23669 wxPoint temp3 ;
23670 wxSize temp4 ;
423f194a 23671 bool temp7 = False ;
d14a1e28
RD
23672 PyObject * obj0 = 0 ;
23673 PyObject * obj2 = 0 ;
23674 PyObject * obj3 = 0 ;
23675 PyObject * obj5 = 0 ;
23676 PyObject * obj6 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23683 if (obj2) {
23684 {
23685 arg3 = &temp3;
23686 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23687 }
23688 }
23689 if (obj3) {
23690 {
23691 arg4 = &temp4;
23692 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23693 }
23694 }
23695 if (obj5) {
23696 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23697 if (arg6 == NULL) {
23698 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23699 }
23700 }
23701 if (obj6) {
23702 {
23703 arg7 = wxString_in_helper(obj6);
23704 if (arg7 == NULL) SWIG_fail;
423f194a 23705 temp7 = True;
d14a1e28
RD
23706 }
23707 }
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23716 {
23717 if (temp7)
23718 delete arg7;
23719 }
23720 return resultobj;
23721 fail:
23722 {
23723 if (temp7)
23724 delete arg7;
23725 }
23726 return NULL;
23727}
23728
23729
23730static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxPyControl *arg1 = (wxPyControl *) 0 ;
23733 PyObject *arg2 = (PyObject *) 0 ;
23734 PyObject *arg3 = (PyObject *) 0 ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 PyObject * obj2 = 0 ;
23738 char *kwnames[] = {
23739 (char *) "self",(char *) "self",(char *) "_class", NULL
23740 };
23741
23742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23744 arg2 = obj1;
23745 arg3 = obj2;
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 (arg1)->_setCallbackInfo(arg2,arg3);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 Py_INCREF(Py_None); resultobj = Py_None;
23754 return resultobj;
23755 fail:
23756 return NULL;
23757}
23758
23759
23760static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPyControl *arg1 = (wxPyControl *) 0 ;
23763 int arg2 ;
23764 int arg3 ;
23765 int arg4 ;
23766 int arg5 ;
23767 PyObject * obj0 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 Py_INCREF(Py_None); resultobj = Py_None;
23782 return resultobj;
23783 fail:
23784 return NULL;
23785}
23786
23787
23788static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyControl *arg1 = (wxPyControl *) 0 ;
23791 int arg2 ;
23792 int arg3 ;
23793 int arg4 ;
23794 int arg5 ;
23795 int arg6 = (int) wxSIZE_AUTO ;
23796 PyObject * obj0 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 Py_INCREF(Py_None); resultobj = Py_None;
23811 return resultobj;
23812 fail:
23813 return NULL;
23814}
23815
23816
23817static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23818 PyObject *resultobj;
23819 wxPyControl *arg1 = (wxPyControl *) 0 ;
23820 int arg2 ;
23821 int arg3 ;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self",(char *) "width",(char *) "height", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 (arg1)->base_DoSetClientSize(arg2,arg3);
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 Py_INCREF(Py_None); resultobj = Py_None;
23837 return resultobj;
23838 fail:
23839 return NULL;
23840}
23841
23842
23843static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxPyControl *arg1 = (wxPyControl *) 0 ;
23846 int arg2 ;
23847 int arg3 ;
23848 PyObject * obj0 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "x",(char *) "y", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 (arg1)->base_DoSetVirtualSize(arg2,arg3);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 Py_INCREF(Py_None); resultobj = Py_None;
23863 return resultobj;
23864 fail:
23865 return NULL;
23866}
23867
23868
23869static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxPyControl *arg1 = (wxPyControl *) 0 ;
23872 int *arg2 = (int *) 0 ;
23873 int *arg3 = (int *) 0 ;
23874 int temp2 ;
23875 int temp3 ;
23876 PyObject * obj0 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self", NULL
23879 };
23880
23881 arg2 = &temp2;
23882 arg3 = &temp3;
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
23884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 Py_INCREF(Py_None); resultobj = Py_None;
23893 {
23894 PyObject *o = PyInt_FromLong((long) (*arg2));
23895 resultobj = t_output_helper(resultobj,o);
23896 }
23897 {
23898 PyObject *o = PyInt_FromLong((long) (*arg3));
23899 resultobj = t_output_helper(resultobj,o);
23900 }
23901 return resultobj;
23902 fail:
23903 return NULL;
23904}
23905
23906
23907static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23908 PyObject *resultobj;
23909 wxPyControl *arg1 = (wxPyControl *) 0 ;
23910 int *arg2 = (int *) 0 ;
23911 int *arg3 = (int *) 0 ;
23912 int temp2 ;
23913 int temp3 ;
23914 PyObject * obj0 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self", NULL
23917 };
23918
23919 arg2 = &temp2;
23920 arg3 = &temp3;
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 {
23932 PyObject *o = PyInt_FromLong((long) (*arg2));
23933 resultobj = t_output_helper(resultobj,o);
23934 }
23935 {
23936 PyObject *o = PyInt_FromLong((long) (*arg3));
23937 resultobj = t_output_helper(resultobj,o);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942}
23943
23944
23945static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
23946 PyObject *resultobj;
23947 wxPyControl *arg1 = (wxPyControl *) 0 ;
23948 int *arg2 = (int *) 0 ;
23949 int *arg3 = (int *) 0 ;
23950 int temp2 ;
23951 int temp3 ;
23952 PyObject * obj0 = 0 ;
23953 char *kwnames[] = {
23954 (char *) "self", NULL
23955 };
23956
23957 arg2 = &temp2;
23958 arg3 = &temp3;
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
23960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 Py_INCREF(Py_None); resultobj = Py_None;
23969 {
23970 PyObject *o = PyInt_FromLong((long) (*arg2));
23971 resultobj = t_output_helper(resultobj,o);
23972 }
23973 {
23974 PyObject *o = PyInt_FromLong((long) (*arg3));
23975 resultobj = t_output_helper(resultobj,o);
23976 }
23977 return resultobj;
23978 fail:
23979 return NULL;
23980}
23981
23982
23983static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23984 PyObject *resultobj;
23985 wxPyControl *arg1 = (wxPyControl *) 0 ;
23986 wxSize result;
23987 PyObject * obj0 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
23993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 {
24002 wxSize * resultptr;
24003 resultptr = new wxSize((wxSize &) result);
24004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24005 }
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
24012static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxPyControl *arg1 = (wxPyControl *) 0 ;
24015 wxSize result;
24016 PyObject * obj0 = 0 ;
24017 char *kwnames[] = {
24018 (char *) "self", NULL
24019 };
24020
24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 {
24031 wxSize * resultptr;
24032 resultptr = new wxSize((wxSize &) result);
24033 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038}
24039
24040
24041static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxPyControl *arg1 = (wxPyControl *) 0 ;
24044 PyObject * obj0 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",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 (arg1)->base_InitDialog();
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 Py_INCREF(Py_None); resultobj = Py_None;
24059 return resultobj;
24060 fail:
24061 return NULL;
24062}
24063
24064
24065static PyObject *_wrap_PyControl_base_TransferDataToWindow(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_TransferDataToWindow",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_TransferDataToWindow();
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
24090static PyObject *_wrap_PyControl_base_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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
24115static PyObject *_wrap_PyControl_base_Validate(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_Validate",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)(arg1)->base_Validate();
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
24140static PyObject *_wrap_PyControl_base_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
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
24165static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxPyControl *arg1 = (wxPyControl *) 0 ;
24168 bool result;
24169 PyObject * obj0 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",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 = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 resultobj = PyInt_FromLong((long)result);
24184 return resultobj;
24185 fail:
24186 return NULL;
24187}
24188
24189
24190static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyControl *arg1 = (wxPyControl *) 0 ;
24193 wxSize result;
24194 PyObject * obj0 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 {
24209 wxSize * resultptr;
24210 resultptr = new wxSize((wxSize &) result);
24211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24212 }
24213 return resultobj;
24214 fail:
24215 return NULL;
24216}
24217
24218
24219static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj;
24221 wxPyControl *arg1 = (wxPyControl *) 0 ;
24222 wxWindow *arg2 = (wxWindow *) 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "child", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->base_AddChild(arg2);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243}
24244
24245
24246static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyControl *arg1 = (wxPyControl *) 0 ;
24249 wxWindow *arg2 = (wxWindow *) 0 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "child", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 (arg1)->base_RemoveChild(arg2);
24262
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 Py_INCREF(Py_None); resultobj = Py_None;
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
24273static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24274 PyObject *obj;
24275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24276 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24277 Py_INCREF(obj);
24278 return Py_BuildValue((char *)"");
24279}
24280static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 24283 int arg2 = (int) 0 ;
d14a1e28
RD
24284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24286 wxHelpEvent *result;
24287 wxPoint temp3 ;
24288 PyObject * obj2 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "type",(char *) "winid",(char *) "pt", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24294 if (obj2) {
24295 {
24296 arg3 = &temp3;
24297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24298 }
24299 }
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
24314static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24317 wxPoint *result;
24318 PyObject * obj0 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 {
24328 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24329 result = (wxPoint *) &_result_ref;
24330 }
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24336 return resultobj;
24337 fail:
24338 return NULL;
24339}
24340
24341
24342static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj;
24344 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24345 wxPoint *arg2 = 0 ;
24346 wxPoint temp2 ;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "self",(char *) "pos", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 {
24356 arg2 = &temp2;
24357 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24358 }
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 (arg1)->SetPosition((wxPoint const &)*arg2);
24362
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 Py_INCREF(Py_None); resultobj = Py_None;
24367 return resultobj;
24368 fail:
24369 return NULL;
24370}
24371
24372
24373static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24376 wxString *result;
24377 PyObject * obj0 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 {
24387 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24388 result = (wxString *) &_result_ref;
24389 }
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24395 return resultobj;
24396 fail:
24397 return NULL;
24398}
24399
24400
24401static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24402 PyObject *resultobj;
24403 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24404 wxString *arg2 = 0 ;
423f194a 24405 bool temp2 = False ;
d14a1e28
RD
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "link", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24414 {
24415 arg2 = wxString_in_helper(obj1);
24416 if (arg2 == NULL) SWIG_fail;
423f194a 24417 temp2 = True;
d14a1e28
RD
24418 }
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 (arg1)->SetLink((wxString const &)*arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 {
24428 if (temp2)
24429 delete arg2;
24430 }
24431 return resultobj;
24432 fail:
24433 {
24434 if (temp2)
24435 delete arg2;
24436 }
24437 return NULL;
24438}
24439
24440
24441static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24444 wxString *result;
24445 PyObject * obj0 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 {
24455 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24456 result = (wxString *) &_result_ref;
24457 }
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24463 return resultobj;
24464 fail:
24465 return NULL;
24466}
24467
24468
24469static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24470 PyObject *resultobj;
24471 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24472 wxString *arg2 = 0 ;
423f194a 24473 bool temp2 = False ;
d14a1e28
RD
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "target", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24482 {
24483 arg2 = wxString_in_helper(obj1);
24484 if (arg2 == NULL) SWIG_fail;
423f194a 24485 temp2 = True;
d14a1e28
RD
24486 }
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 (arg1)->SetTarget((wxString const &)*arg2);
24490
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 Py_INCREF(Py_None); resultobj = Py_None;
24495 {
24496 if (temp2)
24497 delete arg2;
24498 }
24499 return resultobj;
24500 fail:
24501 {
24502 if (temp2)
24503 delete arg2;
24504 }
24505 return NULL;
24506}
24507
24508
24509static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24510 PyObject *obj;
24511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24512 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24513 Py_INCREF(obj);
24514 return Py_BuildValue((char *)"");
24515}
24516static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 24519 bool arg2 = (bool) True ;
d14a1e28
RD
24520 wxContextHelp *result;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "window",(char *) "doNow", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24528 if (obj0) {
24529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24530 }
24531 if (obj1) {
24532 arg2 = PyInt_AsLong(obj1) ? true : false;
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24543 return resultobj;
24544 fail:
24545 return NULL;
24546}
24547
24548
24549static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24552 PyObject * obj0 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 delete arg1;
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 Py_INCREF(Py_None); resultobj = Py_None;
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24576 wxWindow *arg2 = (wxWindow *) NULL ;
24577 bool result;
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self",(char *) "window", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24586 if (obj1) {
24587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24588 }
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 result = (bool)(arg1)->BeginContextHelp(arg2);
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
24603static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24604 PyObject *resultobj;
24605 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24606 bool result;
24607 PyObject * obj0 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
24616 result = (bool)(arg1)->EndContextHelp();
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 resultobj = PyInt_FromLong((long)result);
24622 return resultobj;
24623 fail:
24624 return NULL;
24625}
24626
24627
24628static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24629 PyObject *obj;
24630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24631 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24632 Py_INCREF(obj);
24633 return Py_BuildValue((char *)"");
24634}
24635static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24638 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
24639 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24640 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24641 wxSize const &arg4_defvalue = wxDefaultSize ;
24642 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24643 long arg5 = (long) wxBU_AUTODRAW ;
24644 wxContextHelpButton *result;
24645 wxPoint temp3 ;
24646 wxSize temp4 ;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj2 = 0 ;
24649 PyObject * obj3 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24656 if (obj2) {
24657 {
24658 arg3 = &temp3;
24659 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24660 }
24661 }
24662 if (obj3) {
24663 {
24664 arg4 = &temp4;
24665 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24666 }
24667 }
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24676 return resultobj;
24677 fail:
24678 return NULL;
24679}
24680
24681
24682static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24683 PyObject *obj;
24684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24685 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24686 Py_INCREF(obj);
24687 return Py_BuildValue((char *)"");
24688}
24689static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj;
24691 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24692 wxHelpProvider *result;
24693 PyObject * obj0 = 0 ;
24694 char *kwnames[] = {
24695 (char *) "helpProvider", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24708 return resultobj;
24709 fail:
24710 return NULL;
24711}
24712
24713
24714static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24715 PyObject *resultobj;
24716 wxHelpProvider *result;
24717 char *kwnames[] = {
24718 NULL
24719 };
24720
24721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (wxHelpProvider *)wxHelpProvider::Get();
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
24736static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24737 PyObject *resultobj;
24738 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24739 wxWindow *arg2 = (wxWindow *) 0 ;
24740 wxString result;
24741 PyObject * obj0 = 0 ;
24742 PyObject * obj1 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "window", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (arg1)->GetHelp((wxWindow const *)arg2);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 {
24758#if wxUSE_UNICODE
24759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24760#else
24761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24762#endif
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767}
24768
24769
24770static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj;
24772 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24773 wxWindow *arg2 = (wxWindow *) 0 ;
24774 bool result;
24775 PyObject * obj0 = 0 ;
24776 PyObject * obj1 = 0 ;
24777 char *kwnames[] = {
24778 (char *) "self",(char *) "window", NULL
24779 };
24780
24781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 result = (bool)(arg1)->ShowHelp(arg2);
24787
24788 wxPyEndAllowThreads(__tstate);
24789 if (PyErr_Occurred()) SWIG_fail;
24790 }
24791 resultobj = PyInt_FromLong((long)result);
24792 return resultobj;
24793 fail:
24794 return NULL;
24795}
24796
24797
24798static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24799 PyObject *resultobj;
24800 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24801 wxWindow *arg2 = (wxWindow *) 0 ;
24802 wxString *arg3 = 0 ;
423f194a 24803 bool temp3 = False ;
d14a1e28
RD
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 PyObject * obj2 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "window",(char *) "text", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
24812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24814 {
24815 arg3 = wxString_in_helper(obj2);
24816 if (arg3 == NULL) SWIG_fail;
423f194a 24817 temp3 = True;
d14a1e28
RD
24818 }
24819 {
24820 PyThreadState* __tstate = wxPyBeginAllowThreads();
24821 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24822
24823 wxPyEndAllowThreads(__tstate);
24824 if (PyErr_Occurred()) SWIG_fail;
24825 }
24826 Py_INCREF(Py_None); resultobj = Py_None;
24827 {
24828 if (temp3)
24829 delete arg3;
24830 }
24831 return resultobj;
24832 fail:
24833 {
24834 if (temp3)
24835 delete arg3;
24836 }
24837 return NULL;
24838}
24839
24840
24841static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
24842 PyObject *resultobj;
24843 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
423f194a 24844 int arg2 ;
d14a1e28 24845 wxString *arg3 = 0 ;
423f194a 24846 bool temp3 = False ;
d14a1e28
RD
24847 PyObject * obj0 = 0 ;
24848 PyObject * obj2 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self",(char *) "id",(char *) "text", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
24854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24855 {
24856 arg3 = wxString_in_helper(obj2);
24857 if (arg3 == NULL) SWIG_fail;
423f194a 24858 temp3 = True;
d14a1e28
RD
24859 }
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 Py_INCREF(Py_None); resultobj = Py_None;
24868 {
24869 if (temp3)
24870 delete arg3;
24871 }
24872 return resultobj;
24873 fail:
24874 {
24875 if (temp3)
24876 delete arg3;
24877 }
24878 return NULL;
24879}
24880
24881
24882static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24885 PyObject * obj0 = 0 ;
24886 char *kwnames[] = {
24887 (char *) "self", NULL
24888 };
24889
24890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
24891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 wxHelpProvider_Destroy(arg1);
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 Py_INCREF(Py_None); resultobj = Py_None;
24900 return resultobj;
24901 fail:
24902 return NULL;
24903}
24904
24905
24906static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
24907 PyObject *obj;
24908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
24910 Py_INCREF(obj);
24911 return Py_BuildValue((char *)"");
24912}
24913static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxSimpleHelpProvider *result;
24916 char *kwnames[] = {
24917 NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
24929 return resultobj;
24930 fail:
24931 return NULL;
24932}
24933
24934
24935static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
24936 PyObject *obj;
24937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24938 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
24939 Py_INCREF(obj);
24940 return Py_BuildValue((char *)"");
24941}
423f194a
RD
24942static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24943 PyObject *resultobj;
24944 wxBitmap *arg1 = 0 ;
24945 wxCursor const &arg2_defvalue = wxNullCursor ;
24946 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24947 wxGenericDragImage *result;
24948 PyObject * obj0 = 0 ;
24949 PyObject * obj1 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "image",(char *) "cursor", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
24955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24956 if (arg1 == NULL) {
24957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24958 }
24959 if (obj1) {
24960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24961 if (arg2 == NULL) {
24962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24963 }
24964 }
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
24973 return resultobj;
24974 fail:
24975 return NULL;
24976}
24977
24978
24979static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj;
24981 wxIcon *arg1 = 0 ;
24982 wxCursor const &arg2_defvalue = wxNullCursor ;
24983 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
24984 wxGenericDragImage *result;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "image",(char *) "cursor", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
24992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24993 if (arg1 == NULL) {
24994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24995 }
24996 if (obj1) {
24997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24998 if (arg2 == NULL) {
24999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25000 }
25001 }
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25005
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25010 return resultobj;
25011 fail:
25012 return NULL;
25013}
25014
25015
25016static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj;
25018 wxString *arg1 = 0 ;
25019 wxCursor const &arg2_defvalue = wxNullCursor ;
25020 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25021 wxGenericDragImage *result;
25022 bool temp1 = False ;
25023 PyObject * obj0 = 0 ;
25024 PyObject * obj1 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "str",(char *) "cursor", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25030 {
25031 arg1 = wxString_in_helper(obj0);
25032 if (arg1 == NULL) SWIG_fail;
25033 temp1 = True;
25034 }
25035 if (obj1) {
25036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25037 if (arg2 == NULL) {
25038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25039 }
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25049 {
25050 if (temp1)
25051 delete arg1;
25052 }
25053 return resultobj;
25054 fail:
25055 {
25056 if (temp1)
25057 delete arg1;
25058 }
25059 return NULL;
25060}
25061
25062
25063static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxPyTreeCtrl *arg1 = 0 ;
25066 wxTreeItemId *arg2 = 0 ;
25067 wxGenericDragImage *result;
25068 PyObject * obj0 = 0 ;
25069 PyObject * obj1 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "treeCtrl",(char *) "id", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25076 if (arg1 == NULL) {
25077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25078 }
25079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25080 if (arg2 == NULL) {
25081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25082 }
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25086
25087 wxPyEndAllowThreads(__tstate);
25088 if (PyErr_Occurred()) SWIG_fail;
25089 }
25090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25091 return resultobj;
25092 fail:
25093 return NULL;
25094}
25095
25096
25097static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25098 PyObject *resultobj;
25099 wxPyListCtrl *arg1 = 0 ;
25100 long arg2 ;
25101 wxGenericDragImage *result;
25102 PyObject * obj0 = 0 ;
25103 char *kwnames[] = {
25104 (char *) "listCtrl",(char *) "id", NULL
25105 };
25106
25107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25109 if (arg1 == NULL) {
25110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25111 }
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25120 return resultobj;
25121 fail:
25122 return NULL;
25123}
25124
25125
25126static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25129 PyObject * obj0 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 delete arg1;
25139
25140 wxPyEndAllowThreads(__tstate);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 Py_INCREF(Py_None); resultobj = Py_None;
25144 return resultobj;
25145 fail:
25146 return NULL;
25147}
25148
25149
25150static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25153 wxBitmap *arg2 = (wxBitmap *) 0 ;
25154 PyObject * obj0 = 0 ;
25155 PyObject * obj1 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self",(char *) "bitmap", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 (arg1)->SetBackingBitmap(arg2);
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 Py_INCREF(Py_None); resultobj = Py_None;
25171 return resultobj;
25172 fail:
25173 return NULL;
25174}
25175
25176
25177static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25180 wxPoint *arg2 = 0 ;
25181 wxWindow *arg3 = (wxWindow *) 0 ;
25182 bool arg4 = (bool) False ;
25183 wxRect *arg5 = (wxRect *) NULL ;
25184 bool result;
25185 wxPoint temp2 ;
25186 PyObject * obj0 = 0 ;
25187 PyObject * obj1 = 0 ;
25188 PyObject * obj2 = 0 ;
25189 PyObject * obj3 = 0 ;
25190 PyObject * obj4 = 0 ;
25191 char *kwnames[] = {
25192 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25193 };
25194
25195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25197 {
25198 arg2 = &temp2;
25199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25200 }
25201 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25202 if (obj3) {
25203 arg4 = PyInt_AsLong(obj3) ? true : false;
25204 if (PyErr_Occurred()) SWIG_fail;
25205 }
25206 if (obj4) {
25207 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25208 }
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 resultobj = PyInt_FromLong((long)result);
25217 return resultobj;
25218 fail:
25219 return NULL;
25220}
25221
25222
25223static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25226 wxPoint *arg2 = 0 ;
25227 wxWindow *arg3 = (wxWindow *) 0 ;
25228 wxWindow *arg4 = (wxWindow *) 0 ;
25229 bool result;
25230 wxPoint temp2 ;
25231 PyObject * obj0 = 0 ;
25232 PyObject * obj1 = 0 ;
25233 PyObject * obj2 = 0 ;
25234 PyObject * obj3 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25241 {
25242 arg2 = &temp2;
25243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25244 }
25245 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25246 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
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
25261static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25264 bool result;
25265 PyObject * obj0 = 0 ;
25266 char *kwnames[] = {
25267 (char *) "self", NULL
25268 };
25269
25270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (bool)(arg1)->EndDrag();
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = PyInt_FromLong((long)result);
25280 return resultobj;
25281 fail:
25282 return NULL;
25283}
25284
25285
25286static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25287 PyObject *resultobj;
25288 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25289 wxPoint *arg2 = 0 ;
25290 bool result;
25291 wxPoint temp2 ;
25292 PyObject * obj0 = 0 ;
25293 PyObject * obj1 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "self",(char *) "pt", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25300 {
25301 arg2 = &temp2;
25302 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25303 }
25304 {
25305 PyThreadState* __tstate = wxPyBeginAllowThreads();
25306 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
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
25318static PyObject *_wrap_DragImage_Show(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_Show",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)->Show();
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
25343static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25346 bool result;
25347 PyObject * obj0 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (bool)(arg1)->Hide();
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 resultobj = PyInt_FromLong((long)result);
25362 return resultobj;
25363 fail:
25364 return NULL;
25365}
25366
25367
25368static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25371 wxPoint *arg2 = 0 ;
25372 wxRect result;
25373 wxPoint temp2 ;
25374 PyObject * obj0 = 0 ;
25375 PyObject * obj1 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "pos", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25382 {
25383 arg2 = &temp2;
25384 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25385 }
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25389
25390 wxPyEndAllowThreads(__tstate);
25391 if (PyErr_Occurred()) SWIG_fail;
25392 }
25393 {
25394 wxRect * resultptr;
25395 resultptr = new wxRect((wxRect &) result);
25396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25397 }
25398 return resultobj;
25399 fail:
25400 return NULL;
25401}
25402
25403
25404static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj;
25406 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25407 wxDC *arg2 = 0 ;
25408 wxPoint *arg3 = 0 ;
25409 bool result;
25410 wxPoint temp3 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 PyObject * obj2 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self",(char *) "dc",(char *) "pos", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25421 if (arg2 == NULL) {
25422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25423 }
25424 {
25425 arg3 = &temp3;
25426 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25427 }
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25431
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 resultobj = PyInt_FromLong((long)result);
25436 return resultobj;
25437 fail:
25438 return NULL;
25439}
25440
25441
25442static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25445 wxDC *arg2 = 0 ;
25446 wxMemoryDC *arg3 = 0 ;
25447 wxRect *arg4 = 0 ;
25448 wxRect *arg5 = 0 ;
25449 bool result;
25450 wxRect temp4 ;
25451 wxRect temp5 ;
25452 PyObject * obj0 = 0 ;
25453 PyObject * obj1 = 0 ;
25454 PyObject * obj2 = 0 ;
25455 PyObject * obj3 = 0 ;
25456 PyObject * obj4 = 0 ;
25457 char *kwnames[] = {
25458 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25464 if (arg2 == NULL) {
25465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25466 }
25467 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25468 if (arg3 == NULL) {
25469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25470 }
25471 {
25472 arg4 = &temp4;
25473 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25474 }
25475 {
25476 arg5 = &temp5;
25477 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25478 }
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = PyInt_FromLong((long)result);
25487 return resultobj;
25488 fail:
25489 return NULL;
25490}
25491
25492
25493static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj;
25495 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25496 wxPoint *arg2 = 0 ;
25497 wxPoint *arg3 = 0 ;
25498 bool arg4 ;
25499 bool arg5 ;
25500 bool result;
25501 wxPoint temp2 ;
25502 wxPoint temp3 ;
25503 PyObject * obj0 = 0 ;
25504 PyObject * obj1 = 0 ;
25505 PyObject * obj2 = 0 ;
25506 PyObject * obj3 = 0 ;
25507 PyObject * obj4 = 0 ;
25508 char *kwnames[] = {
25509 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25510 };
25511
25512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25514 {
25515 arg2 = &temp2;
25516 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25517 }
25518 {
25519 arg3 = &temp3;
25520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25521 }
25522 arg4 = PyInt_AsLong(obj3) ? true : false;
25523 if (PyErr_Occurred()) SWIG_fail;
25524 arg5 = PyInt_AsLong(obj4) ? true : false;
25525 if (PyErr_Occurred()) SWIG_fail;
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 resultobj = PyInt_FromLong((long)result);
25534 return resultobj;
25535 fail:
25536 return NULL;
25537}
25538
25539
25540static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25541 PyObject *obj;
25542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25544 Py_INCREF(obj);
25545 return Py_BuildValue((char *)"");
25546}
25547static PyMethodDef SwigMethods[] = {
25548 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25554 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25569 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25580 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25589 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
100c4552 25601 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
25602 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25607 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25620 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25624 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25630 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25634 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25641 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25660 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25668 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25669 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25697 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25730 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
25737 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25738 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25739 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25750 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25755 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25766 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25778 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25789 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25806 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25812 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25837 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25840 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25860 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25866 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25875 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25877 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25882 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25884 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25889 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25894 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25924 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25966 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
25971 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
25983 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26035 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26062 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26131 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26143 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26151 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26158 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26173 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26245 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26267 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26272 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26293 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26301 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26306 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26308 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26316 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
423f194a
RD
26318 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
26336 { NULL, NULL }
26337};
26338
26339
26340/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26341
26342static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26343 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26344}
26345static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26346 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26347}
26348static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26349 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26350}
26351static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26352 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26353}
26354static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26355 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26356}
26357static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26358 return (void *)((wxSizer *) ((wxGridSizer *) x));
26359}
26360static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26361 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26362}
26363static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26364 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26365}
26366static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26367 return (void *)((wxSizer *) ((wxPySizer *) x));
26368}
26369static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26370 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26371}
26372static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26373 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26374}
26375static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26376 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26377}
26378static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26379 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26380}
26381static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26382 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26383}
26384static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26385 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26386}
26387static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26388 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26389}
26390static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26391 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26392}
26393static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26394 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26395}
26396static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26397 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26398}
26399static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26401}
26402static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26403 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26404}
26405static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26406 return (void *)((wxEvent *) ((wxPyEvent *) x));
26407}
26408static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26410}
26411static void *_p_wxListEventTo_p_wxEvent(void *x) {
26412 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26413}
26414static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26415 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26416}
26417static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26418 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26419}
26420static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26422}
26423static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26424 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26425}
26426static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26428}
26429static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26430 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26431}
26432static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26433 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26434}
26435static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26436 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26437}
26438static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26439 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26440}
26441static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26442 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26443}
26444static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26445 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26446}
26447static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26448 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26449}
26450static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26451 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26452}
26453static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26454 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26455}
26456static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26457 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26458}
26459static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26460 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26461}
26462static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26463 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26464}
26465static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26466 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26467}
26468static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26469 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26470}
26471static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26472 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26473}
26474static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26475 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26476}
26477static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26478 return (void *)((wxEvent *) ((wxShowEvent *) x));
26479}
26480static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26481 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26482}
26483static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26485}
26486static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26488}
26489static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26490 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26491}
26492static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26493 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26494}
26495static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26496 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26497}
26498static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26499 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26500}
26501static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26502 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26503}
26504static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26505 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26506}
26507static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26508 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26509}
26510static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26511 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26512}
26513static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26514 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26515}
26516static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26517 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26518}
26519static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26520 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26521}
26522static void *_p_wxListBoxTo_p_wxControl(void *x) {
26523 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26524}
26525static void *_p_wxChoiceTo_p_wxControl(void *x) {
26526 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26527}
26528static void *_p_wxToolBarTo_p_wxControl(void *x) {
26529 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26530}
26531static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26532 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26533}
26534static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26535 return (void *)((wxControl *) ((wxComboBox *) x));
26536}
26537static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26538 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26539}
26540static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26541 return (void *)((wxControl *) ((wxStaticBox *) x));
26542}
26543static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26544 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26545}
26546static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26547 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26548}
26549static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26550 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26551}
26552static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26553 return (void *)((wxControl *) ((wxScrollBar *) x));
26554}
26555static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26556 return (void *)((wxControl *) ((wxBookCtrl *) x));
26557}
26558static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26559 return (void *)((wxControl *) ((wxRadioButton *) x));
26560}
26561static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26562 return (void *)((wxControl *) ((wxToggleButton *) x));
26563}
26564static void *_p_wxGaugeTo_p_wxControl(void *x) {
26565 return (void *)((wxControl *) ((wxGauge *) x));
26566}
26567static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26568 return (void *)((wxControl *) ((wxToolBarBase *) x));
26569}
26570static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26571 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26572}
26573static void *_p_wxButtonTo_p_wxControl(void *x) {
26574 return (void *)((wxControl *) ((wxButton *) x));
26575}
26576static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26577 return (void *)((wxControl *) ((wxSpinButton *) x));
26578}
26579static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26580 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26581}
26582static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26583 return (void *)((wxControl *) ((wxControlWithItems *) x));
26584}
26585static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26586 return (void *)((wxControl *) ((wxRadioBox *) x));
26587}
26588static void *_p_wxNotebookTo_p_wxControl(void *x) {
26589 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26590}
26591static void *_p_wxListbookTo_p_wxControl(void *x) {
26592 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26593}
26594static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26595 return (void *)((wxControl *) ((wxCheckBox *) x));
26596}
26597static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26598 return (void *)((wxControl *) ((wxTextCtrl *) x));
26599}
26600static void *_p_wxListViewTo_p_wxControl(void *x) {
26601 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26602}
26603static void *_p_wxSliderTo_p_wxControl(void *x) {
26604 return (void *)((wxControl *) ((wxSlider *) x));
26605}
26606static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26607 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26608}
26609static void *_p_wxPyControlTo_p_wxControl(void *x) {
26610 return (void *)((wxControl *) ((wxPyControl *) x));
26611}
26612static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26613 return (void *)((wxControl *) ((wxStaticLine *) x));
26614}
26615static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26616 return (void *)((wxControl *) ((wxStaticText *) x));
26617}
26618static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26619 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26620}
26621static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26622 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26623}
26624static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26625 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26626}
26627static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26628 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26629}
26630static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26631 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26632}
26633static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26634 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26635}
26636static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26637 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26638}
26639static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26640 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26641}
26642static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26644}
26645static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26646 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26647}
26648static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26649 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26650}
26651static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26652 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26653}
26654static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26655 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26656}
26657static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26658 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26659}
26660static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26661 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26662}
26663static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26664 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26665}
26666static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26668}
26669static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26670 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26671}
26672static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26674}
26675static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26677}
26678static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26679 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26680}
26681static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26682 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26683}
26684static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26685 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26686}
26687static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26689}
26690static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26691 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26692}
26693static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26695}
26696static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26697 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26698}
26699static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26700 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26701}
26702static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26704}
26705static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26707}
26708static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26709 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26710}
26711static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26713}
26714static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26716}
26717static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26719}
26720static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26722}
26723static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26725}
26726static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26728}
26729static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26731}
26732static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26734}
26735static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26737}
26738static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26740}
26741static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26743}
26744static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26746}
26747static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26749}
26750static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26752}
26753static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26755}
26756static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26757 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26758}
26759static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26760 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26761}
26762static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26763 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26764}
26765static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26766 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26767}
26768static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26769 return (void *)((wxButton *) ((wxBitmapButton *) x));
26770}
26771static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26772 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26773}
26774static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26775 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26776}
26777static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26778 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26779}
26780static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26781 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26782}
26783static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26784 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26785}
26786static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26787 return (void *)((wxObject *) ((wxSizerItem *) x));
26788}
26789static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26791}
26792static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26793 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26794}
26795static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26797}
26798static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26799 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26800}
26801static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26802 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26803}
26804static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26805 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26806}
26807static void *_p_wxSizerTo_p_wxObject(void *x) {
26808 return (void *)((wxObject *) ((wxSizer *) x));
26809}
26810static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26811 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26812}
26813static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26815}
26816static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26818}
26819static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26821}
26822static void *_p_wxEventTo_p_wxObject(void *x) {
26823 return (void *)((wxObject *) ((wxEvent *) x));
26824}
26825static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26826 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26827}
26828static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26829 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26830}
26831static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26832 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26833}
26834static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26836}
26837static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26839}
26840static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26842}
26843static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26844 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26845}
26846static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26847 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26848}
26849static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26850 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26851}
26852static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26853 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26854}
26855static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26856 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26857}
26858static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26859 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26860}
26861static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26863}
26864static void *_p_wxControlTo_p_wxObject(void *x) {
26865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26866}
26867static void *_p_wxPyControlTo_p_wxObject(void *x) {
26868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26869}
26870static void *_p_wxGaugeTo_p_wxObject(void *x) {
26871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26872}
26873static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26875}
26876static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26878}
26879static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26881}
26882static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26883 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26884}
26885static void *_p_wxChoiceTo_p_wxObject(void *x) {
26886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26887}
26888static void *_p_wxFSFileTo_p_wxObject(void *x) {
26889 return (void *)((wxObject *) ((wxFSFile *) x));
26890}
26891static void *_p_wxPySizerTo_p_wxObject(void *x) {
26892 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26893}
26894static void *_p_wxListViewTo_p_wxObject(void *x) {
26895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26896}
26897static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26899}
26900static void *_p_wxNotebookTo_p_wxObject(void *x) {
26901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26902}
26903static void *_p_wxPyEventTo_p_wxObject(void *x) {
26904 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26905}
26906static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26908}
26909static void *_p_wxListbookTo_p_wxObject(void *x) {
26910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26911}
26912static void *_p_wxShowEventTo_p_wxObject(void *x) {
26913 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26914}
26915static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26917}
26918static void *_p_wxSliderTo_p_wxObject(void *x) {
26919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26920}
26921static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26922 return (void *)((wxObject *) ((wxMenuItem *) x));
26923}
26924static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26925 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26926}
26927static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26929}
26930static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26931 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26932}
26933static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26934 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26935}
26936static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26937 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26938}
26939static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26940 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26941}
26942static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26943 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26944}
26945static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26946 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26947}
26948static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26950}
26951static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26952 return (void *)((wxObject *) ((wxContextHelp *) x));
26953}
26954static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26955 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26956}
26957static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26958 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26959}
26960static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26961 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26962}
26963static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26964 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26965}
26966static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26967 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26968}
26969static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26970 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26971}
26972static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26973 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26974}
26975static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26976 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26977}
26978static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26979 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26980}
26981static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26982 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26983}
26984static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26985 return (void *)((wxObject *) ((wxImageHandler *) x));
26986}
26987static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26988 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26989}
26990static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26991 return (void *)((wxObject *) ((wxEvtHandler *) x));
26992}
26993static void *_p_wxListEventTo_p_wxObject(void *x) {
26994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26995}
26996static void *_p_wxListBoxTo_p_wxObject(void *x) {
26997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26998}
26999static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27001}
27002static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27004}
27005static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27007}
27008static void *_p_wxButtonTo_p_wxObject(void *x) {
27009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27010}
27011static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27013}
27014static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27016}
27017static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27019}
27020static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27022}
27023static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27025}
27026static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27028}
27029static void *_p_wxListItemTo_p_wxObject(void *x) {
27030 return (void *)((wxObject *) ((wxListItem *) x));
27031}
27032static void *_p_wxImageTo_p_wxObject(void *x) {
27033 return (void *)((wxObject *) ((wxImage *) x));
27034}
27035static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27036 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27037}
27038static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27039 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27040}
423f194a
RD
27041static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27042 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27043}
d14a1e28
RD
27044static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27046}
27047static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27048 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27049}
27050static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27051 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27052}
27053static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27055}
27056static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27057 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27058}
27059static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27060 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27061}
27062static void *_p_wxWindowTo_p_wxObject(void *x) {
27063 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27064}
27065static void *_p_wxMenuTo_p_wxObject(void *x) {
27066 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27067}
27068static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27070}
27071static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27072 return (void *)((wxObject *) ((wxFileSystem *) x));
27073}
27074static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27076}
27077static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27078 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27079}
27080static void *_p_wxPyAppTo_p_wxObject(void *x) {
27081 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27082}
27083static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27084 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27085}
27086static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27087 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27088}
27089static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27090 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27091}
27092static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27093 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27094}
27095static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27096 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27097}
27098static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27099 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27100}
27101static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27103}
27104static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27105 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27106}
27107static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27108 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27109}
27110static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27112}
27113static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27115}
27116static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27117 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27118}
27119static void *_p_wxToolBarTo_p_wxObject(void *x) {
27120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27121}
27122static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27123 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27124}
27125static void *_p_wxValidatorTo_p_wxObject(void *x) {
27126 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27127}
27128static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27129 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27130}
27131static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27132 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27133}
27134static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27135 return (void *)((wxWindow *) ((wxMenuBar *) x));
27136}
27137static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27138 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27139}
27140static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27141 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27142}
27143static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27144 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27145}
27146static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27147 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27148}
27149static void *_p_wxControlTo_p_wxWindow(void *x) {
27150 return (void *)((wxWindow *) ((wxControl *) x));
27151}
27152static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27153 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27154}
27155static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27156 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27157}
27158static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27159 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27160}
27161static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27162 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27163}
27164static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27165 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27166}
27167static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27168 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27169}
27170static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27171 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27172}
27173static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27174 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27175}
27176static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27177 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27178}
27179static void *_p_wxListbookTo_p_wxWindow(void *x) {
27180 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27181}
27182static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27183 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27184}
27185static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27186 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27187}
27188static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27189 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27190}
27191static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27192 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27193}
27194static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27195 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27196}
27197static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27198 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27199}
27200static void *_p_wxListViewTo_p_wxWindow(void *x) {
27201 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27202}
27203static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27204 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27205}
27206static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27207 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27208}
27209static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27210 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27211}
27212static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27213 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27214}
27215static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27216 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27217}
27218static void *_p_wxSliderTo_p_wxWindow(void *x) {
27219 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27220}
27221static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27222 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27223}
27224static void *_p_wxButtonTo_p_wxWindow(void *x) {
27225 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27226}
27227static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27228 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27229}
27230static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27231 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27232}
27233static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27234 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27235}
27236static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27237 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27238}
27239static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27240 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27241}
27242static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27243 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27244}
27245static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27246 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27247}
27248static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27249 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27250}
27251static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27252 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27253}
27254static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27255 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27256}
27257static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27258 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27259}
27260static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27261 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27262}
27263static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27264 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27265}
27266static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27267 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27268}
27269static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27270 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27271}
27272static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27273 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27274}
27275static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27276 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27277}
27278static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27279 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27280}
27281static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27282 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27283}
27284static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27285 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27286}
27287static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27288 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27289}
27290static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27291 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27292}
27293static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27294 return (void *)((wxValidator *) ((wxPyValidator *) x));
27295}
27296static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27297static 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}};
27298static 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}};
27299static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27300static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27301static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27302static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27303static 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}};
27304static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27305static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27306static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27307static 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}};
27308static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27309static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27310static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27311static 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}};
27312static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27313static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27314static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27315static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27316static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27317static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27318static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
423f194a 27319static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
d14a1e28
RD
27320static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27321static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27322static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
423f194a 27323static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
d14a1e28
RD
27324static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27325static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27326static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27327static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27328static 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}};
27329static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27330static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27331static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27332static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27333static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27334static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27335static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27336static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27337static 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}};
27338static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27339static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27340static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27341static 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}};
27342static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27343static 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}};
27344static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27345static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27346static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27347static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27348static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27349static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27350static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27351static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27352static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27353static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
423f194a 27354static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
d14a1e28
RD
27355static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27356static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27357static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27358static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27359static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27360static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27361static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27362static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
423f194a
RD
27363static 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}};
27364static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
d14a1e28
RD
27365static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27366static 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}};
27367static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27368static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27369static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27370static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27371static 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}};
27372static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27373static 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}};
27374static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27375static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27376static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27377static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27378static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27379
27380static swig_type_info *swig_types_initial[] = {
27381_swigt__p_wxTextUrlEvent,
27382_swigt__p_wxBookCtrlEvent,
27383_swigt__p_wxSizer,
27384_swigt__p_wxTreeItemIdValue,
27385_swigt__wxTreeItemIdValue,
27386_swigt__p_wxCheckBox,
27387_swigt__p_wxPyTreeCtrl,
27388_swigt__p_wxEvent,
27389_swigt__p_wxGenericDirCtrl,
27390_swigt__p_bool,
27391_swigt__p_wxPyTreeItemData,
27392_swigt__p_wxItemContainer,
27393_swigt__p_wxDirFilterListCtrl,
27394_swigt__p_wxPyListCtrl,
27395_swigt__p_wxStaticLine,
27396_swigt__p_wxControl,
27397_swigt__p_wxPyControl,
27398_swigt__p_wxGauge,
27399_swigt__p_wxToolBarBase,
27400_swigt__p_wxFont,
27401_swigt__p_wxToggleButton,
27402_swigt__p_wxRadioButton,
27403_swigt__p_wxChoice,
423f194a 27404_swigt__p_wxMemoryDC,
d14a1e28
RD
27405_swigt__p_wxListItemAttr,
27406_swigt__p_int,
27407_swigt__p_wxSize,
423f194a 27408_swigt__p_wxDC,
d14a1e28
RD
27409_swigt__p_wxListView,
27410_swigt__p_wxIcon,
27411_swigt__p_wxTextCtrl,
27412_swigt__p_wxNotebook,
27413_swigt__p_wxNotifyEvent,
27414_swigt__p_wxArrayString,
27415_swigt__p_wxListbook,
27416_swigt__p_wxStaticBitmap,
27417_swigt__p_wxSlider,
27418_swigt__p_wxStaticBox,
27419_swigt__p_wxArrayInt,
27420_swigt__p_wxContextHelp,
27421_swigt__p_long,
27422_swigt__p_wxEvtHandler,
27423_swigt__p_wxListEvent,
27424_swigt__p_wxListBox,
27425_swigt__p_wxCheckListBox,
27426_swigt__p_wxBookCtrl,
27427_swigt__p_wxSpinButton,
27428_swigt__p_wxButton,
27429_swigt__p_wxBitmapButton,
27430_swigt__p_wxRect,
27431_swigt__p_wxContextHelpButton,
27432_swigt__p_wxRadioBox,
27433_swigt__p_wxScrollBar,
27434_swigt__p_wxTreeItemId,
27435_swigt__p_wxComboBox,
27436_swigt__p_wxHelpEvent,
27437_swigt__p_wxListItem,
27438_swigt__p_wxNotebookSizer,
423f194a 27439_swigt__p_wxGenericDragImage,
d14a1e28
RD
27440_swigt__p_wxSpinCtrl,
27441_swigt__p_wxImageList,
27442_swigt__p_wxHelpProvider,
27443_swigt__p_wxTextAttr,
27444_swigt__p_wxSimpleHelpProvider,
27445_swigt__p_wxPoint,
27446_swigt__p_wxListbookEvent,
27447_swigt__p_wxNotebookEvent,
27448_swigt__p_wxObject,
423f194a 27449_swigt__p_wxCursor,
d14a1e28
RD
27450_swigt__p_wxKeyEvent,
27451_swigt__p_wxWindow,
27452_swigt__p_wxString,
27453_swigt__p_wxBitmap,
27454_swigt__p_wxTreeEvent,
27455_swigt__p_wxMouseEvent,
27456_swigt__p_wxCommandEvent,
27457_swigt__p_wxStaticText,
27458_swigt__p_wxControlWithItems,
27459_swigt__p_wxToolBarToolBase,
27460_swigt__p_wxColour,
27461_swigt__p_wxToolBar,
27462_swigt__p_wxBookCtrlSizer,
27463_swigt__p_wxValidator,
274640
27465};
27466
27467
27468/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27469
27470static swig_const_info swig_const_table[] = {
27471{ SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27472{ SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27473{ SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27474{ SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27475{ SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27476{ SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27477{ SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27478{ SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27479{ SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27480{ SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27481{ SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27482{ SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27483{ SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27484{ SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27485{ SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27486{ SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27487{ SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27488{ SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27489{ SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27490{ SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27491{ SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27492{ SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27493{ SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27494{ SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27495{ SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27496{ SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27497{ SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27498{ SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27499{ SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27500{ SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27501{ SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27502{ SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27503{ SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27504{ SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27505{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27506{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27507{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27508{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27509{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27510{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27511{ SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27512{ SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27513{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27514{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27515{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27516{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27517{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27518{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27519{ SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27520{ SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27521{ SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27522{ SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27523{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27524{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27525{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27526{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27527{ SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27528{ SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27529{ SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27530{ SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27531{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27532{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27533{ SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27534{ SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27535{ SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27536{ SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27537{ SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27538{ SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27539{ SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27540{ SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27541{ SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27542{ SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27543{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27544{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27545{ SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27546{ SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27547{ SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27548{ SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27549{ SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27550{ SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27551{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27552{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27553{ SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27554{ SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27555{ SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27556{ SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27557{ SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27558{ SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27559{ SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27560{ SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27561{ SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27562{ SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27563{ SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27564{ SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27565{ SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27566{ SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27567{ SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27568{ SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27569{ SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27570{ SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27571{ SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27572{ SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27573{ SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27574{ SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27575{ SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27576{ SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27577{ SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27578{ SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27579{ SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27580{ SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27581{ SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27582{ SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27583{ SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27584{ SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27585{ SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27586{ SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27587{ SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27588{ SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27589{ SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27590{ SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27591{ SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27592{ SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27593{ SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27594{ SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27595{ SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27596{ SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27597{ SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27598{ SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27599{ SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27600{ SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27601{ SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27602{ SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27603{ SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27604{ SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27605{ SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27606{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27607{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27608{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27609{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27610{ SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27611{ SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27612{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27613{ SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27614{ SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27615{ SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27616{ SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27617{ SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27618{ SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27619{ SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27620{ SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27621{ SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27622{ SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27623{ SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27624{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27625{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27626{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27627{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27628{ SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27629{ SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27630{ SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27631{ SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27632{ SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27633{ SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27634{ SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27635{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27636{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27637{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27638{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27639{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27640{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27641{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27642{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27643{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27644{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27645{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27646{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27647{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27648{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27649{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27650{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27651{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27652{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27653{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27654{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27655{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27656{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27657{ SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27658{ SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27659{ SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27660{ SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27661{ SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27662{ SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27663{ SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27664{ SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27665{ SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27666{ SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27667{ SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27668{ SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27669{ SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27670{ SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27671{ SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27672{ SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27673{ SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27674{ SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27675{ SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27676{ SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27677{ SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27678{ SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27679{ SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27680{ SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27681{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27682{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27683{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27684{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27685{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27686{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27687{ SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27688{ SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27689{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27690{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27691{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27692{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27693{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27694{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27695{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27696{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27697{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27698{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27699{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27700{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27701{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27702{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27703{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27704{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27705{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27706{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27707{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27708{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27709{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27710{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27711{ SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27712{ SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27713{ SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27714{ SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27715{ SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27716{ SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27717{ SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27718{ SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27719{ SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27720{0}};
27721
27722#ifdef __cplusplus
27723}
27724#endif
27725
27726#ifdef __cplusplus
27727extern "C"
27728#endif
27729SWIGEXPORT(void) SWIG_init(void) {
27730 static PyObject *SWIG_globals = 0;
27731 static int typeinit = 0;
27732 PyObject *m, *d;
27733 int i;
27734 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27735 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27736 d = PyModule_GetDict(m);
27737
27738 if (!typeinit) {
27739 for (i = 0; swig_types_initial[i]; i++) {
27740 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27741 }
27742 typeinit = 1;
27743 }
27744 SWIG_InstallConstants(d,swig_const_table);
27745
27746 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27747 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27748 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27749 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27750 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27751 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27752 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27753 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27754 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27755 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27756 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27757 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27758 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27759 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27760 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27761 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27762 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27763 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27764 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27765 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27766 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27767 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27768 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27769 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27770 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27771 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27772 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27773 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27774 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27775 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27776 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27777 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27778
27779 // Map renamed classes back to their common name for OOR
27780 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27781
27782 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27783 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27784 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27785 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27786 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27787 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27788 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27789 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27790 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27791 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27792 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27793 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27794 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27795 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27796 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27797 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27798 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27799 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27800 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27801
27802 // Map renamed classes back to their common name for OOR
27803 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27804 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27805
27806 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27807 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
423f194a
RD
27808
27809 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
27810
d14a1e28
RD
27811}
27812