]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls_wrap.cpp
Starting to update the tarball and rpm spec files for 2.5. Mostly
[wxWidgets.git] / wxPython / src / gtk / 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
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
9d1d5697 124
d14a1e28
RD
125#endif
126
cc6dd355 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
9d1d5697 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214#define SWIGTYPE_p_wxSizer swig_types[2]
215#define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216#define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217#define SWIGTYPE_p_wxCheckBox swig_types[5]
218#define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219#define SWIGTYPE_p_wxEvent swig_types[7]
220#define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221#define SWIGTYPE_p_bool swig_types[9]
222#define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223#define SWIGTYPE_p_wxItemContainer swig_types[11]
224#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225#define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226#define SWIGTYPE_p_wxStaticLine swig_types[14]
227#define SWIGTYPE_p_wxControl swig_types[15]
228#define SWIGTYPE_p_wxPyControl swig_types[16]
229#define SWIGTYPE_p_wxGauge swig_types[17]
230#define SWIGTYPE_p_wxToolBarBase swig_types[18]
231#define SWIGTYPE_p_wxFont swig_types[19]
232#define SWIGTYPE_p_wxToggleButton swig_types[20]
233#define SWIGTYPE_p_wxRadioButton swig_types[21]
234#define SWIGTYPE_p_wxChoice swig_types[22]
e811c8ce
RD
235#define SWIGTYPE_p_wxMemoryDC swig_types[23]
236#define SWIGTYPE_p_wxListItemAttr swig_types[24]
237#define SWIGTYPE_p_int swig_types[25]
238#define SWIGTYPE_p_wxSize swig_types[26]
239#define SWIGTYPE_p_wxDC swig_types[27]
240#define SWIGTYPE_p_wxListView swig_types[28]
241#define SWIGTYPE_p_wxIcon swig_types[29]
242#define SWIGTYPE_p_wxTextCtrl swig_types[30]
243#define SWIGTYPE_p_wxNotebook swig_types[31]
244#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245#define SWIGTYPE_p_wxArrayString swig_types[33]
246#define SWIGTYPE_p_wxListbook swig_types[34]
247#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248#define SWIGTYPE_p_wxSlider swig_types[36]
249#define SWIGTYPE_p_wxStaticBox swig_types[37]
250#define SWIGTYPE_p_wxArrayInt swig_types[38]
251#define SWIGTYPE_p_wxContextHelp swig_types[39]
252#define SWIGTYPE_p_long swig_types[40]
253#define SWIGTYPE_p_wxEvtHandler swig_types[41]
254#define SWIGTYPE_p_wxListEvent swig_types[42]
255#define SWIGTYPE_p_wxListBox swig_types[43]
256#define SWIGTYPE_p_wxCheckListBox swig_types[44]
257#define SWIGTYPE_p_wxBookCtrl swig_types[45]
258#define SWIGTYPE_p_wxSpinButton swig_types[46]
259#define SWIGTYPE_p_wxButton swig_types[47]
260#define SWIGTYPE_p_wxBitmapButton swig_types[48]
261#define SWIGTYPE_p_wxRect swig_types[49]
262#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263#define SWIGTYPE_p_wxRadioBox swig_types[51]
264#define SWIGTYPE_p_wxScrollBar swig_types[52]
265#define SWIGTYPE_p_wxTreeItemId swig_types[53]
266#define SWIGTYPE_p_wxComboBox swig_types[54]
267#define SWIGTYPE_p_wxHelpEvent swig_types[55]
268#define SWIGTYPE_p_wxListItem swig_types[56]
269#define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270#define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271#define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272#define SWIGTYPE_p_wxImageList swig_types[60]
273#define SWIGTYPE_p_wxHelpProvider swig_types[61]
274#define SWIGTYPE_p_wxTextAttr swig_types[62]
275#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276#define SWIGTYPE_p_wxPoint swig_types[64]
277#define SWIGTYPE_p_wxListbookEvent swig_types[65]
278#define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279#define SWIGTYPE_p_wxObject swig_types[67]
280#define SWIGTYPE_p_wxCursor swig_types[68]
281#define SWIGTYPE_p_wxKeyEvent swig_types[69]
282#define SWIGTYPE_p_wxWindow swig_types[70]
283#define SWIGTYPE_p_wxString swig_types[71]
284#define SWIGTYPE_p_wxBitmap swig_types[72]
285#define SWIGTYPE_p_wxTreeEvent swig_types[73]
286#define SWIGTYPE_p_wxMouseEvent swig_types[74]
287#define SWIGTYPE_p_wxCommandEvent swig_types[75]
288#define SWIGTYPE_p_wxStaticText swig_types[76]
289#define SWIGTYPE_p_wxControlWithItems swig_types[77]
290#define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291#define SWIGTYPE_p_wxColour swig_types[79]
292#define SWIGTYPE_p_wxToolBar swig_types[80]
293#define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294#define SWIGTYPE_p_wxValidator swig_types[82]
295static swig_type_info *swig_types[84];
d14a1e28
RD
296
297/* -------- TYPES TABLE (END) -------- */
298
299
300/*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303#define SWIG_init init_controls
304
305#define SWIG_name "_controls"
306
307#include "wx/wxPython/wxPython.h"
308#include "wx/wxPython/pyclasses.h"
309
b2dc1044
RD
310 static const wxString wxPyPanelNameStr(wxPanelNameStr);
311 static const wxString wxPyEmptyString(wxEmptyString);
312 static const wxString wxPyControlNameStr(wxControlNameStr);
313 static const wxString wxPyButtonNameStr(wxButtonNameStr);
314 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
315 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
316 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
317 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
318 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
319 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
320 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
321
322#include <wx/checklst.h>
323
d14a1e28 324
b2dc1044 325 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
d14a1e28
RD
326void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
327 if (clientData) {
328 wxPyClientData* data = new wxPyClientData(clientData);
329 self->Insert(item, pos, data);
330 } else
331 self->Insert(item, pos);
332 }
333PyObject *wxListBox_GetSelections(wxListBox *self){
334 wxArrayInt lst;
335 self->GetSelections(lst);
336 PyObject *tup = PyTuple_New(lst.GetCount());
337 for(size_t i=0; i<lst.GetCount(); i++) {
338 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
339 }
340 return tup;
341 }
b2dc1044 342 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28
RD
343
344static PyObject* t_output_helper(PyObject* target, PyObject* o) {
345 PyObject* o2;
346 PyObject* o3;
347
348 if (!target) {
349 target = o;
350 } else if (target == Py_None) {
351 Py_DECREF(Py_None);
352 target = o;
353 } else {
354 if (!PyTuple_Check(target)) {
355 o2 = target;
356 target = PyTuple_New(1);
357 PyTuple_SetItem(target, 0, o2);
358 }
359 o3 = PyTuple_New(1);
360 PyTuple_SetItem(o3, 0, o);
361
362 o2 = target;
363 target = PySequence_Concat(o2, o3);
364 Py_DECREF(o2);
365 Py_DECREF(o3);
366 }
367 return target;
368}
369
370void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
371 self->AppendText(text);
372 }
373wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
374 return self->GetValue().Mid(from, to - from);
375 }
b2dc1044
RD
376 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
377 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 378 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
d14a1e28
RD
379void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
380 }
b2dc1044
RD
381 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
382 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
d14a1e28
RD
383int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
384int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
385int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
386
387#include <wx/slider.h>
388
d14a1e28 389
b2dc1044 390 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 391 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 392
f87da722 393#if defined(__WXMAC__) || defined(__WXX11__)
d14a1e28
RD
394// implement dummy classes and such for wxMac
395
396#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
397
398class wxToggleButton : public wxControl
399{
400public:
401 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
402 const wxPoint&, const wxSize&, long,
403 const wxValidator&, const wxString&)
39f61e25 404 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
405
406 wxToggleButton()
39f61e25 407 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
408};
409#endif
410
b2dc1044
RD
411 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
412 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
413PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
414 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
415 if (udata) {
416 Py_INCREF(udata->m_obj);
417 return udata->m_obj;
418 } else {
419 Py_INCREF(Py_None);
420 return Py_None;
421 }
422 }
423void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
424 self->SetClientData(new wxPyUserData(clientData));
425 }
426wxToolBarToolBase *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){
427 wxPyUserData* udata = NULL;
428 if (clientData && clientData != Py_None)
429 udata = new wxPyUserData(clientData);
430 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
431 shortHelp, longHelp, udata);
432 }
433wxToolBarToolBase *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){
434 wxPyUserData* udata = NULL;
435 if (clientData && clientData != Py_None)
436 udata = new wxPyUserData(clientData);
437 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
438 shortHelp, longHelp, udata);
439 }
440PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
441 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
442 if (udata) {
443 Py_INCREF(udata->m_obj);
444 return udata->m_obj;
445 } else {
446 Py_INCREF(Py_None);
447 return Py_None;
448 }
449 }
450void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
451 self->SetToolClientData(id, new wxPyUserData(clientData));
452 }
453
454#include <wx/listctrl.h>
455
d14a1e28 456
33b885b9 457 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
458void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
459 // Python aware sorting function for wxPyListCtrl
460 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
461 int retval = 0;
462 PyObject* func = (PyObject*)funcPtr;
463 wxPyBeginBlockThreads();
464
465 PyObject* args = Py_BuildValue("(ii)", item1, item2);
466 PyObject* result = PyEval_CallObject(func, args);
467 Py_DECREF(args);
468 if (result) {
469 retval = PyInt_AsLong(result);
470 Py_DECREF(result);
471 }
472
473 wxPyEndBlockThreads();
474 return retval;
475 }
476
477 // C++ Version of a Python aware class
478class wxPyListCtrl : public wxListCtrl {
479 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
480public:
481 wxPyListCtrl() : wxListCtrl() {}
482 wxPyListCtrl(wxWindow* parent, wxWindowID id,
483 const wxPoint& pos,
484 const wxSize& size,
485 long style,
486 const wxValidator& validator,
487 const wxString& name) :
488 wxListCtrl(parent, id, pos, size, style, validator, name) {}
489
490 bool Create(wxWindow* parent, wxWindowID id,
491 const wxPoint& pos,
492 const wxSize& size,
493 long style,
494 const wxValidator& validator,
495 const wxString& name) {
496 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
497 }
498
499 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
500 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
501 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
502
503 PYPRIVATE;
504};
505
506IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
507
508IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
509IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
510IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
511
512wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
513 wxListItem item;
514 item.SetMask( wxLIST_MASK_STATE |
515 wxLIST_MASK_TEXT |
516 wxLIST_MASK_IMAGE |
517 wxLIST_MASK_DATA |
518 wxLIST_SET_ITEM |
519 wxLIST_MASK_WIDTH |
520 wxLIST_MASK_FORMAT
521 );
522 if (self->GetColumn(col, item))
523 return new wxListItem(item);
524 else
525 return NULL;
526 }
527wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
528 wxListItem* info = new wxListItem;
529 info->m_itemId = itemId;
530 info->m_col = col;
531 info->m_mask = 0xFFFF;
532 self->GetItem(*info);
533 return info;
534 }
535wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
536 wxPoint pos;
537 self->GetItemPosition(item, pos);
538 return pos;
539 }
540wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
541 wxRect rect;
542 self->GetItemRect(item, rect, code);
543 return rect;
544 }
545bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
546 if (!PyCallable_Check(func))
e811c8ce 547 return False;
d14a1e28
RD
548 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
549 }
550wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
551
552
553
554 return (wxWindow*)self->m_mainWin;
555
556 }
557
558#include <wx/treectrl.h>
559#include "wx/wxPython/pytree.h"
d14a1e28 560
33b885b9 561 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
d14a1e28 562bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
e811c8ce 563 if (!other) return False;
d14a1e28
RD
564 return *self == *other;
565 }
566bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
e811c8ce 567 if (!other) return True;
d14a1e28
RD
568 return *self != *other;
569 }
570void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
571 // C++ version of Python aware wxTreeCtrl
572class wxPyTreeCtrl : public wxTreeCtrl {
573 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
574public:
575 wxPyTreeCtrl() : wxTreeCtrl() {}
576 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
577 const wxPoint& pos,
578 const wxSize& size,
579 long style,
580 const wxValidator& validator,
581 const wxString& name) :
582 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
583
584 bool Create(wxWindow *parent, wxWindowID id,
585 const wxPoint& pos,
586 const wxSize& size,
587 long style,
588 const wxValidator& validator,
589 const wxString& name) {
590 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
591 }
592
593
594 int OnCompareItems(const wxTreeItemId& item1,
595 const wxTreeItemId& item2) {
596 int rval = 0;
597 bool found;
598 wxPyBeginBlockThreads();
599 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
e811c8ce
RD
600 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
601 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
602 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
603 Py_DECREF(o1);
604 Py_DECREF(o2);
605 }
606 wxPyEndBlockThreads();
607 if (! found)
608 rval = wxTreeCtrl::OnCompareItems(item1, item2);
609 return rval;
610 }
611 PYPRIVATE;
612};
613
614IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
615
616
617wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
618 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
619 if (data == NULL) {
620 data = new wxPyTreeItemData();
621 data->SetId(item); // set the id
622 self->SetItemData(item, data);
623 }
624 return data;
625 }
626PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
627 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
628 if (data == NULL) {
629 data = new wxPyTreeItemData();
630 data->SetId(item); // set the id
631 self->SetItemData(item, data);
632 }
633 return data->GetData();
634 }
635void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
636 data->SetId(item); // set the id
637 self->SetItemData(item, data);
638 }
639void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
640 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
641 if (data == NULL) {
642 data = new wxPyTreeItemData(obj);
643 data->SetId(item); // set the id
644 self->SetItemData(item, data);
645 } else
646 data->SetData(obj);
647 }
648PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
649 wxPyBeginBlockThreads();
650 PyObject* rval = PyList_New(0);
651 wxArrayTreeItemIds array;
652 size_t num, x;
653 num = self->GetSelections(array);
654 for (x=0; x < num; x++) {
655 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
e811c8ce 656 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
657 PyList_Append(rval, item);
658 }
659 wxPyEndBlockThreads();
660 return rval;
661 }
662PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
663 wxTreeItemIdValue cookie = 0;
664 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
665 wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
e811c8ce
RD
667 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
668 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
669 wxPyEndBlockThreads();
670 return tup;
671 }
672PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
673 wxTreeItemId ritem = self->GetNextChild(item, cookie);
674 wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
e811c8ce
RD
676 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
677 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
678 wxPyEndBlockThreads();
679 return tup;
680 }
681PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
682 wxRect rect;
683 if (self->GetBoundingRect(item, rect, textOnly)) {
684 wxPyBeginBlockThreads();
685 wxRect* r = new wxRect(rect);
e811c8ce 686 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
d14a1e28
RD
687 wxPyEndBlockThreads();
688 return val;
689 }
690 else
691 RETURN_NONE();
692 }
b2dc1044 693 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
d14a1e28
RD
694 // C++ version of Python aware wxControl
695class wxPyControl : public wxControl
696{
697 DECLARE_DYNAMIC_CLASS(wxPyControl)
698public:
699 wxPyControl() : wxControl() {}
700 wxPyControl(wxWindow* parent, const wxWindowID id,
701 const wxPoint& pos = wxDefaultPosition,
702 const wxSize& size = wxDefaultSize,
703 long style = 0,
704 const wxValidator& validator=wxDefaultValidator,
705 const wxString& name = wxPyControlNameStr)
706 : wxControl(parent, id, pos, size, style, validator, name) {}
707
708
709 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
710 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
711 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
712 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
713
714 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
715 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
716 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
717
718 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
719 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
720
721 DEC_PYCALLBACK__(InitDialog);
722 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
723 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
724 DEC_PYCALLBACK_BOOL_(Validate);
725
726 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
727 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
728 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
729
730 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
731 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
732
733 PYPRIVATE;
734};
735
736IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
737
738IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
739IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
740IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
741IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
742
743IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
744IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
745IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
746
747IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
748IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
749
750IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
751IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
752IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
753IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
754
755IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
756IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
757IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
758
759IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
760IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
761
762
763
764
765void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
766
767#include <wx/generic/dragimgg.h>
768
d14a1e28
RD
769#ifdef __cplusplus
770extern "C" {
771#endif
b2dc1044
RD
772static int _wrap_ButtonNameStr_set(PyObject *_val) {
773 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
774 return 1;
775}
776
777
778static PyObject *_wrap_ButtonNameStr_get() {
779 PyObject *pyobj;
780
781 {
782#if wxUSE_UNICODE
783 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
784#else
785 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
786#endif
787 }
788 return pyobj;
789}
790
791
d14a1e28
RD
792static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
793 PyObject *resultobj;
794 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 795 int arg2 ;
d14a1e28
RD
796 wxString *arg3 = 0 ;
797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
799 wxSize const &arg5_defvalue = wxDefaultSize ;
800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
801 long arg6 = (long) 0 ;
802 wxValidator const &arg7_defvalue = wxDefaultValidator ;
803 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
804 wxString const &arg8_defvalue = wxPyButtonNameStr ;
805 wxString *arg8 = (wxString *) &arg8_defvalue ;
806 wxButton *result;
e811c8ce 807 bool temp3 = False ;
d14a1e28
RD
808 wxPoint temp4 ;
809 wxSize temp5 ;
e811c8ce 810 bool temp8 = False ;
d14a1e28
RD
811 PyObject * obj0 = 0 ;
812 PyObject * obj2 = 0 ;
813 PyObject * obj3 = 0 ;
814 PyObject * obj4 = 0 ;
815 PyObject * obj6 = 0 ;
816 PyObject * obj7 = 0 ;
817 char *kwnames[] = {
818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
819 };
820
821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
823 {
824 arg3 = wxString_in_helper(obj2);
825 if (arg3 == NULL) SWIG_fail;
e811c8ce 826 temp3 = True;
d14a1e28
RD
827 }
828 if (obj3) {
829 {
830 arg4 = &temp4;
831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
832 }
833 }
834 if (obj4) {
835 {
836 arg5 = &temp5;
837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
838 }
839 }
840 if (obj6) {
841 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
842 if (arg7 == NULL) {
843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
844 }
845 }
846 if (obj7) {
847 {
848 arg8 = wxString_in_helper(obj7);
849 if (arg8 == NULL) SWIG_fail;
e811c8ce 850 temp8 = True;
d14a1e28
RD
851 }
852 }
853 {
854 PyThreadState* __tstate = wxPyBeginAllowThreads();
855 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
856
857 wxPyEndAllowThreads(__tstate);
858 if (PyErr_Occurred()) SWIG_fail;
859 }
860 {
861 resultobj = wxPyMake_wxObject(result);
862 }
863 {
864 if (temp3)
865 delete arg3;
866 }
867 {
868 if (temp8)
869 delete arg8;
870 }
871 return resultobj;
872 fail:
873 {
874 if (temp3)
875 delete arg3;
876 }
877 {
878 if (temp8)
879 delete arg8;
880 }
881 return NULL;
882}
883
884
885static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject *resultobj;
887 wxButton *result;
888 char *kwnames[] = {
889 NULL
890 };
891
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
893 {
894 PyThreadState* __tstate = wxPyBeginAllowThreads();
895 result = (wxButton *)new wxButton();
896
897 wxPyEndAllowThreads(__tstate);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
900 {
901 resultobj = wxPyMake_wxObject(result);
902 }
903 return resultobj;
904 fail:
905 return NULL;
906}
907
908
909static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject *resultobj;
911 wxButton *arg1 = (wxButton *) 0 ;
912 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 913 int arg3 ;
d14a1e28
RD
914 wxString *arg4 = 0 ;
915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
917 wxSize const &arg6_defvalue = wxDefaultSize ;
918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
919 long arg7 = (long) 0 ;
920 wxValidator const &arg8_defvalue = wxDefaultValidator ;
921 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
922 wxString const &arg9_defvalue = wxPyButtonNameStr ;
923 wxString *arg9 = (wxString *) &arg9_defvalue ;
924 bool result;
e811c8ce 925 bool temp4 = False ;
d14a1e28
RD
926 wxPoint temp5 ;
927 wxSize temp6 ;
e811c8ce 928 bool temp9 = False ;
d14a1e28
RD
929 PyObject * obj0 = 0 ;
930 PyObject * obj1 = 0 ;
931 PyObject * obj3 = 0 ;
932 PyObject * obj4 = 0 ;
933 PyObject * obj5 = 0 ;
934 PyObject * obj7 = 0 ;
935 PyObject * obj8 = 0 ;
936 char *kwnames[] = {
937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
938 };
939
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
943 {
944 arg4 = wxString_in_helper(obj3);
945 if (arg4 == NULL) SWIG_fail;
e811c8ce 946 temp4 = True;
d14a1e28
RD
947 }
948 if (obj4) {
949 {
950 arg5 = &temp5;
951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
952 }
953 }
954 if (obj5) {
955 {
956 arg6 = &temp6;
957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
958 }
959 }
960 if (obj7) {
961 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 if (arg8 == NULL) {
963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
964 }
965 }
966 if (obj8) {
967 {
968 arg9 = wxString_in_helper(obj8);
969 if (arg9 == NULL) SWIG_fail;
e811c8ce 970 temp9 = True;
d14a1e28
RD
971 }
972 }
973 {
974 PyThreadState* __tstate = wxPyBeginAllowThreads();
975 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
976
977 wxPyEndAllowThreads(__tstate);
978 if (PyErr_Occurred()) SWIG_fail;
979 }
980 resultobj = PyInt_FromLong((long)result);
981 {
982 if (temp4)
983 delete arg4;
984 }
985 {
986 if (temp9)
987 delete arg9;
988 }
989 return resultobj;
990 fail:
991 {
992 if (temp4)
993 delete arg4;
994 }
995 {
996 if (temp9)
997 delete arg9;
998 }
999 return NULL;
1000}
1001
1002
1003static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxButton *arg1 = (wxButton *) 0 ;
1006 PyObject * obj0 = 0 ;
1007 char *kwnames[] = {
1008 (char *) "self", NULL
1009 };
1010
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1013 {
1014 PyThreadState* __tstate = wxPyBeginAllowThreads();
1015 (arg1)->SetDefault();
1016
1017 wxPyEndAllowThreads(__tstate);
1018 if (PyErr_Occurred()) SWIG_fail;
1019 }
1020 Py_INCREF(Py_None); resultobj = Py_None;
1021 return resultobj;
1022 fail:
1023 return NULL;
1024}
1025
1026
1027static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1028 PyObject *resultobj;
1029 wxSize result;
1030 char *kwnames[] = {
1031 NULL
1032 };
1033
1034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1035 {
1036 PyThreadState* __tstate = wxPyBeginAllowThreads();
1037 result = wxButton::GetDefaultSize();
1038
1039 wxPyEndAllowThreads(__tstate);
1040 if (PyErr_Occurred()) SWIG_fail;
1041 }
1042 {
1043 wxSize * resultptr;
1044 resultptr = new wxSize((wxSize &) result);
1045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1046 }
1047 return resultobj;
1048 fail:
1049 return NULL;
1050}
1051
1052
1053static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1054 PyObject *obj;
1055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1056 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1057 Py_INCREF(obj);
1058 return Py_BuildValue((char *)"");
1059}
1060static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1063 int arg2 ;
d14a1e28
RD
1064 wxBitmap *arg3 = 0 ;
1065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1067 wxSize const &arg5_defvalue = wxDefaultSize ;
1068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1069 long arg6 = (long) wxBU_AUTODRAW ;
1070 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1071 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1072 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1073 wxString *arg8 = (wxString *) &arg8_defvalue ;
1074 wxBitmapButton *result;
1075 wxPoint temp4 ;
1076 wxSize temp5 ;
e811c8ce 1077 bool temp8 = False ;
d14a1e28
RD
1078 PyObject * obj0 = 0 ;
1079 PyObject * obj2 = 0 ;
1080 PyObject * obj3 = 0 ;
1081 PyObject * obj4 = 0 ;
1082 PyObject * obj6 = 0 ;
1083 PyObject * obj7 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (arg3 == NULL) {
1092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1093 }
1094 if (obj3) {
1095 {
1096 arg4 = &temp4;
1097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1098 }
1099 }
1100 if (obj4) {
1101 {
1102 arg5 = &temp5;
1103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1104 }
1105 }
1106 if (obj6) {
1107 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if (arg7 == NULL) {
1109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1110 }
1111 }
1112 if (obj7) {
1113 {
1114 arg8 = wxString_in_helper(obj7);
1115 if (arg8 == NULL) SWIG_fail;
e811c8ce 1116 temp8 = True;
d14a1e28
RD
1117 }
1118 }
1119 {
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 {
1127 resultobj = wxPyMake_wxObject(result);
1128 }
1129 {
1130 if (temp8)
1131 delete arg8;
1132 }
1133 return resultobj;
1134 fail:
1135 {
1136 if (temp8)
1137 delete arg8;
1138 }
1139 return NULL;
1140}
1141
1142
1143static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1144 PyObject *resultobj;
1145 wxBitmapButton *result;
1146 char *kwnames[] = {
1147 NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1151 {
1152 PyThreadState* __tstate = wxPyBeginAllowThreads();
1153 result = (wxBitmapButton *)new wxBitmapButton();
1154
1155 wxPyEndAllowThreads(__tstate);
1156 if (PyErr_Occurred()) SWIG_fail;
1157 }
1158 {
1159 resultobj = wxPyMake_wxObject(result);
1160 }
1161 return resultobj;
1162 fail:
1163 return NULL;
1164}
1165
1166
1167static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1168 PyObject *resultobj;
1169 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1170 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1171 int arg3 ;
d14a1e28
RD
1172 wxBitmap *arg4 = 0 ;
1173 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1174 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1175 wxSize const &arg6_defvalue = wxDefaultSize ;
1176 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1177 long arg7 = (long) wxBU_AUTODRAW ;
1178 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1179 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1180 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1181 wxString *arg9 = (wxString *) &arg9_defvalue ;
1182 bool result;
1183 wxPoint temp5 ;
1184 wxSize temp6 ;
e811c8ce 1185 bool temp9 = False ;
d14a1e28
RD
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj3 = 0 ;
1189 PyObject * obj4 = 0 ;
1190 PyObject * obj5 = 0 ;
1191 PyObject * obj7 = 0 ;
1192 PyObject * obj8 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1201 if (arg4 == NULL) {
1202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1203 }
1204 if (obj4) {
1205 {
1206 arg5 = &temp5;
1207 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1208 }
1209 }
1210 if (obj5) {
1211 {
1212 arg6 = &temp6;
1213 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1214 }
1215 }
1216 if (obj7) {
1217 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 if (arg8 == NULL) {
1219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1220 }
1221 }
1222 if (obj8) {
1223 {
1224 arg9 = wxString_in_helper(obj8);
1225 if (arg9 == NULL) SWIG_fail;
e811c8ce 1226 temp9 = True;
d14a1e28
RD
1227 }
1228 }
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 resultobj = PyInt_FromLong((long)result);
1237 {
1238 if (temp9)
1239 delete arg9;
1240 }
1241 return resultobj;
1242 fail:
1243 {
1244 if (temp9)
1245 delete arg9;
1246 }
1247 return NULL;
1248}
1249
1250
1251static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1254 wxBitmap result;
1255 PyObject * obj0 = 0 ;
1256 char *kwnames[] = {
1257 (char *) "self", NULL
1258 };
1259
1260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (arg1)->GetBitmapLabel();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 {
1270 wxBitmap * resultptr;
1271 resultptr = new wxBitmap((wxBitmap &) result);
1272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1273 }
1274 return resultobj;
1275 fail:
1276 return NULL;
1277}
1278
1279
1280static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1281 PyObject *resultobj;
1282 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1283 wxBitmap result;
1284 PyObject * obj0 = 0 ;
1285 char *kwnames[] = {
1286 (char *) "self", NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1291 {
1292 PyThreadState* __tstate = wxPyBeginAllowThreads();
1293 result = (arg1)->GetBitmapDisabled();
1294
1295 wxPyEndAllowThreads(__tstate);
1296 if (PyErr_Occurred()) SWIG_fail;
1297 }
1298 {
1299 wxBitmap * resultptr;
1300 resultptr = new wxBitmap((wxBitmap &) result);
1301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1302 }
1303 return resultobj;
1304 fail:
1305 return NULL;
1306}
1307
1308
1309static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1310 PyObject *resultobj;
1311 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1312 wxBitmap result;
1313 PyObject * obj0 = 0 ;
1314 char *kwnames[] = {
1315 (char *) "self", NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320 {
1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
1322 result = (arg1)->GetBitmapFocus();
1323
1324 wxPyEndAllowThreads(__tstate);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 {
1328 wxBitmap * resultptr;
1329 resultptr = new wxBitmap((wxBitmap &) result);
1330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1331 }
1332 return resultobj;
1333 fail:
1334 return NULL;
1335}
1336
1337
1338static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1341 wxBitmap result;
1342 PyObject * obj0 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (arg1)->GetBitmapSelected();
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 {
1357 wxBitmap * resultptr;
1358 resultptr = new wxBitmap((wxBitmap &) result);
1359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1360 }
1361 return resultobj;
1362 fail:
1363 return NULL;
1364}
1365
1366
1367static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1370 wxBitmap *arg2 = 0 ;
1371 PyObject * obj0 = 0 ;
1372 PyObject * obj1 = 0 ;
1373 char *kwnames[] = {
1374 (char *) "self",(char *) "bitmap", NULL
1375 };
1376
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1380 if (arg2 == NULL) {
1381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1382 }
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) SWIG_fail;
1389 }
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 return resultobj;
1392 fail:
1393 return NULL;
1394}
1395
1396
1397static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1400 wxBitmap *arg2 = 0 ;
1401 PyObject * obj0 = 0 ;
1402 PyObject * obj1 = 0 ;
1403 char *kwnames[] = {
1404 (char *) "self",(char *) "bitmap", NULL
1405 };
1406
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1410 if (arg2 == NULL) {
1411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1412 }
1413 {
1414 PyThreadState* __tstate = wxPyBeginAllowThreads();
1415 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1416
1417 wxPyEndAllowThreads(__tstate);
1418 if (PyErr_Occurred()) SWIG_fail;
1419 }
1420 Py_INCREF(Py_None); resultobj = Py_None;
1421 return resultobj;
1422 fail:
1423 return NULL;
1424}
1425
1426
1427static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1430 wxBitmap *arg2 = 0 ;
1431 PyObject * obj0 = 0 ;
1432 PyObject * obj1 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "bitmap", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1440 if (arg2 == NULL) {
1441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1442 }
1443 {
1444 PyThreadState* __tstate = wxPyBeginAllowThreads();
1445 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1446
1447 wxPyEndAllowThreads(__tstate);
1448 if (PyErr_Occurred()) SWIG_fail;
1449 }
1450 Py_INCREF(Py_None); resultobj = Py_None;
1451 return resultobj;
1452 fail:
1453 return NULL;
1454}
1455
1456
1457static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1460 wxBitmap *arg2 = 0 ;
1461 PyObject * obj0 = 0 ;
1462 PyObject * obj1 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self",(char *) "bitmap", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1470 if (arg2 == NULL) {
1471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1472 }
1473 {
1474 PyThreadState* __tstate = wxPyBeginAllowThreads();
1475 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1476
1477 wxPyEndAllowThreads(__tstate);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 Py_INCREF(Py_None); resultobj = Py_None;
1481 return resultobj;
1482 fail:
1483 return NULL;
1484}
1485
1486
1487static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1490 int arg2 ;
1491 int arg3 ;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self",(char *) "x",(char *) "y", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 (arg1)->SetMargins(arg2,arg3);
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 Py_INCREF(Py_None); resultobj = Py_None;
1507 return resultobj;
1508 fail:
1509 return NULL;
1510}
1511
1512
1513static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject *resultobj;
1515 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1516 int result;
1517 PyObject * obj0 = 0 ;
1518 char *kwnames[] = {
1519 (char *) "self", NULL
1520 };
1521
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 resultobj = PyInt_FromLong((long)result);
1532 return resultobj;
1533 fail:
1534 return NULL;
1535}
1536
1537
1538static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1539 PyObject *resultobj;
1540 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1541 int result;
1542 PyObject * obj0 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "self", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1549 {
1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
1551 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1552
1553 wxPyEndAllowThreads(__tstate);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 resultobj = PyInt_FromLong((long)result);
1557 return resultobj;
1558 fail:
1559 return NULL;
1560}
1561
1562
1563static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1564 PyObject *obj;
1565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1566 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1567 Py_INCREF(obj);
1568 return Py_BuildValue((char *)"");
1569}
b2dc1044
RD
1570static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1571 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1572 return 1;
1573}
1574
1575
1576static PyObject *_wrap_CheckBoxNameStr_get() {
1577 PyObject *pyobj;
1578
1579 {
1580#if wxUSE_UNICODE
1581 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1582#else
1583 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1584#endif
1585 }
1586 return pyobj;
1587}
1588
1589
d14a1e28
RD
1590static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1593 int arg2 ;
d14a1e28
RD
1594 wxString *arg3 = 0 ;
1595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1597 wxSize const &arg5_defvalue = wxDefaultSize ;
1598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1599 long arg6 = (long) 0 ;
1600 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1601 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1602 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1603 wxString *arg8 = (wxString *) &arg8_defvalue ;
1604 wxCheckBox *result;
e811c8ce 1605 bool temp3 = False ;
d14a1e28
RD
1606 wxPoint temp4 ;
1607 wxSize temp5 ;
e811c8ce 1608 bool temp8 = False ;
d14a1e28
RD
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj2 = 0 ;
1611 PyObject * obj3 = 0 ;
1612 PyObject * obj4 = 0 ;
1613 PyObject * obj6 = 0 ;
1614 PyObject * obj7 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621 {
1622 arg3 = wxString_in_helper(obj2);
1623 if (arg3 == NULL) SWIG_fail;
e811c8ce 1624 temp3 = True;
d14a1e28
RD
1625 }
1626 if (obj3) {
1627 {
1628 arg4 = &temp4;
1629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1630 }
1631 }
1632 if (obj4) {
1633 {
1634 arg5 = &temp5;
1635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1636 }
1637 }
1638 if (obj6) {
1639 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1640 if (arg7 == NULL) {
1641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1642 }
1643 }
1644 if (obj7) {
1645 {
1646 arg8 = wxString_in_helper(obj7);
1647 if (arg8 == NULL) SWIG_fail;
e811c8ce 1648 temp8 = True;
d14a1e28
RD
1649 }
1650 }
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1659 {
1660 if (temp3)
1661 delete arg3;
1662 }
1663 {
1664 if (temp8)
1665 delete arg8;
1666 }
1667 return resultobj;
1668 fail:
1669 {
1670 if (temp3)
1671 delete arg3;
1672 }
1673 {
1674 if (temp8)
1675 delete arg8;
1676 }
1677 return NULL;
1678}
1679
1680
1681static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxCheckBox *result;
1684 char *kwnames[] = {
1685 NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (wxCheckBox *)new wxCheckBox();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1697 return resultobj;
1698 fail:
1699 return NULL;
1700}
1701
1702
1703static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1706 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1707 int arg3 ;
d14a1e28
RD
1708 wxString *arg4 = 0 ;
1709 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1710 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1711 wxSize const &arg6_defvalue = wxDefaultSize ;
1712 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1713 long arg7 = (long) 0 ;
1714 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1715 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1716 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1717 wxString *arg9 = (wxString *) &arg9_defvalue ;
1718 bool result;
e811c8ce 1719 bool temp4 = False ;
d14a1e28
RD
1720 wxPoint temp5 ;
1721 wxSize temp6 ;
e811c8ce 1722 bool temp9 = False ;
d14a1e28
RD
1723 PyObject * obj0 = 0 ;
1724 PyObject * obj1 = 0 ;
1725 PyObject * obj3 = 0 ;
1726 PyObject * obj4 = 0 ;
1727 PyObject * obj5 = 0 ;
1728 PyObject * obj7 = 0 ;
1729 PyObject * obj8 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1737 {
1738 arg4 = wxString_in_helper(obj3);
1739 if (arg4 == NULL) SWIG_fail;
e811c8ce 1740 temp4 = True;
d14a1e28
RD
1741 }
1742 if (obj4) {
1743 {
1744 arg5 = &temp5;
1745 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1746 }
1747 }
1748 if (obj5) {
1749 {
1750 arg6 = &temp6;
1751 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1752 }
1753 }
1754 if (obj7) {
1755 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1756 if (arg8 == NULL) {
1757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1758 }
1759 }
1760 if (obj8) {
1761 {
1762 arg9 = wxString_in_helper(obj8);
1763 if (arg9 == NULL) SWIG_fail;
e811c8ce 1764 temp9 = True;
d14a1e28
RD
1765 }
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 resultobj = PyInt_FromLong((long)result);
1775 {
1776 if (temp4)
1777 delete arg4;
1778 }
1779 {
1780 if (temp9)
1781 delete arg9;
1782 }
1783 return resultobj;
1784 fail:
1785 {
1786 if (temp4)
1787 delete arg4;
1788 }
1789 {
1790 if (temp9)
1791 delete arg9;
1792 }
1793 return NULL;
1794}
1795
1796
1797static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1800 bool result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (bool)(arg1)->GetValue();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyInt_FromLong((long)result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819}
1820
1821
1822static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1825 bool result;
1826 PyObject * obj0 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (bool)(arg1)->IsChecked();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 resultobj = PyInt_FromLong((long)result);
1841 return resultobj;
1842 fail:
1843 return NULL;
1844}
1845
1846
1847static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1848 PyObject *resultobj;
1849 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1850 bool arg2 ;
1851 PyObject * obj0 = 0 ;
1852 PyObject * obj1 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self",(char *) "state", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 arg2 = PyInt_AsLong(obj1) ? true : false;
1860 if (PyErr_Occurred()) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 (arg1)->SetValue(arg2);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 return resultobj;
1870 fail:
1871 return NULL;
1872}
1873
1874
1875static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 return resultobj;
1895 fail:
1896 return NULL;
1897}
1898
1899
1900static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1903 int arg2 ;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 Py_INCREF(Py_None); resultobj = Py_None;
1919 return resultobj;
1920 fail:
1921 return NULL;
1922}
1923
1924
1925static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1928 bool result;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = PyInt_FromLong((long)result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947}
1948
1949
1950static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1953 bool result;
1954 PyObject * obj0 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 resultobj = PyInt_FromLong((long)result);
1969 return resultobj;
1970 fail:
1971 return NULL;
1972}
1973
1974
1975static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1976 PyObject *obj;
1977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1979 Py_INCREF(obj);
1980 return Py_BuildValue((char *)"");
1981}
b2dc1044
RD
1982static int _wrap_ChoiceNameStr_set(PyObject *_val) {
1983 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
1984 return 1;
1985}
1986
1987
1988static PyObject *_wrap_ChoiceNameStr_get() {
1989 PyObject *pyobj;
1990
1991 {
1992#if wxUSE_UNICODE
1993 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1994#else
1995 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
1996#endif
1997 }
1998 return pyobj;
1999}
2000
2001
d14a1e28
RD
2002static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2005 int arg2 ;
d14a1e28
RD
2006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2008 wxSize const &arg4_defvalue = wxDefaultSize ;
2009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2010 int arg5 = (int) 0 ;
2011 wxString *arg6 = (wxString *) NULL ;
2012 long arg7 = (long) 0 ;
2013 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2014 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2015 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2016 wxString *arg9 = (wxString *) &arg9_defvalue ;
2017 wxChoice *result;
2018 wxPoint temp3 ;
2019 wxSize temp4 ;
e811c8ce 2020 bool temp8 = False ;
d14a1e28
RD
2021 PyObject * obj0 = 0 ;
2022 PyObject * obj2 = 0 ;
2023 PyObject * obj3 = 0 ;
2024 PyObject * obj4 = 0 ;
2025 PyObject * obj6 = 0 ;
2026 PyObject * obj7 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2033 if (obj2) {
2034 {
2035 arg3 = &temp3;
2036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2037 }
2038 }
2039 if (obj3) {
2040 {
2041 arg4 = &temp4;
2042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2043 }
2044 }
2045 if (obj4) {
2046 {
2047 arg5 = PyList_Size(obj4);
2048 arg6 = wxString_LIST_helper(obj4);
2049 if (arg6 == NULL) SWIG_fail;
2050 }
2051 }
2052 if (obj6) {
2053 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2054 if (arg8 == NULL) {
2055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2056 }
2057 }
2058 if (obj7) {
2059 {
2060 arg9 = wxString_in_helper(obj7);
2061 if (arg9 == NULL) SWIG_fail;
e811c8ce 2062 temp8 = True;
d14a1e28
RD
2063 }
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) SWIG_fail;
2071 }
2072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2073 {
2074 if (arg6) delete [] arg6;
2075 }
2076 {
2077 if (temp8)
2078 delete arg9;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (arg6) delete [] arg6;
2084 }
2085 {
2086 if (temp8)
2087 delete arg9;
2088 }
2089 return NULL;
2090}
2091
2092
2093static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxChoice *result;
2096 char *kwnames[] = {
2097 NULL
2098 };
2099
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = (wxChoice *)new wxChoice();
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2109 return resultobj;
2110 fail:
2111 return NULL;
2112}
2113
2114
2115static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject *resultobj;
2117 wxChoice *arg1 = (wxChoice *) 0 ;
2118 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2119 int arg3 ;
d14a1e28
RD
2120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2122 wxSize const &arg5_defvalue = wxDefaultSize ;
2123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2124 int arg6 = (int) 0 ;
2125 wxString *arg7 = (wxString *) NULL ;
2126 long arg8 = (long) 0 ;
2127 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2128 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2129 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2130 wxString *arg10 = (wxString *) &arg10_defvalue ;
2131 bool result;
2132 wxPoint temp4 ;
2133 wxSize temp5 ;
e811c8ce 2134 bool temp9 = False ;
d14a1e28
RD
2135 PyObject * obj0 = 0 ;
2136 PyObject * obj1 = 0 ;
2137 PyObject * obj3 = 0 ;
2138 PyObject * obj4 = 0 ;
2139 PyObject * obj5 = 0 ;
2140 PyObject * obj7 = 0 ;
2141 PyObject * obj8 = 0 ;
2142 char *kwnames[] = {
2143 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 if (obj3) {
2150 {
2151 arg4 = &temp4;
2152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2153 }
2154 }
2155 if (obj4) {
2156 {
2157 arg5 = &temp5;
2158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2159 }
2160 }
2161 if (obj5) {
2162 {
2163 arg6 = PyList_Size(obj5);
2164 arg7 = wxString_LIST_helper(obj5);
2165 if (arg7 == NULL) SWIG_fail;
2166 }
2167 }
2168 if (obj7) {
2169 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 if (arg9 == NULL) {
2171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2172 }
2173 }
2174 if (obj8) {
2175 {
2176 arg10 = wxString_in_helper(obj8);
2177 if (arg10 == NULL) SWIG_fail;
e811c8ce 2178 temp9 = True;
d14a1e28
RD
2179 }
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) SWIG_fail;
2187 }
2188 resultobj = PyInt_FromLong((long)result);
2189 {
2190 if (arg7) delete [] arg7;
2191 }
2192 {
2193 if (temp9)
2194 delete arg10;
2195 }
2196 return resultobj;
2197 fail:
2198 {
2199 if (arg7) delete [] arg7;
2200 }
2201 {
2202 if (temp9)
2203 delete arg10;
2204 }
2205 return NULL;
2206}
2207
2208
2209static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxChoice *arg1 = (wxChoice *) 0 ;
2212 int result;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (int)(arg1)->GetColumns();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
2234static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int arg2 = (int) (int)1 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "n", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetColumns(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 int arg2 ;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self",(char *) "n", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetSelection(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
2284static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxChoice *arg1 = (wxChoice *) 0 ;
2287 wxString *arg2 = 0 ;
e811c8ce 2288 bool temp2 = False ;
d14a1e28
RD
2289 PyObject * obj0 = 0 ;
2290 PyObject * obj1 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self",(char *) "string", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 {
2298 arg2 = wxString_in_helper(obj1);
2299 if (arg2 == NULL) SWIG_fail;
e811c8ce 2300 temp2 = True;
d14a1e28
RD
2301 }
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetStringSelection((wxString const &)*arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 {
2311 if (temp2)
2312 delete arg2;
2313 }
2314 return resultobj;
2315 fail:
2316 {
2317 if (temp2)
2318 delete arg2;
2319 }
2320 return NULL;
2321}
2322
2323
2324static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxChoice *arg1 = (wxChoice *) 0 ;
2327 int arg2 ;
2328 wxString *arg3 = 0 ;
e811c8ce 2329 bool temp3 = False ;
d14a1e28
RD
2330 PyObject * obj0 = 0 ;
2331 PyObject * obj2 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self",(char *) "n",(char *) "s", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338 {
2339 arg3 = wxString_in_helper(obj2);
2340 if (arg3 == NULL) SWIG_fail;
e811c8ce 2341 temp3 = True;
d14a1e28
RD
2342 }
2343 {
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 (arg1)->SetString(arg2,(wxString const &)*arg3);
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 Py_INCREF(Py_None); resultobj = Py_None;
2351 {
2352 if (temp3)
2353 delete arg3;
2354 }
2355 return resultobj;
2356 fail:
2357 {
2358 if (temp3)
2359 delete arg3;
2360 }
2361 return NULL;
2362}
2363
2364
2365static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2366 PyObject *obj;
2367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2368 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2369 Py_INCREF(obj);
2370 return Py_BuildValue((char *)"");
2371}
b2dc1044
RD
2372static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2373 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2374 return 1;
2375}
2376
2377
2378static PyObject *_wrap_ComboBoxNameStr_get() {
2379 PyObject *pyobj;
2380
2381 {
2382#if wxUSE_UNICODE
2383 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2384#else
2385 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2386#endif
2387 }
2388 return pyobj;
2389}
2390
2391
d14a1e28
RD
2392static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2395 int arg2 ;
d14a1e28
RD
2396 wxString const &arg3_defvalue = wxPyEmptyString ;
2397 wxString *arg3 = (wxString *) &arg3_defvalue ;
2398 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2399 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2400 wxSize const &arg5_defvalue = wxDefaultSize ;
2401 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2402 int arg6 = (int) 0 ;
2403 wxString *arg7 = (wxString *) NULL ;
2404 long arg8 = (long) 0 ;
2405 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2406 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2407 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2408 wxString *arg10 = (wxString *) &arg10_defvalue ;
2409 wxComboBox *result;
e811c8ce 2410 bool temp3 = False ;
d14a1e28
RD
2411 wxPoint temp4 ;
2412 wxSize temp5 ;
e811c8ce 2413 bool temp9 = False ;
d14a1e28
RD
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj2 = 0 ;
2416 PyObject * obj3 = 0 ;
2417 PyObject * obj4 = 0 ;
2418 PyObject * obj5 = 0 ;
2419 PyObject * obj7 = 0 ;
2420 PyObject * obj8 = 0 ;
2421 char *kwnames[] = {
2422 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2423 };
2424
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427 if (obj2) {
2428 {
2429 arg3 = wxString_in_helper(obj2);
2430 if (arg3 == NULL) SWIG_fail;
e811c8ce 2431 temp3 = True;
d14a1e28
RD
2432 }
2433 }
2434 if (obj3) {
2435 {
2436 arg4 = &temp4;
2437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2438 }
2439 }
2440 if (obj4) {
2441 {
2442 arg5 = &temp5;
2443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2444 }
2445 }
2446 if (obj5) {
2447 {
2448 arg6 = PyList_Size(obj5);
2449 arg7 = wxString_LIST_helper(obj5);
2450 if (arg7 == NULL) SWIG_fail;
2451 }
2452 }
2453 if (obj7) {
2454 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if (arg9 == NULL) {
2456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2457 }
2458 }
2459 if (obj8) {
2460 {
2461 arg10 = wxString_in_helper(obj8);
2462 if (arg10 == NULL) SWIG_fail;
e811c8ce 2463 temp9 = True;
d14a1e28
RD
2464 }
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2474 {
2475 if (temp3)
2476 delete arg3;
2477 }
2478 {
2479 if (arg7) delete [] arg7;
2480 }
2481 {
2482 if (temp9)
2483 delete arg10;
2484 }
2485 return resultobj;
2486 fail:
2487 {
2488 if (temp3)
2489 delete arg3;
2490 }
2491 {
2492 if (arg7) delete [] arg7;
2493 }
2494 {
2495 if (temp9)
2496 delete arg10;
2497 }
2498 return NULL;
2499}
2500
2501
2502static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2503 PyObject *resultobj;
2504 wxComboBox *result;
2505 char *kwnames[] = {
2506 NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 result = (wxComboBox *)new wxComboBox();
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2518 return resultobj;
2519 fail:
2520 return NULL;
2521}
2522
2523
2524static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxComboBox *arg1 = (wxComboBox *) 0 ;
2527 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2528 int arg3 ;
d14a1e28
RD
2529 wxString const &arg4_defvalue = wxPyEmptyString ;
2530 wxString *arg4 = (wxString *) &arg4_defvalue ;
2531 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2532 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2533 wxSize const &arg6_defvalue = wxDefaultSize ;
2534 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2535 int arg7 = (int) 0 ;
2536 wxString *arg8 = (wxString *) NULL ;
2537 long arg9 = (long) 0 ;
2538 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2539 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2540 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2541 wxString *arg11 = (wxString *) &arg11_defvalue ;
2542 bool result;
e811c8ce 2543 bool temp4 = False ;
d14a1e28
RD
2544 wxPoint temp5 ;
2545 wxSize temp6 ;
e811c8ce 2546 bool temp10 = False ;
d14a1e28
RD
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj3 = 0 ;
2550 PyObject * obj4 = 0 ;
2551 PyObject * obj5 = 0 ;
2552 PyObject * obj6 = 0 ;
2553 PyObject * obj8 = 0 ;
2554 PyObject * obj9 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 if (obj3) {
2563 {
2564 arg4 = wxString_in_helper(obj3);
2565 if (arg4 == NULL) SWIG_fail;
e811c8ce 2566 temp4 = True;
d14a1e28
RD
2567 }
2568 }
2569 if (obj4) {
2570 {
2571 arg5 = &temp5;
2572 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2573 }
2574 }
2575 if (obj5) {
2576 {
2577 arg6 = &temp6;
2578 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2579 }
2580 }
2581 if (obj6) {
2582 {
2583 arg7 = PyList_Size(obj6);
2584 arg8 = wxString_LIST_helper(obj6);
2585 if (arg8 == NULL) SWIG_fail;
2586 }
2587 }
2588 if (obj8) {
2589 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2590 if (arg10 == NULL) {
2591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2592 }
2593 }
2594 if (obj9) {
2595 {
2596 arg11 = wxString_in_helper(obj9);
2597 if (arg11 == NULL) SWIG_fail;
e811c8ce 2598 temp10 = True;
d14a1e28
RD
2599 }
2600 }
2601 {
2602 PyThreadState* __tstate = wxPyBeginAllowThreads();
2603 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2604
2605 wxPyEndAllowThreads(__tstate);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 resultobj = PyInt_FromLong((long)result);
2609 {
2610 if (temp4)
2611 delete arg4;
2612 }
2613 {
2614 if (arg8) delete [] arg8;
2615 }
2616 {
2617 if (temp10)
2618 delete arg11;
2619 }
2620 return resultobj;
2621 fail:
2622 {
2623 if (temp4)
2624 delete arg4;
2625 }
2626 {
2627 if (arg8) delete [] arg8;
2628 }
2629 {
2630 if (temp10)
2631 delete arg11;
2632 }
2633 return NULL;
2634}
2635
2636
2637static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxComboBox *arg1 = (wxComboBox *) 0 ;
2640 wxString result;
2641 PyObject * obj0 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = ((wxComboBox const *)arg1)->GetValue();
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 {
2656#if wxUSE_UNICODE
2657 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2658#else
2659 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2660#endif
2661 }
2662 return resultobj;
2663 fail:
2664 return NULL;
2665}
2666
2667
2668static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxComboBox *arg1 = (wxComboBox *) 0 ;
2671 wxString *arg2 = 0 ;
e811c8ce 2672 bool temp2 = False ;
d14a1e28
RD
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "value", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 {
2682 arg2 = wxString_in_helper(obj1);
2683 if (arg2 == NULL) SWIG_fail;
e811c8ce 2684 temp2 = True;
d14a1e28
RD
2685 }
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 (arg1)->SetValue((wxString const &)*arg2);
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 Py_INCREF(Py_None); resultobj = Py_None;
2694 {
2695 if (temp2)
2696 delete arg2;
2697 }
2698 return resultobj;
2699 fail:
2700 {
2701 if (temp2)
2702 delete arg2;
2703 }
2704 return NULL;
2705}
2706
2707
2708static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj;
2710 wxComboBox *arg1 = (wxComboBox *) 0 ;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 (arg1)->Copy();
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
2725 Py_INCREF(Py_None); resultobj = Py_None;
2726 return resultobj;
2727 fail:
2728 return NULL;
2729}
2730
2731
2732static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxComboBox *arg1 = (wxComboBox *) 0 ;
2735 PyObject * obj0 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->Cut();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753}
2754
2755
2756static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxComboBox *arg1 = (wxComboBox *) 0 ;
2759 PyObject * obj0 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 (arg1)->Paste();
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 Py_INCREF(Py_None); resultobj = Py_None;
2774 return resultobj;
2775 fail:
2776 return NULL;
2777}
2778
2779
2780static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxComboBox *arg1 = (wxComboBox *) 0 ;
2783 long arg2 ;
2784 PyObject * obj0 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "self",(char *) "pos", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 (arg1)->SetInsertionPoint(arg2);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 Py_INCREF(Py_None); resultobj = Py_None;
2799 return resultobj;
2800 fail:
2801 return NULL;
2802}
2803
2804
2805static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxComboBox *arg1 = (wxComboBox *) 0 ;
2808 long result;
2809 PyObject * obj0 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "self", NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 resultobj = PyInt_FromLong((long)result);
2824 return resultobj;
2825 fail:
2826 return NULL;
2827}
2828
2829
2830static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxComboBox *arg1 = (wxComboBox *) 0 ;
2833 long result;
2834 PyObject * obj0 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 resultobj = PyInt_FromLong((long)result);
2849 return resultobj;
2850 fail:
2851 return NULL;
2852}
2853
2854
2855static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2856 PyObject *resultobj;
2857 wxComboBox *arg1 = (wxComboBox *) 0 ;
2858 long arg2 ;
2859 long arg3 ;
2860 wxString *arg4 = 0 ;
e811c8ce 2861 bool temp4 = False ;
d14a1e28
RD
2862 PyObject * obj0 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2870 {
2871 arg4 = wxString_in_helper(obj3);
2872 if (arg4 == NULL) SWIG_fail;
e811c8ce 2873 temp4 = True;
d14a1e28
RD
2874 }
2875 {
2876 PyThreadState* __tstate = wxPyBeginAllowThreads();
2877 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2878
2879 wxPyEndAllowThreads(__tstate);
2880 if (PyErr_Occurred()) SWIG_fail;
2881 }
2882 Py_INCREF(Py_None); resultobj = Py_None;
2883 {
2884 if (temp4)
2885 delete arg4;
2886 }
2887 return resultobj;
2888 fail:
2889 {
2890 if (temp4)
2891 delete arg4;
2892 }
2893 return NULL;
2894}
2895
2896
fd3f2efe
RD
2897static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxComboBox *arg1 = (wxComboBox *) 0 ;
2900 int arg2 ;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "n", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 (arg1)->SetSelection(arg2);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 Py_INCREF(Py_None); resultobj = Py_None;
2916 return resultobj;
2917 fail:
2918 return NULL;
2919}
2920
2921
d14a1e28
RD
2922static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxComboBox *arg1 = (wxComboBox *) 0 ;
2925 long arg2 ;
2926 long arg3 ;
2927 PyObject * obj0 = 0 ;
2928 char *kwnames[] = {
2929 (char *) "self",(char *) "from",(char *) "to", NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2934 {
2935 PyThreadState* __tstate = wxPyBeginAllowThreads();
2936 (arg1)->SetSelection(arg2,arg3);
2937
2938 wxPyEndAllowThreads(__tstate);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 Py_INCREF(Py_None); resultobj = Py_None;
2942 return resultobj;
2943 fail:
2944 return NULL;
2945}
2946
2947
2948static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxComboBox *arg1 = (wxComboBox *) 0 ;
2951 bool arg2 ;
2952 PyObject * obj0 = 0 ;
2953 PyObject * obj1 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "editable", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 arg2 = PyInt_AsLong(obj1) ? true : false;
2961 if (PyErr_Occurred()) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetEditable(arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
2976static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxComboBox *arg1 = (wxComboBox *) 0 ;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 (arg1)->SetInsertionPointEnd();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 Py_INCREF(Py_None); resultobj = Py_None;
2994 return resultobj;
2995 fail:
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxComboBox *arg1 = (wxComboBox *) 0 ;
3003 long arg2 ;
3004 long arg3 ;
3005 PyObject * obj0 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "self",(char *) "from",(char *) "to", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->Remove(arg2,arg3);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023}
3024
3025
3026static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3027 PyObject *obj;
3028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3029 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3030 Py_INCREF(obj);
3031 return Py_BuildValue((char *)"");
3032}
b2dc1044
RD
3033static int _wrap_GaugeNameStr_set(PyObject *_val) {
3034 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3035 return 1;
3036}
3037
3038
3039static PyObject *_wrap_GaugeNameStr_get() {
3040 PyObject *pyobj;
3041
3042 {
3043#if wxUSE_UNICODE
3044 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3045#else
3046 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3047#endif
3048 }
3049 return pyobj;
3050}
3051
3052
d14a1e28
RD
3053static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3056 int arg2 ;
d14a1e28
RD
3057 int arg3 ;
3058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3060 wxSize const &arg5_defvalue = wxDefaultSize ;
3061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3062 long arg6 = (long) wxGA_HORIZONTAL ;
3063 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3064 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3065 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3066 wxString *arg8 = (wxString *) &arg8_defvalue ;
3067 wxGauge *result;
3068 wxPoint temp4 ;
3069 wxSize temp5 ;
e811c8ce 3070 bool temp8 = False ;
d14a1e28
RD
3071 PyObject * obj0 = 0 ;
3072 PyObject * obj3 = 0 ;
3073 PyObject * obj4 = 0 ;
3074 PyObject * obj6 = 0 ;
3075 PyObject * obj7 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3082 if (obj3) {
3083 {
3084 arg4 = &temp4;
3085 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3086 }
3087 }
3088 if (obj4) {
3089 {
3090 arg5 = &temp5;
3091 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3092 }
3093 }
3094 if (obj6) {
3095 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3096 if (arg7 == NULL) {
3097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3098 }
3099 }
3100 if (obj7) {
3101 {
3102 arg8 = wxString_in_helper(obj7);
3103 if (arg8 == NULL) SWIG_fail;
e811c8ce 3104 temp8 = True;
d14a1e28
RD
3105 }
3106 }
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3115 {
3116 if (temp8)
3117 delete arg8;
3118 }
3119 return resultobj;
3120 fail:
3121 {
3122 if (temp8)
3123 delete arg8;
3124 }
3125 return NULL;
3126}
3127
3128
3129static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxGauge *result;
3132 char *kwnames[] = {
3133 NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 result = (wxGauge *)new wxGauge();
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3145 return resultobj;
3146 fail:
3147 return NULL;
3148}
3149
3150
3151static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxGauge *arg1 = (wxGauge *) 0 ;
3154 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3155 int arg3 ;
d14a1e28
RD
3156 int arg4 ;
3157 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3158 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3159 wxSize const &arg6_defvalue = wxDefaultSize ;
3160 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3161 long arg7 = (long) wxGA_HORIZONTAL ;
3162 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3163 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3164 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3165 wxString *arg9 = (wxString *) &arg9_defvalue ;
3166 bool result;
3167 wxPoint temp5 ;
3168 wxSize temp6 ;
e811c8ce 3169 bool temp9 = False ;
d14a1e28
RD
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 PyObject * obj4 = 0 ;
3173 PyObject * obj5 = 0 ;
3174 PyObject * obj7 = 0 ;
3175 PyObject * obj8 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if (obj4) {
3184 {
3185 arg5 = &temp5;
3186 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3187 }
3188 }
3189 if (obj5) {
3190 {
3191 arg6 = &temp6;
3192 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3193 }
3194 }
3195 if (obj7) {
3196 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 if (arg8 == NULL) {
3198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3199 }
3200 }
3201 if (obj8) {
3202 {
3203 arg9 = wxString_in_helper(obj8);
3204 if (arg9 == NULL) SWIG_fail;
e811c8ce 3205 temp9 = True;
d14a1e28
RD
3206 }
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 resultobj = PyInt_FromLong((long)result);
3216 {
3217 if (temp9)
3218 delete arg9;
3219 }
3220 return resultobj;
3221 fail:
3222 {
3223 if (temp9)
3224 delete arg9;
3225 }
3226 return NULL;
3227}
3228
3229
3230static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxGauge *arg1 = (wxGauge *) 0 ;
3233 int arg2 ;
3234 PyObject * obj0 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "range", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3241 {
3242 PyThreadState* __tstate = wxPyBeginAllowThreads();
3243 (arg1)->SetRange(arg2);
3244
3245 wxPyEndAllowThreads(__tstate);
3246 if (PyErr_Occurred()) SWIG_fail;
3247 }
3248 Py_INCREF(Py_None); resultobj = Py_None;
3249 return resultobj;
3250 fail:
3251 return NULL;
3252}
3253
3254
3255static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxGauge *arg1 = (wxGauge *) 0 ;
3258 int result;
3259 PyObject * obj0 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = (int)((wxGauge const *)arg1)->GetRange();
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 resultobj = PyInt_FromLong((long)result);
3274 return resultobj;
3275 fail:
3276 return NULL;
3277}
3278
3279
3280static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxGauge *arg1 = (wxGauge *) 0 ;
3283 int arg2 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "pos", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 (arg1)->SetValue(arg2);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 Py_INCREF(Py_None); resultobj = Py_None;
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxGauge *arg1 = (wxGauge *) 0 ;
3308 int result;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (int)((wxGauge const *)arg1)->GetValue();
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 resultobj = PyInt_FromLong((long)result);
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxGauge *arg1 = (wxGauge *) 0 ;
3333 bool result;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 result = (bool)((wxGauge const *)arg1)->IsVertical();
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 resultobj = PyInt_FromLong((long)result);
3349 return resultobj;
3350 fail:
3351 return NULL;
3352}
3353
3354
3355static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxGauge *arg1 = (wxGauge *) 0 ;
3358 int arg2 ;
3359 PyObject * obj0 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "w", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 (arg1)->SetShadowWidth(arg2);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 return resultobj;
3375 fail:
3376 return NULL;
3377}
3378
3379
3380static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxGauge *arg1 = (wxGauge *) 0 ;
3383 int result;
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 resultobj = PyInt_FromLong((long)result);
3399 return resultobj;
3400 fail:
3401 return NULL;
3402}
3403
3404
3405static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxGauge *arg1 = (wxGauge *) 0 ;
3408 int arg2 ;
3409 PyObject * obj0 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "w", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 (arg1)->SetBezelFace(arg2);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 Py_INCREF(Py_None); resultobj = Py_None;
3424 return resultobj;
3425 fail:
3426 return NULL;
3427}
3428
3429
3430static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxGauge *arg1 = (wxGauge *) 0 ;
3433 int result;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 resultobj = PyInt_FromLong((long)result);
3449 return resultobj;
3450 fail:
3451 return NULL;
3452}
3453
3454
3455static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3456 PyObject *obj;
3457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3458 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3459 Py_INCREF(obj);
3460 return Py_BuildValue((char *)"");
3461}
b2dc1044
RD
3462static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3463 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3464 return 1;
3465}
3466
3467
3468static PyObject *_wrap_StaticBitmapNameStr_get() {
3469 PyObject *pyobj;
3470
3471 {
3472#if wxUSE_UNICODE
3473 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3474#else
3475 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3476#endif
3477 }
3478 return pyobj;
3479}
3480
3481
3482static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3483 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3484 return 1;
3485}
3486
3487
3488static PyObject *_wrap_StaticBoxNameStr_get() {
3489 PyObject *pyobj;
3490
3491 {
3492#if wxUSE_UNICODE
3493 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3494#else
3495 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3496#endif
3497 }
3498 return pyobj;
3499}
3500
3501
3502static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3503 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3504 return 1;
3505}
3506
3507
3508static PyObject *_wrap_StaticTextNameStr_get() {
3509 PyObject *pyobj;
3510
3511 {
3512#if wxUSE_UNICODE
3513 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3514#else
3515 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3516#endif
3517 }
3518 return pyobj;
3519}
3520
3521
d14a1e28
RD
3522static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject *resultobj;
3524 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3525 int arg2 ;
d14a1e28
RD
3526 wxString *arg3 = 0 ;
3527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3529 wxSize const &arg5_defvalue = wxDefaultSize ;
3530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3531 long arg6 = (long) 0 ;
3532 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3533 wxString *arg7 = (wxString *) &arg7_defvalue ;
3534 wxStaticBox *result;
e811c8ce 3535 bool temp3 = False ;
d14a1e28
RD
3536 wxPoint temp4 ;
3537 wxSize temp5 ;
e811c8ce 3538 bool temp7 = False ;
d14a1e28
RD
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj2 = 0 ;
3541 PyObject * obj3 = 0 ;
3542 PyObject * obj4 = 0 ;
3543 PyObject * obj6 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3550 {
3551 arg3 = wxString_in_helper(obj2);
3552 if (arg3 == NULL) SWIG_fail;
e811c8ce 3553 temp3 = True;
d14a1e28
RD
3554 }
3555 if (obj3) {
3556 {
3557 arg4 = &temp4;
3558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3559 }
3560 }
3561 if (obj4) {
3562 {
3563 arg5 = &temp5;
3564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3565 }
3566 }
3567 if (obj6) {
3568 {
3569 arg7 = wxString_in_helper(obj6);
3570 if (arg7 == NULL) SWIG_fail;
e811c8ce 3571 temp7 = True;
d14a1e28
RD
3572 }
3573 }
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 {
3582 resultobj = wxPyMake_wxObject(result);
3583 }
3584 {
3585 if (temp3)
3586 delete arg3;
3587 }
3588 {
3589 if (temp7)
3590 delete arg7;
3591 }
3592 return resultobj;
3593 fail:
3594 {
3595 if (temp3)
3596 delete arg3;
3597 }
3598 {
3599 if (temp7)
3600 delete arg7;
3601 }
3602 return NULL;
3603}
3604
3605
3606static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxStaticBox *result;
3609 char *kwnames[] = {
3610 NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (wxStaticBox *)new wxStaticBox();
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 {
3622 resultobj = wxPyMake_wxObject(result);
3623 }
3624 return resultobj;
3625 fail:
3626 return NULL;
3627}
3628
3629
3630static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3633 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3634 int arg3 ;
d14a1e28
RD
3635 wxString *arg4 = 0 ;
3636 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3637 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3638 wxSize const &arg6_defvalue = wxDefaultSize ;
3639 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3640 long arg7 = (long) 0 ;
3641 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3642 wxString *arg8 = (wxString *) &arg8_defvalue ;
3643 bool result;
e811c8ce 3644 bool temp4 = False ;
d14a1e28
RD
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
e811c8ce 3647 bool temp8 = False ;
d14a1e28
RD
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 PyObject * obj3 = 0 ;
3651 PyObject * obj4 = 0 ;
3652 PyObject * obj5 = 0 ;
3653 PyObject * obj7 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 {
3662 arg4 = wxString_in_helper(obj3);
3663 if (arg4 == NULL) SWIG_fail;
e811c8ce 3664 temp4 = True;
d14a1e28
RD
3665 }
3666 if (obj4) {
3667 {
3668 arg5 = &temp5;
3669 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3670 }
3671 }
3672 if (obj5) {
3673 {
3674 arg6 = &temp6;
3675 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3676 }
3677 }
3678 if (obj7) {
3679 {
3680 arg8 = wxString_in_helper(obj7);
3681 if (arg8 == NULL) SWIG_fail;
e811c8ce 3682 temp8 = True;
d14a1e28
RD
3683 }
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = PyInt_FromLong((long)result);
3693 {
3694 if (temp4)
3695 delete arg4;
3696 }
3697 {
3698 if (temp8)
3699 delete arg8;
3700 }
3701 return resultobj;
3702 fail:
3703 {
3704 if (temp4)
3705 delete arg4;
3706 }
3707 {
3708 if (temp8)
3709 delete arg8;
3710 }
3711 return NULL;
3712}
3713
3714
3715static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3716 PyObject *obj;
3717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3718 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3719 Py_INCREF(obj);
3720 return Py_BuildValue((char *)"");
3721}
3722static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3725 int arg2 ;
d14a1e28
RD
3726 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3727 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3728 wxSize const &arg4_defvalue = wxDefaultSize ;
3729 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3730 long arg5 = (long) wxLI_HORIZONTAL ;
3731 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3732 wxString *arg6 = (wxString *) &arg6_defvalue ;
3733 wxStaticLine *result;
3734 wxPoint temp3 ;
3735 wxSize temp4 ;
e811c8ce 3736 bool temp6 = False ;
d14a1e28
RD
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj2 = 0 ;
3739 PyObject * obj3 = 0 ;
3740 PyObject * obj5 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3747 if (obj2) {
3748 {
3749 arg3 = &temp3;
3750 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3751 }
3752 }
3753 if (obj3) {
3754 {
3755 arg4 = &temp4;
3756 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3757 }
3758 }
3759 if (obj5) {
3760 {
3761 arg6 = wxString_in_helper(obj5);
3762 if (arg6 == NULL) SWIG_fail;
e811c8ce 3763 temp6 = True;
d14a1e28
RD
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3774 {
3775 if (temp6)
3776 delete arg6;
3777 }
3778 return resultobj;
3779 fail:
3780 {
3781 if (temp6)
3782 delete arg6;
3783 }
3784 return NULL;
3785}
3786
3787
3788static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxStaticLine *result;
3791 char *kwnames[] = {
3792 NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (wxStaticLine *)new wxStaticLine();
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3804 return resultobj;
3805 fail:
3806 return NULL;
3807}
3808
3809
3810static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3813 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3814 int arg3 ;
d14a1e28
RD
3815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3817 wxSize const &arg5_defvalue = wxDefaultSize ;
3818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3819 long arg6 = (long) wxLI_HORIZONTAL ;
3820 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3821 wxString *arg7 = (wxString *) &arg7_defvalue ;
3822 bool result;
3823 wxPoint temp4 ;
3824 wxSize temp5 ;
e811c8ce 3825 bool temp7 = False ;
d14a1e28
RD
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 PyObject * obj3 = 0 ;
3829 PyObject * obj4 = 0 ;
3830 PyObject * obj6 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 if (obj3) {
3839 {
3840 arg4 = &temp4;
3841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3842 }
3843 }
3844 if (obj4) {
3845 {
3846 arg5 = &temp5;
3847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3848 }
3849 }
3850 if (obj6) {
3851 {
3852 arg7 = wxString_in_helper(obj6);
3853 if (arg7 == NULL) SWIG_fail;
e811c8ce 3854 temp7 = True;
d14a1e28
RD
3855 }
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = PyInt_FromLong((long)result);
3865 {
3866 if (temp7)
3867 delete arg7;
3868 }
3869 return resultobj;
3870 fail:
3871 {
3872 if (temp7)
3873 delete arg7;
3874 }
3875 return NULL;
3876}
3877
3878
3879static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3882 bool result;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 resultobj = PyInt_FromLong((long)result);
3898 return resultobj;
3899 fail:
3900 return NULL;
3901}
3902
3903
3904static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject *resultobj;
3906 int result;
3907 char *kwnames[] = {
3908 NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (int)wxStaticLine::GetDefaultSize();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = PyInt_FromLong((long)result);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923}
3924
3925
3926static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3927 PyObject *obj;
3928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3930 Py_INCREF(obj);
3931 return Py_BuildValue((char *)"");
3932}
3933static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3936 int arg2 ;
d14a1e28
RD
3937 wxString *arg3 = 0 ;
3938 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3939 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3940 wxSize const &arg5_defvalue = wxDefaultSize ;
3941 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3942 long arg6 = (long) 0 ;
3943 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3944 wxString *arg7 = (wxString *) &arg7_defvalue ;
3945 wxStaticText *result;
e811c8ce 3946 bool temp3 = False ;
d14a1e28
RD
3947 wxPoint temp4 ;
3948 wxSize temp5 ;
e811c8ce 3949 bool temp7 = False ;
d14a1e28
RD
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj2 = 0 ;
3952 PyObject * obj3 = 0 ;
3953 PyObject * obj4 = 0 ;
3954 PyObject * obj6 = 0 ;
3955 char *kwnames[] = {
3956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3957 };
3958
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961 {
3962 arg3 = wxString_in_helper(obj2);
3963 if (arg3 == NULL) SWIG_fail;
e811c8ce 3964 temp3 = True;
d14a1e28
RD
3965 }
3966 if (obj3) {
3967 {
3968 arg4 = &temp4;
3969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3970 }
3971 }
3972 if (obj4) {
3973 {
3974 arg5 = &temp5;
3975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3976 }
3977 }
3978 if (obj6) {
3979 {
3980 arg7 = wxString_in_helper(obj6);
3981 if (arg7 == NULL) SWIG_fail;
e811c8ce 3982 temp7 = True;
d14a1e28
RD
3983 }
3984 }
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3993 {
3994 if (temp3)
3995 delete arg3;
3996 }
3997 {
3998 if (temp7)
3999 delete arg7;
4000 }
4001 return resultobj;
4002 fail:
4003 {
4004 if (temp3)
4005 delete arg3;
4006 }
4007 {
4008 if (temp7)
4009 delete arg7;
4010 }
4011 return NULL;
4012}
4013
4014
4015static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj;
4017 wxStaticText *result;
4018 char *kwnames[] = {
4019 NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxStaticText *)new wxStaticText();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
4037static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxStaticText *arg1 = (wxStaticText *) 0 ;
4040 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4041 int arg3 ;
d14a1e28
RD
4042 wxString *arg4 = 0 ;
4043 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4044 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4045 wxSize const &arg6_defvalue = wxDefaultSize ;
4046 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4047 long arg7 = (long) 0 ;
4048 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4049 wxString *arg8 = (wxString *) &arg8_defvalue ;
4050 bool result;
e811c8ce 4051 bool temp4 = False ;
d14a1e28
RD
4052 wxPoint temp5 ;
4053 wxSize temp6 ;
e811c8ce 4054 bool temp8 = False ;
d14a1e28
RD
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 PyObject * obj7 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4068 {
4069 arg4 = wxString_in_helper(obj3);
4070 if (arg4 == NULL) SWIG_fail;
e811c8ce 4071 temp4 = True;
d14a1e28
RD
4072 }
4073 if (obj4) {
4074 {
4075 arg5 = &temp5;
4076 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4077 }
4078 }
4079 if (obj5) {
4080 {
4081 arg6 = &temp6;
4082 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4083 }
4084 }
4085 if (obj7) {
4086 {
4087 arg8 = wxString_in_helper(obj7);
4088 if (arg8 == NULL) SWIG_fail;
e811c8ce 4089 temp8 = True;
d14a1e28
RD
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 resultobj = PyInt_FromLong((long)result);
4100 {
4101 if (temp4)
4102 delete arg4;
4103 }
4104 {
4105 if (temp8)
4106 delete arg8;
4107 }
4108 return resultobj;
4109 fail:
4110 {
4111 if (temp4)
4112 delete arg4;
4113 }
4114 {
4115 if (temp8)
4116 delete arg8;
4117 }
4118 return NULL;
4119}
4120
4121
4122static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4123 PyObject *obj;
4124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4125 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4126 Py_INCREF(obj);
4127 return Py_BuildValue((char *)"");
4128}
4129static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4132 int arg2 ;
d14a1e28
RD
4133 wxBitmap *arg3 = 0 ;
4134 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4135 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4136 wxSize const &arg5_defvalue = wxDefaultSize ;
4137 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4138 long arg6 = (long) 0 ;
4139 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4140 wxString *arg7 = (wxString *) &arg7_defvalue ;
4141 wxStaticBitmap *result;
4142 wxPoint temp4 ;
4143 wxSize temp5 ;
e811c8ce 4144 bool temp7 = False ;
d14a1e28
RD
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj2 = 0 ;
4147 PyObject * obj3 = 0 ;
4148 PyObject * obj4 = 0 ;
4149 PyObject * obj6 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4157 if (arg3 == NULL) {
4158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4159 }
4160 if (obj3) {
4161 {
4162 arg4 = &temp4;
4163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4164 }
4165 }
4166 if (obj4) {
4167 {
4168 arg5 = &temp5;
4169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4170 }
4171 }
4172 if (obj6) {
4173 {
4174 arg7 = wxString_in_helper(obj6);
4175 if (arg7 == NULL) SWIG_fail;
e811c8ce 4176 temp7 = True;
d14a1e28
RD
4177 }
4178 }
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4187 {
4188 if (temp7)
4189 delete arg7;
4190 }
4191 return resultobj;
4192 fail:
4193 {
4194 if (temp7)
4195 delete arg7;
4196 }
4197 return NULL;
4198}
4199
4200
4201static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxStaticBitmap *result;
4204 char *kwnames[] = {
4205 NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 result = (wxStaticBitmap *)new wxStaticBitmap();
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) SWIG_fail;
4215 }
4216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4217 return resultobj;
4218 fail:
4219 return NULL;
4220}
4221
4222
4223static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4226 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4227 int arg3 ;
d14a1e28
RD
4228 wxBitmap *arg4 = 0 ;
4229 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4230 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4231 wxSize const &arg6_defvalue = wxDefaultSize ;
4232 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4233 long arg7 = (long) 0 ;
4234 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4235 wxString *arg8 = (wxString *) &arg8_defvalue ;
4236 bool result;
4237 wxPoint temp5 ;
4238 wxSize temp6 ;
e811c8ce 4239 bool temp8 = False ;
d14a1e28
RD
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 PyObject * obj3 = 0 ;
4243 PyObject * obj4 = 0 ;
4244 PyObject * obj5 = 0 ;
4245 PyObject * obj7 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4254 if (arg4 == NULL) {
4255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4256 }
4257 if (obj4) {
4258 {
4259 arg5 = &temp5;
4260 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4261 }
4262 }
4263 if (obj5) {
4264 {
4265 arg6 = &temp6;
4266 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4267 }
4268 }
4269 if (obj7) {
4270 {
4271 arg8 = wxString_in_helper(obj7);
4272 if (arg8 == NULL) SWIG_fail;
e811c8ce 4273 temp8 = True;
d14a1e28
RD
4274 }
4275 }
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 resultobj = PyInt_FromLong((long)result);
4284 {
4285 if (temp8)
4286 delete arg8;
4287 }
4288 return resultobj;
4289 fail:
4290 {
4291 if (temp8)
4292 delete arg8;
4293 }
4294 return NULL;
4295}
4296
4297
4298static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4301 wxBitmap result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (arg1)->GetBitmap();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 wxBitmap * resultptr;
4318 resultptr = new wxBitmap((wxBitmap &) result);
4319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4320 }
4321 return resultobj;
4322 fail:
4323 return NULL;
4324}
4325
4326
4327static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4330 wxBitmap *arg2 = 0 ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 char *kwnames[] = {
4334 (char *) "self",(char *) "bitmap", NULL
4335 };
4336
4337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4340 if (arg2 == NULL) {
4341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 Py_INCREF(Py_None); resultobj = Py_None;
4351 return resultobj;
4352 fail:
4353 return NULL;
4354}
4355
4356
4357static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4360 wxIcon *arg2 = 0 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self",(char *) "icon", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 if (arg2 == NULL) {
4371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetIcon((wxIcon const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 return resultobj;
4382 fail:
4383 return NULL;
4384}
4385
4386
4387static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4388 PyObject *obj;
4389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4391 Py_INCREF(obj);
4392 return Py_BuildValue((char *)"");
4393}
b2dc1044
RD
4394static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4395 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4396 return 1;
4397}
4398
4399
4400static PyObject *_wrap_ListBoxNameStr_get() {
4401 PyObject *pyobj;
4402
4403 {
4404#if wxUSE_UNICODE
4405 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4406#else
4407 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4408#endif
4409 }
4410 return pyobj;
4411}
4412
4413
d14a1e28
RD
4414static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4417 int arg2 ;
d14a1e28
RD
4418 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4419 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4420 wxSize const &arg4_defvalue = wxDefaultSize ;
4421 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4422 int arg5 = (int) 0 ;
4423 wxString *arg6 = (wxString *) NULL ;
4424 long arg7 = (long) 0 ;
4425 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4426 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4427 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4428 wxString *arg9 = (wxString *) &arg9_defvalue ;
4429 wxListBox *result;
4430 wxPoint temp3 ;
4431 wxSize temp4 ;
e811c8ce 4432 bool temp8 = False ;
d14a1e28
RD
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 PyObject * obj3 = 0 ;
4436 PyObject * obj4 = 0 ;
4437 PyObject * obj6 = 0 ;
4438 PyObject * obj7 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 if (obj2) {
4446 {
4447 arg3 = &temp3;
4448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4449 }
4450 }
4451 if (obj3) {
4452 {
4453 arg4 = &temp4;
4454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4455 }
4456 }
4457 if (obj4) {
4458 {
4459 arg5 = PyList_Size(obj4);
4460 arg6 = wxString_LIST_helper(obj4);
4461 if (arg6 == NULL) SWIG_fail;
4462 }
4463 }
4464 if (obj6) {
4465 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 if (arg8 == NULL) {
4467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4468 }
4469 }
4470 if (obj7) {
4471 {
4472 arg9 = wxString_in_helper(obj7);
4473 if (arg9 == NULL) SWIG_fail;
e811c8ce 4474 temp8 = True;
d14a1e28
RD
4475 }
4476 }
4477 {
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4485 {
4486 if (arg6) delete [] arg6;
4487 }
4488 {
4489 if (temp8)
4490 delete arg9;
4491 }
4492 return resultobj;
4493 fail:
4494 {
4495 if (arg6) delete [] arg6;
4496 }
4497 {
4498 if (temp8)
4499 delete arg9;
4500 }
4501 return NULL;
4502}
4503
4504
4505static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 wxListBox *result;
4508 char *kwnames[] = {
4509 NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxListBox *)new wxListBox();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxListBox *arg1 = (wxListBox *) 0 ;
4530 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4531 int arg3 ;
d14a1e28
RD
4532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4534 wxSize const &arg5_defvalue = wxDefaultSize ;
4535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4536 int arg6 = (int) 0 ;
4537 wxString *arg7 = (wxString *) NULL ;
4538 long arg8 = (long) 0 ;
4539 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4540 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4541 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4542 wxString *arg10 = (wxString *) &arg10_defvalue ;
4543 bool result;
4544 wxPoint temp4 ;
4545 wxSize temp5 ;
e811c8ce 4546 bool temp9 = False ;
d14a1e28
RD
4547 PyObject * obj0 = 0 ;
4548 PyObject * obj1 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 PyObject * obj4 = 0 ;
4551 PyObject * obj5 = 0 ;
4552 PyObject * obj7 = 0 ;
4553 PyObject * obj8 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4561 if (obj3) {
4562 {
4563 arg4 = &temp4;
4564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4565 }
4566 }
4567 if (obj4) {
4568 {
4569 arg5 = &temp5;
4570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4571 }
4572 }
4573 if (obj5) {
4574 {
4575 arg6 = PyList_Size(obj5);
4576 arg7 = wxString_LIST_helper(obj5);
4577 if (arg7 == NULL) SWIG_fail;
4578 }
4579 }
4580 if (obj7) {
4581 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if (arg9 == NULL) {
4583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4584 }
4585 }
4586 if (obj8) {
4587 {
4588 arg10 = wxString_in_helper(obj8);
4589 if (arg10 == NULL) SWIG_fail;
e811c8ce 4590 temp9 = True;
d14a1e28
RD
4591 }
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 resultobj = PyInt_FromLong((long)result);
4601 {
4602 if (arg7) delete [] arg7;
4603 }
4604 {
4605 if (temp9)
4606 delete arg10;
4607 }
4608 return resultobj;
4609 fail:
4610 {
4611 if (arg7) delete [] arg7;
4612 }
4613 {
4614 if (temp9)
4615 delete arg10;
4616 }
4617 return NULL;
4618}
4619
4620
4621static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxListBox *arg1 = (wxListBox *) 0 ;
4624 wxString *arg2 = 0 ;
4625 int arg3 ;
4626 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 4627 bool temp2 = False ;
d14a1e28
RD
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj3 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 arg2 = wxString_in_helper(obj1);
4639 if (arg2 == NULL) SWIG_fail;
e811c8ce 4640 temp2 = True;
d14a1e28
RD
4641 }
4642 if (obj3) {
4643 arg4 = obj3;
4644 }
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 {
4654 if (temp2)
4655 delete arg2;
4656 }
4657 return resultobj;
4658 fail:
4659 {
4660 if (temp2)
4661 delete arg2;
4662 }
4663 return NULL;
4664}
4665
4666
4667static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxListBox *arg1 = (wxListBox *) 0 ;
4670 wxArrayString *arg2 = 0 ;
4671 int arg3 ;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "items",(char *) "pos", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4680 {
4681 if (! PySequence_Check(obj1)) {
4682 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4683 SWIG_fail;
4684 }
4685 arg2 = new wxArrayString;
4686 int i, len=PySequence_Length(obj1);
4687 for (i=0; i<len; i++) {
4688 PyObject* item = PySequence_GetItem(obj1, i);
4689#if wxUSE_UNICODE
4690 PyObject* str = PyObject_Unicode(item);
4691#else
4692 PyObject* str = PyObject_Str(item);
4693#endif
4694 arg2->Add(Py2wxString(str));
4695 Py_DECREF(item);
4696 Py_DECREF(str);
4697 }
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 Py_INCREF(Py_None); resultobj = Py_None;
4707 {
4708 if (arg2) delete arg2;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (arg2) delete arg2;
4714 }
4715 return NULL;
4716}
4717
4718
4719static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxListBox *arg1 = (wxListBox *) 0 ;
4722 wxArrayString *arg2 = 0 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "items", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 {
4732 if (! PySequence_Check(obj1)) {
4733 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4734 SWIG_fail;
4735 }
4736 arg2 = new wxArrayString;
4737 int i, len=PySequence_Length(obj1);
4738 for (i=0; i<len; i++) {
4739 PyObject* item = PySequence_GetItem(obj1, i);
4740#if wxUSE_UNICODE
4741 PyObject* str = PyObject_Unicode(item);
4742#else
4743 PyObject* str = PyObject_Str(item);
4744#endif
4745 arg2->Add(Py2wxString(str));
4746 Py_DECREF(item);
4747 Py_DECREF(str);
4748 }
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->Set((wxArrayString const &)*arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 {
4759 if (arg2) delete arg2;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (arg2) delete arg2;
4765 }
4766 return NULL;
4767}
4768
4769
4770static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxListBox *arg1 = (wxListBox *) 0 ;
4773 int arg2 ;
4774 bool result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "n", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = PyInt_FromLong((long)result);
4790 return resultobj;
4791 fail:
4792 return NULL;
4793}
4794
4795
4796static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4797 PyObject *resultobj;
4798 wxListBox *arg1 = (wxListBox *) 0 ;
4799 int arg2 ;
e811c8ce 4800 bool arg3 = (bool) True ;
d14a1e28
RD
4801 PyObject * obj0 = 0 ;
4802 PyObject * obj2 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "n",(char *) "select", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if (obj2) {
4810 arg3 = PyInt_AsLong(obj2) ? true : false;
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 (arg1)->SetSelection(arg2,arg3);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 Py_INCREF(Py_None); resultobj = Py_None;
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
4827static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxListBox *arg1 = (wxListBox *) 0 ;
4830 int arg2 ;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self",(char *) "n", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 (arg1)->Select(arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 Py_INCREF(Py_None); resultobj = Py_None;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849}
4850
4851
4852static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxListBox *arg1 = (wxListBox *) 0 ;
4855 int arg2 ;
4856 PyObject * obj0 = 0 ;
4857 char *kwnames[] = {
4858 (char *) "self",(char *) "n", NULL
4859 };
4860
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4863 {
4864 PyThreadState* __tstate = wxPyBeginAllowThreads();
4865 (arg1)->Deselect(arg2);
4866
4867 wxPyEndAllowThreads(__tstate);
4868 if (PyErr_Occurred()) SWIG_fail;
4869 }
4870 Py_INCREF(Py_None); resultobj = Py_None;
4871 return resultobj;
4872 fail:
4873 return NULL;
4874}
4875
4876
4877static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4878 PyObject *resultobj;
4879 wxListBox *arg1 = (wxListBox *) 0 ;
4880 int arg2 = (int) -1 ;
4881 PyObject * obj0 = 0 ;
4882 char *kwnames[] = {
4883 (char *) "self",(char *) "itemToLeaveSelected", NULL
4884 };
4885
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->DeselectAll(arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 return resultobj;
4897 fail:
4898 return NULL;
4899}
4900
4901
4902static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxListBox *arg1 = (wxListBox *) 0 ;
4905 wxString *arg2 = 0 ;
e811c8ce 4906 bool arg3 = (bool) True ;
d14a1e28 4907 bool result;
e811c8ce 4908 bool temp2 = False ;
d14a1e28
RD
4909 PyObject * obj0 = 0 ;
4910 PyObject * obj1 = 0 ;
4911 PyObject * obj2 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "s",(char *) "select", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 arg2 = wxString_in_helper(obj1);
4920 if (arg2 == NULL) SWIG_fail;
e811c8ce 4921 temp2 = True;
d14a1e28
RD
4922 }
4923 if (obj2) {
4924 arg3 = PyInt_AsLong(obj2) ? true : false;
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = PyInt_FromLong((long)result);
4935 {
4936 if (temp2)
4937 delete arg2;
4938 }
4939 return resultobj;
4940 fail:
4941 {
4942 if (temp2)
4943 delete arg2;
4944 }
4945 return NULL;
4946}
4947
4948
4949static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxListBox *arg1 = (wxListBox *) 0 ;
4952 PyObject *result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (PyObject *)wxListBox_GetSelections(arg1);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 resultobj = result;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
4974static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxListBox *arg1 = (wxListBox *) 0 ;
4977 int arg2 ;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self",(char *) "n", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->SetFirstItem(arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxListBox *arg1 = (wxListBox *) 0 ;
5002 wxString *arg2 = 0 ;
e811c8ce 5003 bool temp2 = False ;
d14a1e28
RD
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "s", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 {
5013 arg2 = wxString_in_helper(obj1);
5014 if (arg2 == NULL) SWIG_fail;
e811c8ce 5015 temp2 = True;
d14a1e28
RD
5016 }
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->SetFirstItem((wxString const &)*arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 {
5026 if (temp2)
5027 delete arg2;
5028 }
5029 return resultobj;
5030 fail:
5031 {
5032 if (temp2)
5033 delete arg2;
5034 }
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxListBox *arg1 = (wxListBox *) 0 ;
5042 int arg2 ;
5043 PyObject * obj0 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "n", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->EnsureVisible(arg2);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061}
5062
5063
5064static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxListBox *arg1 = (wxListBox *) 0 ;
5067 wxString *arg2 = 0 ;
e811c8ce 5068 bool temp2 = False ;
d14a1e28
RD
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "s", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5077 {
5078 arg2 = wxString_in_helper(obj1);
5079 if (arg2 == NULL) SWIG_fail;
e811c8ce 5080 temp2 = True;
d14a1e28
RD
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 Py_INCREF(Py_None); resultobj = Py_None;
5090 {
5091 if (temp2)
5092 delete arg2;
5093 }
5094 return resultobj;
5095 fail:
5096 {
5097 if (temp2)
5098 delete arg2;
5099 }
5100 return NULL;
5101}
5102
5103
5104static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxListBox *arg1 = (wxListBox *) 0 ;
5107 bool result;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (bool)((wxListBox const *)arg1)->IsSorted();
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 resultobj = PyInt_FromLong((long)result);
5123 return resultobj;
5124 fail:
5125 return NULL;
5126}
5127
5128
5129static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5130 PyObject *obj;
5131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5132 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5133 Py_INCREF(obj);
5134 return Py_BuildValue((char *)"");
5135}
5136static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5139 int arg2 ;
d14a1e28
RD
5140 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5141 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5142 wxSize const &arg4_defvalue = wxDefaultSize ;
5143 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5144 int arg5 = (int) 0 ;
5145 wxString *arg6 = (wxString *) NULL ;
5146 long arg7 = (long) 0 ;
5147 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5148 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5149 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5150 wxString *arg9 = (wxString *) &arg9_defvalue ;
5151 wxCheckListBox *result;
5152 wxPoint temp3 ;
5153 wxSize temp4 ;
e811c8ce 5154 bool temp8 = False ;
d14a1e28
RD
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj2 = 0 ;
5157 PyObject * obj3 = 0 ;
5158 PyObject * obj4 = 0 ;
5159 PyObject * obj6 = 0 ;
5160 PyObject * obj7 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 if (obj2) {
5168 {
5169 arg3 = &temp3;
5170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5171 }
5172 }
5173 if (obj3) {
5174 {
5175 arg4 = &temp4;
5176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5177 }
5178 }
5179 if (obj4) {
5180 {
5181 arg5 = PyList_Size(obj4);
5182 arg6 = wxString_LIST_helper(obj4);
5183 if (arg6 == NULL) SWIG_fail;
5184 }
5185 }
5186 if (obj6) {
5187 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 if (arg8 == NULL) {
5189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5190 }
5191 }
5192 if (obj7) {
5193 {
5194 arg9 = wxString_in_helper(obj7);
5195 if (arg9 == NULL) SWIG_fail;
e811c8ce 5196 temp8 = True;
d14a1e28
RD
5197 }
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5207 {
5208 if (arg6) delete [] arg6;
5209 }
5210 {
5211 if (temp8)
5212 delete arg9;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (arg6) delete [] arg6;
5218 }
5219 {
5220 if (temp8)
5221 delete arg9;
5222 }
5223 return NULL;
5224}
5225
5226
5227static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxCheckListBox *result;
5230 char *kwnames[] = {
5231 NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (wxCheckListBox *)new wxCheckListBox();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5243 return resultobj;
5244 fail:
5245 return NULL;
5246}
5247
5248
5249static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5252 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5253 int arg3 ;
d14a1e28
RD
5254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5256 wxSize const &arg5_defvalue = wxDefaultSize ;
5257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5258 int arg6 = (int) 0 ;
5259 wxString *arg7 = (wxString *) NULL ;
5260 long arg8 = (long) 0 ;
5261 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5262 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5263 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5264 wxString *arg10 = (wxString *) &arg10_defvalue ;
5265 bool result;
5266 wxPoint temp4 ;
5267 wxSize temp5 ;
e811c8ce 5268 bool temp9 = False ;
d14a1e28
RD
5269 PyObject * obj0 = 0 ;
5270 PyObject * obj1 = 0 ;
5271 PyObject * obj3 = 0 ;
5272 PyObject * obj4 = 0 ;
5273 PyObject * obj5 = 0 ;
5274 PyObject * obj7 = 0 ;
5275 PyObject * obj8 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5283 if (obj3) {
5284 {
5285 arg4 = &temp4;
5286 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5287 }
5288 }
5289 if (obj4) {
5290 {
5291 arg5 = &temp5;
5292 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5293 }
5294 }
5295 if (obj5) {
5296 {
5297 arg6 = PyList_Size(obj5);
5298 arg7 = wxString_LIST_helper(obj5);
5299 if (arg7 == NULL) SWIG_fail;
5300 }
5301 }
5302 if (obj7) {
5303 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5304 if (arg9 == NULL) {
5305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5306 }
5307 }
5308 if (obj8) {
5309 {
5310 arg10 = wxString_in_helper(obj8);
5311 if (arg10 == NULL) SWIG_fail;
e811c8ce 5312 temp9 = True;
d14a1e28
RD
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = PyInt_FromLong((long)result);
5323 {
5324 if (arg7) delete [] arg7;
5325 }
5326 {
5327 if (temp9)
5328 delete arg10;
5329 }
5330 return resultobj;
5331 fail:
5332 {
5333 if (arg7) delete [] arg7;
5334 }
5335 {
5336 if (temp9)
5337 delete arg10;
5338 }
5339 return NULL;
5340}
5341
5342
5343static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5346 int arg2 ;
5347 bool result;
5348 PyObject * obj0 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "index", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (bool)(arg1)->IsChecked(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 resultobj = PyInt_FromLong((long)result);
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
5369static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5372 int arg2 ;
e811c8ce 5373 int arg3 = (int) True ;
d14a1e28
RD
5374 PyObject * obj0 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "index",(char *) "check", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 (arg1)->Check(arg2,arg3);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 Py_INCREF(Py_None); resultobj = Py_None;
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
5395static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject *resultobj;
5397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5398 int result;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 result = (int)(arg1)->GetItemHeight();
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = PyInt_FromLong((long)result);
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
5420static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5423 wxPoint *arg2 = 0 ;
5424 int result;
5425 wxPoint temp2 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "pt", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5434 {
5435 arg2 = &temp2;
5436 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5437 }
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 resultobj = PyInt_FromLong((long)result);
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
5452static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
5455 int arg2 ;
5456 int arg3 ;
d14a1e28
RD
5457 int result;
5458 PyObject * obj0 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "x",(char *) "y", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 resultobj = PyInt_FromLong((long)result);
5473 return resultobj;
5474 fail:
5475 return NULL;
5476}
5477
5478
5479static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5480 PyObject *obj;
5481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5482 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5483 Py_INCREF(obj);
5484 return Py_BuildValue((char *)"");
5485}
b2dc1044
RD
5486static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5487 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5488 return 1;
5489}
5490
5491
5492static PyObject *_wrap_TextCtrlNameStr_get() {
5493 PyObject *pyobj;
5494
5495 {
5496#if wxUSE_UNICODE
5497 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5498#else
5499 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5500#endif
5501 }
5502 return pyobj;
5503}
5504
5505
d14a1e28
RD
5506static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5507 PyObject *resultobj;
5508 wxTextAttr *result;
5509
5510 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (wxTextAttr *)new wxTextAttr();
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5519 return resultobj;
5520 fail:
5521 return NULL;
5522}
5523
5524
5525static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5526 PyObject *resultobj;
5527 wxColour *arg1 = 0 ;
5528 wxColour const &arg2_defvalue = wxNullColour ;
5529 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5530 wxFont const &arg3_defvalue = wxNullFont ;
5531 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5532 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5533 wxTextAttr *result;
5534 wxColour temp1 ;
5535 wxColour temp2 ;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 PyObject * obj2 = 0 ;
5539
5540 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5541 {
5542 arg1 = &temp1;
5543 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5544 }
5545 if (obj1) {
5546 {
5547 arg2 = &temp2;
5548 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5549 }
5550 }
5551 if (obj2) {
5552 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5553 if (arg3 == NULL) {
5554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5555 }
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
5571static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5572 int argc;
5573 PyObject *argv[5];
5574 int ii;
5575
5576 argc = PyObject_Length(args);
5577 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5578 argv[ii] = PyTuple_GetItem(args,ii);
5579 }
5580 if (argc == 0) {
5581 return _wrap_new_TextAttr__SWIG_0(self,args);
5582 }
5583 if ((argc >= 1) && (argc <= 4)) {
5584 int _v;
5585 {
5586 _v = wxColour_typecheck(argv[0]);
5587 }
5588 if (_v) {
5589 if (argc <= 1) {
5590 return _wrap_new_TextAttr__SWIG_1(self,args);
5591 }
5592 {
5593 _v = wxColour_typecheck(argv[1]);
5594 }
5595 if (_v) {
5596 if (argc <= 2) {
5597 return _wrap_new_TextAttr__SWIG_1(self,args);
5598 }
5599 {
5600 void *ptr;
5601 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5602 _v = 0;
5603 PyErr_Clear();
5604 } else {
5605 _v = 1;
5606 }
5607 }
5608 if (_v) {
5609 if (argc <= 3) {
5610 return _wrap_new_TextAttr__SWIG_1(self,args);
5611 }
5612 {
5613 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5614 }
5615 if (_v) {
5616 return _wrap_new_TextAttr__SWIG_1(self,args);
5617 }
5618 }
5619 }
5620 }
5621 }
5622
5623 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5624 return NULL;
5625}
5626
5627
5628static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->Init();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 Py_INCREF(Py_None); resultobj = Py_None;
5646 return resultobj;
5647 fail:
5648 return NULL;
5649}
5650
5651
5652static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5655 wxColour *arg2 = 0 ;
5656 wxColour temp2 ;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "colText", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5665 {
5666 arg2 = &temp2;
5667 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 (arg1)->SetTextColour((wxColour const &)*arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 Py_INCREF(Py_None); resultobj = Py_None;
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
5683static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5686 wxColour *arg2 = 0 ;
5687 wxColour temp2 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "colBack", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 {
5697 arg2 = &temp2;
5698 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711}
5712
5713
5714static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5717 wxFont *arg2 = 0 ;
5718 long arg3 = (long) wxTEXT_ATTR_FONT ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "font",(char *) "flags", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5728 if (arg2 == NULL) {
5729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 Py_INCREF(Py_None); resultobj = Py_None;
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
5745static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self",(char *) "alignment", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 Py_INCREF(Py_None); resultobj = Py_None;
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
5770static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5773 wxArrayInt *arg2 = 0 ;
5774 PyObject * obj0 = 0 ;
5775 PyObject * obj1 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self",(char *) "tabs", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5782 {
5783 if (! PySequence_Check(obj1)) {
5784 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5785 SWIG_fail;
5786 }
5787 arg2 = new wxArrayInt;
5788 int i, len=PySequence_Length(obj1);
5789 for (i=0; i<len; i++) {
5790 PyObject* item = PySequence_GetItem(obj1, i);
5791 PyObject* number = PyNumber_Int(item);
5792 arg2->Add(PyInt_AS_LONG(number));
5793 Py_DECREF(item);
5794 Py_DECREF(number);
5795 }
5796 }
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 Py_INCREF(Py_None); resultobj = Py_None;
5805 {
5806 if (arg2) delete arg2;
5807 }
5808 return resultobj;
5809 fail:
5810 {
5811 if (arg2) delete arg2;
5812 }
5813 return NULL;
5814}
5815
5816
5817static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5820 int arg2 ;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "indent", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->SetLeftIndent(arg2);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 Py_INCREF(Py_None); resultobj = Py_None;
5836 return resultobj;
5837 fail:
5838 return NULL;
5839}
5840
5841
5842static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5845 int arg2 ;
5846 PyObject * obj0 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self",(char *) "indent", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 (arg1)->SetRightIndent(arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 return resultobj;
5862 fail:
5863 return NULL;
5864}
5865
5866
5867static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5870 long arg2 ;
5871 PyObject * obj0 = 0 ;
5872 char *kwnames[] = {
5873 (char *) "self",(char *) "flags", NULL
5874 };
5875
5876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetFlags(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
5892static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5895 bool result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = PyInt_FromLong((long)result);
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj;
5919 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5920 bool result;
5921 PyObject * obj0 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 resultobj = PyInt_FromLong((long)result);
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
5942static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5945 bool result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 resultobj = PyInt_FromLong((long)result);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964}
5965
5966
5967static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5970 bool result;
5971 PyObject * obj0 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = PyInt_FromLong((long)result);
5986 return resultobj;
5987 fail:
5988 return NULL;
5989}
5990
5991
5992static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5995 bool result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = PyInt_FromLong((long)result);
6011 return resultobj;
6012 fail:
6013 return NULL;
6014}
6015
6016
6017static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6020 bool result;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 resultobj = PyInt_FromLong((long)result);
6036 return resultobj;
6037 fail:
6038 return NULL;
6039}
6040
6041
6042static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6045 bool result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = PyInt_FromLong((long)result);
6061 return resultobj;
6062 fail:
6063 return NULL;
6064}
6065
6066
6067static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6070 long arg2 ;
6071 bool result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self",(char *) "flag", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 resultobj = PyInt_FromLong((long)result);
6087 return resultobj;
6088 fail:
6089 return NULL;
6090}
6091
6092
6093static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6096 wxColour *result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 {
6107 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6108 result = (wxColour *) &_result_ref;
6109 }
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6115 return resultobj;
6116 fail:
6117 return NULL;
6118}
6119
6120
6121static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6124 wxColour *result;
6125 PyObject * obj0 = 0 ;
6126 char *kwnames[] = {
6127 (char *) "self", NULL
6128 };
6129
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 {
6135 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6136 result = (wxColour *) &_result_ref;
6137 }
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146}
6147
6148
6149static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6152 wxFont *result;
6153 PyObject * obj0 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 {
6163 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6164 result = (wxFont *) &_result_ref;
6165 }
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6171 return resultobj;
6172 fail:
6173 return NULL;
6174}
6175
6176
6177static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6180 int result;
6181 PyObject * obj0 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 resultobj = PyInt_FromLong((long)result);
6196 return resultobj;
6197 fail:
6198 return NULL;
6199}
6200
6201
6202static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6205 wxArrayInt *result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 {
6216 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6217 result = (wxArrayInt *) &_result_ref;
6218 }
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 {
6224 resultobj = PyList_New(0);
6225 size_t idx;
6226 for (idx = 0; idx < result->GetCount(); idx += 1) {
6227 PyObject* val = PyInt_FromLong( result->Item(idx) );
6228 PyList_Append(resultobj, val);
6229 Py_DECREF(val);
6230 }
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235}
6236
6237
6238static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6241 long result;
6242 PyObject * obj0 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 resultobj = PyInt_FromLong((long)result);
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
6263static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6266 long result;
6267 PyObject * obj0 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 resultobj = PyInt_FromLong((long)result);
6282 return resultobj;
6283 fail:
6284 return NULL;
6285}
6286
6287
6288static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6289 PyObject *resultobj;
6290 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6291 long result;
6292 PyObject * obj0 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 resultobj = PyInt_FromLong((long)result);
6307 return resultobj;
6308 fail:
6309 return NULL;
6310}
6311
6312
6313static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6316 bool result;
6317 PyObject * obj0 = 0 ;
6318 char *kwnames[] = {
6319 (char *) "self", NULL
6320 };
6321
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 resultobj = PyInt_FromLong((long)result);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335}
6336
6337
6338static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxTextAttr *arg1 = 0 ;
6341 wxTextAttr *arg2 = 0 ;
6342 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6343 wxTextAttr result;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 PyObject * obj2 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 if (arg1 == NULL) {
6354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6355 }
6356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 if (arg2 == NULL) {
6358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6359 }
6360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 wxTextAttr * resultptr;
6370 resultptr = new wxTextAttr((wxTextAttr &) result);
6371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6372 }
6373 return resultobj;
6374 fail:
6375 return NULL;
6376}
6377
6378
6379static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6380 PyObject *obj;
6381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6382 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6383 Py_INCREF(obj);
6384 return Py_BuildValue((char *)"");
6385}
6386static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj;
6388 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6389 int arg2 ;
d14a1e28
RD
6390 wxString const &arg3_defvalue = wxPyEmptyString ;
6391 wxString *arg3 = (wxString *) &arg3_defvalue ;
6392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6394 wxSize const &arg5_defvalue = wxDefaultSize ;
6395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6396 long arg6 = (long) 0 ;
6397 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6398 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6399 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6400 wxString *arg8 = (wxString *) &arg8_defvalue ;
6401 wxTextCtrl *result;
e811c8ce 6402 bool temp3 = False ;
d14a1e28
RD
6403 wxPoint temp4 ;
6404 wxSize temp5 ;
e811c8ce 6405 bool temp8 = False ;
d14a1e28
RD
6406 PyObject * obj0 = 0 ;
6407 PyObject * obj2 = 0 ;
6408 PyObject * obj3 = 0 ;
6409 PyObject * obj4 = 0 ;
6410 PyObject * obj6 = 0 ;
6411 PyObject * obj7 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6418 if (obj2) {
6419 {
6420 arg3 = wxString_in_helper(obj2);
6421 if (arg3 == NULL) SWIG_fail;
e811c8ce 6422 temp3 = True;
d14a1e28
RD
6423 }
6424 }
6425 if (obj3) {
6426 {
6427 arg4 = &temp4;
6428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6429 }
6430 }
6431 if (obj4) {
6432 {
6433 arg5 = &temp5;
6434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6435 }
6436 }
6437 if (obj6) {
6438 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 if (arg7 == NULL) {
6440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6441 }
6442 }
6443 if (obj7) {
6444 {
6445 arg8 = wxString_in_helper(obj7);
6446 if (arg8 == NULL) SWIG_fail;
e811c8ce 6447 temp8 = True;
d14a1e28
RD
6448 }
6449 }
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 {
6458 resultobj = wxPyMake_wxObject(result);
6459 }
6460 {
6461 if (temp3)
6462 delete arg3;
6463 }
6464 {
6465 if (temp8)
6466 delete arg8;
6467 }
6468 return resultobj;
6469 fail:
6470 {
6471 if (temp3)
6472 delete arg3;
6473 }
6474 {
6475 if (temp8)
6476 delete arg8;
6477 }
6478 return NULL;
6479}
6480
6481
6482static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj;
6484 wxTextCtrl *result;
6485 char *kwnames[] = {
6486 NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxTextCtrl *)new wxTextCtrl();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 {
6498 resultobj = wxPyMake_wxObject(result);
6499 }
6500 return resultobj;
6501 fail:
6502 return NULL;
6503}
6504
6505
6506static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6509 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6510 int arg3 ;
d14a1e28
RD
6511 wxString const &arg4_defvalue = wxPyEmptyString ;
6512 wxString *arg4 = (wxString *) &arg4_defvalue ;
6513 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6514 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6515 wxSize const &arg6_defvalue = wxDefaultSize ;
6516 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6517 long arg7 = (long) 0 ;
6518 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6519 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6520 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6521 wxString *arg9 = (wxString *) &arg9_defvalue ;
6522 bool result;
e811c8ce 6523 bool temp4 = False ;
d14a1e28
RD
6524 wxPoint temp5 ;
6525 wxSize temp6 ;
e811c8ce 6526 bool temp9 = False ;
d14a1e28
RD
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 PyObject * obj3 = 0 ;
6530 PyObject * obj4 = 0 ;
6531 PyObject * obj5 = 0 ;
6532 PyObject * obj7 = 0 ;
6533 PyObject * obj8 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6541 if (obj3) {
6542 {
6543 arg4 = wxString_in_helper(obj3);
6544 if (arg4 == NULL) SWIG_fail;
e811c8ce 6545 temp4 = True;
d14a1e28
RD
6546 }
6547 }
6548 if (obj4) {
6549 {
6550 arg5 = &temp5;
6551 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6552 }
6553 }
6554 if (obj5) {
6555 {
6556 arg6 = &temp6;
6557 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6558 }
6559 }
6560 if (obj7) {
6561 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6562 if (arg8 == NULL) {
6563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6564 }
6565 }
6566 if (obj8) {
6567 {
6568 arg9 = wxString_in_helper(obj8);
6569 if (arg9 == NULL) SWIG_fail;
e811c8ce 6570 temp9 = True;
d14a1e28
RD
6571 }
6572 }
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 resultobj = PyInt_FromLong((long)result);
6581 {
6582 if (temp4)
6583 delete arg4;
6584 }
6585 {
6586 if (temp9)
6587 delete arg9;
6588 }
6589 return resultobj;
6590 fail:
6591 {
6592 if (temp4)
6593 delete arg4;
6594 }
6595 {
6596 if (temp9)
6597 delete arg9;
6598 }
6599 return NULL;
6600}
6601
6602
6603static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject *resultobj;
6605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6606 wxString result;
6607 PyObject * obj0 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "self", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = ((wxTextCtrl const *)arg1)->GetValue();
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 {
6622#if wxUSE_UNICODE
6623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6624#else
6625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6626#endif
6627 }
6628 return resultobj;
6629 fail:
6630 return NULL;
6631}
6632
6633
6634static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6637 wxString *arg2 = 0 ;
e811c8ce 6638 bool temp2 = False ;
d14a1e28
RD
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "value", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6647 {
6648 arg2 = wxString_in_helper(obj1);
6649 if (arg2 == NULL) SWIG_fail;
e811c8ce 6650 temp2 = True;
d14a1e28
RD
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetValue((wxString const &)*arg2);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 Py_INCREF(Py_None); resultobj = Py_None;
6660 {
6661 if (temp2)
6662 delete arg2;
6663 }
6664 return resultobj;
6665 fail:
6666 {
6667 if (temp2)
6668 delete arg2;
6669 }
6670 return NULL;
6671}
6672
6673
6674static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6677 long arg2 ;
6678 long arg3 ;
6679 wxString result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "from",(char *) "to", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) 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 = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695#if wxUSE_UNICODE
6696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6697#else
6698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6699#endif
6700 }
6701 return resultobj;
6702 fail:
6703 return NULL;
6704}
6705
6706
6707static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6710 long arg2 ;
6711 int result;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self",(char *) "lineNo", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = PyInt_FromLong((long)result);
6727 return resultobj;
6728 fail:
6729 return NULL;
6730}
6731
6732
6733static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6736 long arg2 ;
6737 wxString result;
6738 PyObject * obj0 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "self",(char *) "lineNo", NULL
6741 };
6742
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 {
6753#if wxUSE_UNICODE
6754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6755#else
6756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6757#endif
6758 }
6759 return resultobj;
6760 fail:
6761 return NULL;
6762}
6763
6764
6765static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6768 int result;
6769 PyObject * obj0 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = PyInt_FromLong((long)result);
6784 return resultobj;
6785 fail:
6786 return NULL;
6787}
6788
6789
6790static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6793 bool result;
6794 PyObject * obj0 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 resultobj = PyInt_FromLong((long)result);
6809 return resultobj;
6810 fail:
6811 return NULL;
6812}
6813
6814
6815static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6818 bool result;
6819 PyObject * obj0 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 resultobj = PyInt_FromLong((long)result);
6834 return resultobj;
6835 fail:
6836 return NULL;
6837}
6838
6839
6840static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6843 bool result;
6844 PyObject * obj0 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = PyInt_FromLong((long)result);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862}
6863
6864
6865static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6868 bool result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
6878 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6879
6880 wxPyEndAllowThreads(__tstate);
6881 if (PyErr_Occurred()) SWIG_fail;
6882 }
6883 resultobj = PyInt_FromLong((long)result);
6884 return resultobj;
6885 fail:
6886 return NULL;
6887}
6888
6889
6890static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6893 long *arg2 = (long *) 0 ;
6894 long *arg3 = (long *) 0 ;
6895 long temp2 ;
6896 long temp3 ;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self", NULL
6900 };
6901
6902 arg2 = &temp2;
6903 arg3 = &temp3;
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 {
6915 PyObject *o = PyInt_FromLong((long) (*arg2));
6916 resultobj = t_output_helper(resultobj,o);
6917 }
6918 {
6919 PyObject *o = PyInt_FromLong((long) (*arg3));
6920 resultobj = t_output_helper(resultobj,o);
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925}
6926
6927
6928static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6931 wxString result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947#if wxUSE_UNICODE
6948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6949#else
6950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6951#endif
6952 }
6953 return resultobj;
6954 fail:
6955 return NULL;
6956}
6957
6958
6959static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6962 PyObject * obj0 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 (arg1)->Clear();
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 Py_INCREF(Py_None); resultobj = Py_None;
6977 return resultobj;
6978 fail:
6979 return NULL;
6980}
6981
6982
6983static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6986 long arg2 ;
6987 long arg3 ;
6988 wxString *arg4 = 0 ;
e811c8ce 6989 bool temp4 = False ;
d14a1e28
RD
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj3 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6998 {
6999 arg4 = wxString_in_helper(obj3);
7000 if (arg4 == NULL) SWIG_fail;
e811c8ce 7001 temp4 = True;
d14a1e28
RD
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 {
7012 if (temp4)
7013 delete arg4;
7014 }
7015 return resultobj;
7016 fail:
7017 {
7018 if (temp4)
7019 delete arg4;
7020 }
7021 return NULL;
7022}
7023
7024
7025static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj;
7027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7028 long arg2 ;
7029 long arg3 ;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self",(char *) "from",(char *) "to", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 (arg1)->Remove(arg2,arg3);
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 return resultobj;
7046 fail:
7047 return NULL;
7048}
7049
7050
7051static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7054 wxString *arg2 = 0 ;
7055 bool result;
e811c8ce 7056 bool temp2 = False ;
d14a1e28
RD
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "file", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 arg2 = wxString_in_helper(obj1);
7067 if (arg2 == NULL) SWIG_fail;
e811c8ce 7068 temp2 = True;
d14a1e28
RD
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = PyInt_FromLong((long)result);
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return resultobj;
7083 fail:
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return NULL;
7089}
7090
7091
7092static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7095 wxString const &arg2_defvalue = wxPyEmptyString ;
7096 wxString *arg2 = (wxString *) &arg2_defvalue ;
7097 bool result;
e811c8ce 7098 bool temp2 = False ;
d14a1e28
RD
7099 PyObject * obj0 = 0 ;
7100 PyObject * obj1 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self",(char *) "file", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7107 if (obj1) {
7108 {
7109 arg2 = wxString_in_helper(obj1);
7110 if (arg2 == NULL) SWIG_fail;
e811c8ce 7111 temp2 = True;
d14a1e28
RD
7112 }
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = PyInt_FromLong((long)result);
7122 {
7123 if (temp2)
7124 delete arg2;
7125 }
7126 return resultobj;
7127 fail:
7128 {
7129 if (temp2)
7130 delete arg2;
7131 }
7132 return NULL;
7133}
7134
7135
7136static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->MarkDirty();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157}
7158
7159
7160static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 (arg1)->DiscardEdits();
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 Py_INCREF(Py_None); resultobj = Py_None;
7178 return resultobj;
7179 fail:
7180 return NULL;
7181}
7182
7183
7184static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7187 unsigned long arg2 ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self",(char *) "len", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 arg2 = (unsigned long) PyInt_AsLong(obj1);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->SetMaxLength(arg2);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 Py_INCREF(Py_None); resultobj = Py_None;
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7215 wxString *arg2 = 0 ;
e811c8ce 7216 bool temp2 = False ;
d14a1e28
RD
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "text", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 {
7226 arg2 = wxString_in_helper(obj1);
7227 if (arg2 == NULL) SWIG_fail;
e811c8ce 7228 temp2 = True;
d14a1e28
RD
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->WriteText((wxString const &)*arg2);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp2)
7246 delete arg2;
7247 }
7248 return NULL;
7249}
7250
7251
7252static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7255 wxString *arg2 = 0 ;
e811c8ce 7256 bool temp2 = False ;
d14a1e28
RD
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self",(char *) "text", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 arg2 = wxString_in_helper(obj1);
7267 if (arg2 == NULL) SWIG_fail;
e811c8ce 7268 temp2 = True;
d14a1e28
RD
7269 }
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 (arg1)->AppendText((wxString const &)*arg2);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 Py_INCREF(Py_None); resultobj = Py_None;
7278 {
7279 if (temp2)
7280 delete arg2;
7281 }
7282 return resultobj;
7283 fail:
7284 {
7285 if (temp2)
7286 delete arg2;
7287 }
7288 return NULL;
7289}
7290
7291
7292static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7295 wxKeyEvent *arg2 = 0 ;
7296 bool result;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "event", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7306 if (arg2 == NULL) {
7307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7308 }
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = PyInt_FromLong((long)result);
7317 return resultobj;
7318 fail:
7319 return NULL;
7320}
7321
7322
7323static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7326 long arg2 ;
7327 long arg3 ;
7328 wxTextAttr *arg4 = 0 ;
7329 bool result;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj3 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7338 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7339 if (arg4 == NULL) {
7340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 resultobj = PyInt_FromLong((long)result);
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
7356static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7359 long arg2 ;
7360 wxTextAttr *arg3 = 0 ;
7361 bool result;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj2 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self",(char *) "position",(char *) "style", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7370 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7371 if (arg3 == NULL) {
7372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7373 }
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = PyInt_FromLong((long)result);
7382 return resultobj;
7383 fail:
7384 return NULL;
7385}
7386
7387
7388static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7391 wxTextAttr *arg2 = 0 ;
7392 bool result;
7393 PyObject * obj0 = 0 ;
7394 PyObject * obj1 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self",(char *) "style", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7402 if (arg2 == NULL) {
7403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7404 }
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = PyInt_FromLong((long)result);
7413 return resultobj;
7414 fail:
7415 return NULL;
7416}
7417
7418
7419static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7422 wxTextAttr *result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 {
7433 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7434 result = (wxTextAttr *) &_result_ref;
7435 }
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7441 return resultobj;
7442 fail:
7443 return NULL;
7444}
7445
7446
7447static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7450 long arg2 ;
7451 long arg3 ;
7452 long result;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "x",(char *) "y", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = PyInt_FromLong((long)result);
7468 return resultobj;
7469 fail:
7470 return NULL;
7471}
7472
7473
7474static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7477 long arg2 ;
7478 long *arg3 = (long *) 0 ;
7479 long *arg4 = (long *) 0 ;
7480 long temp3 ;
7481 long temp4 ;
7482 PyObject * obj0 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "self",(char *) "pos", NULL
7485 };
7486
7487 arg3 = &temp3;
7488 arg4 = &temp4;
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 Py_INCREF(Py_None); resultobj = Py_None;
7499 {
7500 PyObject *o = PyInt_FromLong((long) (*arg3));
7501 resultobj = t_output_helper(resultobj,o);
7502 }
7503 {
7504 PyObject *o = PyInt_FromLong((long) (*arg4));
7505 resultobj = t_output_helper(resultobj,o);
7506 }
7507 return resultobj;
7508 fail:
7509 return NULL;
7510}
7511
7512
7513static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7516 long arg2 ;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "pos", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 (arg1)->ShowPosition(arg2);
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
7538static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7541 PyObject * obj0 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 (arg1)->Copy();
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 Py_INCREF(Py_None); resultobj = Py_None;
7556 return resultobj;
7557 fail:
7558 return NULL;
7559}
7560
7561
7562static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->Cut();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
7586static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->Paste();
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
7610static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj;
7612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7613 bool result;
7614 PyObject * obj0 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = PyInt_FromLong((long)result);
7629 return resultobj;
7630 fail:
7631 return NULL;
7632}
7633
7634
7635static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7638 bool result;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = PyInt_FromLong((long)result);
7654 return resultobj;
7655 fail:
7656 return NULL;
7657}
7658
7659
7660static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7663 bool result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = PyInt_FromLong((long)result);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682}
7683
7684
7685static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Undo();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706}
7707
7708
7709static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->Redo();
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7736 bool result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = PyInt_FromLong((long)result);
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
7758static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = PyInt_FromLong((long)result);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780}
7781
7782
7783static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7786 long arg2 ;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "pos", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 (arg1)->SetInsertionPoint(arg2);
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 Py_INCREF(Py_None); resultobj = Py_None;
7802 return resultobj;
7803 fail:
7804 return NULL;
7805}
7806
7807
7808static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7811 PyObject * obj0 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetInsertionPointEnd();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829}
7830
7831
7832static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7835 long result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = PyInt_FromLong((long)result);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854}
7855
7856
7857static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7860 long result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 resultobj = PyInt_FromLong((long)result);
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
7882static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7885 long arg2 ;
7886 long arg3 ;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self",(char *) "from",(char *) "to", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetSelection(arg2,arg3);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
7908static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 (arg1)->SelectAll();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929}
7930
7931
7932static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7935 bool arg2 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "editable", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 arg2 = PyInt_AsLong(obj1) ? true : false;
7945 if (PyErr_Occurred()) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->SetEditable(arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
7960static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7963 wxString *arg2 = 0 ;
e811c8ce 7964 bool temp2 = False ;
d14a1e28
RD
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self",(char *) "text", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 {
7974 arg2 = wxString_in_helper(obj1);
7975 if (arg2 == NULL) SWIG_fail;
e811c8ce 7976 temp2 = True;
d14a1e28
RD
7977 }
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 Py_INCREF(Py_None); resultobj = Py_None;
7986 {
7987 if (temp2)
7988 delete arg2;
7989 }
7990 return resultobj;
7991 fail:
7992 {
7993 if (temp2)
7994 delete arg2;
7995 }
7996 return NULL;
7997}
7998
7999
8000static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8003 long arg2 ;
8004 long arg3 ;
8005 wxString result;
8006 PyObject * obj0 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self",(char *) "from",(char *) "to", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021#if wxUSE_UNICODE
8022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8023#else
8024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8025#endif
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
8033static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8034 PyObject *obj;
8035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8037 Py_INCREF(obj);
8038 return Py_BuildValue((char *)"");
8039}
8040static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 int arg1 ;
8043 wxMouseEvent *arg2 = 0 ;
8044 long arg3 ;
8045 long arg4 ;
8046 wxTextUrlEvent *result;
8047 PyObject * obj1 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8054 if (arg2 == NULL) {
8055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8065 return resultobj;
8066 fail:
8067 return NULL;
8068}
8069
8070
8071static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8074 wxMouseEvent *result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 {
8085 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8086 result = (wxMouseEvent *) &_result_ref;
8087 }
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8102 long result;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 resultobj = PyInt_FromLong((long)result);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
8124static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8127 long result;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = PyInt_FromLong((long)result);
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
8149static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8150 PyObject *obj;
8151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8153 Py_INCREF(obj);
8154 return Py_BuildValue((char *)"");
8155}
b2dc1044
RD
8156static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8157 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8158 return 1;
8159}
8160
8161
8162static PyObject *_wrap_ScrollBarNameStr_get() {
8163 PyObject *pyobj;
8164
8165 {
8166#if wxUSE_UNICODE
8167 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8168#else
8169 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8170#endif
8171 }
8172 return pyobj;
8173}
8174
8175
d14a1e28
RD
8176static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8179 int arg2 = (int) -1 ;
d14a1e28
RD
8180 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8181 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8182 wxSize const &arg4_defvalue = wxDefaultSize ;
8183 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8184 long arg5 = (long) wxSB_HORIZONTAL ;
8185 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8186 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8187 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8188 wxString *arg7 = (wxString *) &arg7_defvalue ;
8189 wxScrollBar *result;
8190 wxPoint temp3 ;
8191 wxSize temp4 ;
e811c8ce 8192 bool temp7 = False ;
d14a1e28
RD
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj2 = 0 ;
8195 PyObject * obj3 = 0 ;
8196 PyObject * obj5 = 0 ;
8197 PyObject * obj6 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if (obj2) {
8205 {
8206 arg3 = &temp3;
8207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8208 }
8209 }
8210 if (obj3) {
8211 {
8212 arg4 = &temp4;
8213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8214 }
8215 }
8216 if (obj5) {
8217 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8218 if (arg6 == NULL) {
8219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8220 }
8221 }
8222 if (obj6) {
8223 {
8224 arg7 = wxString_in_helper(obj6);
8225 if (arg7 == NULL) SWIG_fail;
e811c8ce 8226 temp7 = True;
d14a1e28
RD
8227 }
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8237 {
8238 if (temp7)
8239 delete arg7;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp7)
8245 delete arg7;
8246 }
8247 return NULL;
8248}
8249
8250
8251static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxScrollBar *result;
8254 char *kwnames[] = {
8255 NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (wxScrollBar *)new wxScrollBar();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8267 return resultobj;
8268 fail:
8269 return NULL;
8270}
8271
8272
8273static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8276 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8277 int arg3 = (int) -1 ;
d14a1e28
RD
8278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8280 wxSize const &arg5_defvalue = wxDefaultSize ;
8281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8282 long arg6 = (long) wxSB_HORIZONTAL ;
8283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8285 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8286 wxString *arg8 = (wxString *) &arg8_defvalue ;
8287 bool result;
8288 wxPoint temp4 ;
8289 wxSize temp5 ;
e811c8ce 8290 bool temp8 = False ;
d14a1e28
RD
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 PyObject * obj3 = 0 ;
8294 PyObject * obj4 = 0 ;
8295 PyObject * obj6 = 0 ;
8296 PyObject * obj7 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8304 if (obj3) {
8305 {
8306 arg4 = &temp4;
8307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8308 }
8309 }
8310 if (obj4) {
8311 {
8312 arg5 = &temp5;
8313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8314 }
8315 }
8316 if (obj6) {
8317 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8318 if (arg7 == NULL) {
8319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8320 }
8321 }
8322 if (obj7) {
8323 {
8324 arg8 = wxString_in_helper(obj7);
8325 if (arg8 == NULL) SWIG_fail;
e811c8ce 8326 temp8 = True;
d14a1e28
RD
8327 }
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = PyInt_FromLong((long)result);
8337 {
8338 if (temp8)
8339 delete arg8;
8340 }
8341 return resultobj;
8342 fail:
8343 {
8344 if (temp8)
8345 delete arg8;
8346 }
8347 return NULL;
8348}
8349
8350
8351static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8354 int result;
8355 PyObject * obj0 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 resultobj = PyInt_FromLong((long)result);
8370 return resultobj;
8371 fail:
8372 return NULL;
8373}
8374
8375
8376static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8379 int result;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = PyInt_FromLong((long)result);
8395 return resultobj;
8396 fail:
8397 return NULL;
8398}
8399
8400
8401static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8404 int result;
8405 PyObject * obj0 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = PyInt_FromLong((long)result);
8420 return resultobj;
8421 fail:
8422 return NULL;
8423}
8424
8425
8426static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8429 int result;
8430 PyObject * obj0 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (int)((wxScrollBar const *)arg1)->GetRange();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 resultobj = PyInt_FromLong((long)result);
8445 return resultobj;
8446 fail:
8447 return NULL;
8448}
8449
8450
8451static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8454 bool result;
8455 PyObject * obj0 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = PyInt_FromLong((long)result);
8470 return resultobj;
8471 fail:
8472 return NULL;
8473}
8474
8475
8476static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj;
8478 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8479 int arg2 ;
8480 PyObject * obj0 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "viewStart", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 (arg1)->SetThumbPosition(arg2);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 Py_INCREF(Py_None); resultobj = Py_None;
8495 return resultobj;
8496 fail:
8497 return NULL;
8498}
8499
8500
8501static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8504 int arg2 ;
8505 int arg3 ;
8506 int arg4 ;
8507 int arg5 ;
e811c8ce 8508 bool arg6 = (bool) True ;
d14a1e28
RD
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj5 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8517 if (obj5) {
8518 arg6 = PyInt_AsLong(obj5) ? true : false;
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 {
8522 PyThreadState* __tstate = wxPyBeginAllowThreads();
8523 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8524
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 Py_INCREF(Py_None); resultobj = Py_None;
8529 return resultobj;
8530 fail:
8531 return NULL;
8532}
8533
8534
8535static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8536 PyObject *obj;
8537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8538 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8539 Py_INCREF(obj);
8540 return Py_BuildValue((char *)"");
8541}
b2dc1044
RD
8542static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8543 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8544 return 1;
8545}
8546
8547
8548static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8549 PyObject *pyobj;
8550
8551 {
8552#if wxUSE_UNICODE
8553 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8554#else
8555 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8556#endif
8557 }
8558 return pyobj;
8559}
8560
8561
8562static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8563 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8564 return 1;
8565}
8566
8567
8568static PyObject *_wrap_SpinCtrlNameStr_get() {
8569 PyObject *pyobj;
8570
8571 {
8572#if wxUSE_UNICODE
8573 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8574#else
8575 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8576#endif
8577 }
8578 return pyobj;
8579}
8580
8581
d14a1e28
RD
8582static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8585 int arg2 = (int) -1 ;
d14a1e28
RD
8586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8588 wxSize const &arg4_defvalue = wxDefaultSize ;
8589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8590 long arg5 = (long) wxSP_HORIZONTAL ;
8591 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8592 wxString *arg6 = (wxString *) &arg6_defvalue ;
8593 wxSpinButton *result;
8594 wxPoint temp3 ;
8595 wxSize temp4 ;
e811c8ce 8596 bool temp6 = False ;
d14a1e28
RD
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj2 = 0 ;
8599 PyObject * obj3 = 0 ;
8600 PyObject * obj5 = 0 ;
8601 char *kwnames[] = {
8602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8603 };
8604
8605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8607 if (obj2) {
8608 {
8609 arg3 = &temp3;
8610 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8611 }
8612 }
8613 if (obj3) {
8614 {
8615 arg4 = &temp4;
8616 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8617 }
8618 }
8619 if (obj5) {
8620 {
8621 arg6 = wxString_in_helper(obj5);
8622 if (arg6 == NULL) SWIG_fail;
e811c8ce 8623 temp6 = True;
d14a1e28
RD
8624 }
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8634 {
8635 if (temp6)
8636 delete arg6;
8637 }
8638 return resultobj;
8639 fail:
8640 {
8641 if (temp6)
8642 delete arg6;
8643 }
8644 return NULL;
8645}
8646
8647
8648static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj;
8650 wxSpinButton *result;
8651 char *kwnames[] = {
8652 NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxSpinButton *)new wxSpinButton();
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667}
8668
8669
8670static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8673 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8674 int arg3 = (int) -1 ;
d14a1e28
RD
8675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8677 wxSize const &arg5_defvalue = wxDefaultSize ;
8678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8679 long arg6 = (long) wxSP_HORIZONTAL ;
8680 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8681 wxString *arg7 = (wxString *) &arg7_defvalue ;
8682 bool result;
8683 wxPoint temp4 ;
8684 wxSize temp5 ;
e811c8ce 8685 bool temp7 = False ;
d14a1e28
RD
8686 PyObject * obj0 = 0 ;
8687 PyObject * obj1 = 0 ;
8688 PyObject * obj3 = 0 ;
8689 PyObject * obj4 = 0 ;
8690 PyObject * obj6 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698 if (obj3) {
8699 {
8700 arg4 = &temp4;
8701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8702 }
8703 }
8704 if (obj4) {
8705 {
8706 arg5 = &temp5;
8707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8708 }
8709 }
8710 if (obj6) {
8711 {
8712 arg7 = wxString_in_helper(obj6);
8713 if (arg7 == NULL) SWIG_fail;
e811c8ce 8714 temp7 = True;
d14a1e28
RD
8715 }
8716 }
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
8724 resultobj = PyInt_FromLong((long)result);
8725 {
8726 if (temp7)
8727 delete arg7;
8728 }
8729 return resultobj;
8730 fail:
8731 {
8732 if (temp7)
8733 delete arg7;
8734 }
8735 return NULL;
8736}
8737
8738
8739static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8742 int result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (int)((wxSpinButton const *)arg1)->GetValue();
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = PyInt_FromLong((long)result);
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
8764static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8767 int result;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (int)((wxSpinButton const *)arg1)->GetMin();
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = PyInt_FromLong((long)result);
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
8789static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8792 int result;
8793 PyObject * obj0 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (int)((wxSpinButton const *)arg1)->GetMax();
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = PyInt_FromLong((long)result);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
8814static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8817 int arg2 ;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "val", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 (arg1)->SetValue(arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
8833 return resultobj;
8834 fail:
8835 return NULL;
8836}
8837
8838
8839static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8842 int arg2 ;
8843 PyObject * obj0 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self",(char *) "minVal", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 (arg1)->SetMin(arg2);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 Py_INCREF(Py_None); resultobj = Py_None;
8858 return resultobj;
8859 fail:
8860 return NULL;
8861}
8862
8863
8864static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8867 int arg2 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self",(char *) "maxVal", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetMax(arg2);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886}
8887
8888
8889static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8892 int arg2 ;
8893 int arg3 ;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetRange(arg2,arg3);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912}
8913
8914
8915static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = PyInt_FromLong((long)result);
8934 return resultobj;
8935 fail:
8936 return NULL;
8937}
8938
8939
8940static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8941 PyObject *obj;
8942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8943 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8944 Py_INCREF(obj);
8945 return Py_BuildValue((char *)"");
8946}
8947static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8950 int arg2 = (int) -1 ;
d14a1e28
RD
8951 wxString const &arg3_defvalue = wxPyEmptyString ;
8952 wxString *arg3 = (wxString *) &arg3_defvalue ;
8953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8955 wxSize const &arg5_defvalue = wxDefaultSize ;
8956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8957 long arg6 = (long) wxSP_ARROW_KEYS ;
8958 int arg7 = (int) 0 ;
8959 int arg8 = (int) 100 ;
8960 int arg9 = (int) 0 ;
8961 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8962 wxString *arg10 = (wxString *) &arg10_defvalue ;
8963 wxSpinCtrl *result;
e811c8ce 8964 bool temp3 = False ;
d14a1e28
RD
8965 wxPoint temp4 ;
8966 wxSize temp5 ;
e811c8ce 8967 bool temp10 = False ;
d14a1e28
RD
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj2 = 0 ;
8970 PyObject * obj3 = 0 ;
8971 PyObject * obj4 = 0 ;
8972 PyObject * obj9 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979 if (obj2) {
8980 {
8981 arg3 = wxString_in_helper(obj2);
8982 if (arg3 == NULL) SWIG_fail;
e811c8ce 8983 temp3 = True;
d14a1e28
RD
8984 }
8985 }
8986 if (obj3) {
8987 {
8988 arg4 = &temp4;
8989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8990 }
8991 }
8992 if (obj4) {
8993 {
8994 arg5 = &temp5;
8995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8996 }
8997 }
8998 if (obj9) {
8999 {
9000 arg10 = wxString_in_helper(obj9);
9001 if (arg10 == NULL) SWIG_fail;
e811c8ce 9002 temp10 = True;
d14a1e28
RD
9003 }
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9013 {
9014 if (temp3)
9015 delete arg3;
9016 }
9017 {
9018 if (temp10)
9019 delete arg10;
9020 }
9021 return resultobj;
9022 fail:
9023 {
9024 if (temp3)
9025 delete arg3;
9026 }
9027 {
9028 if (temp10)
9029 delete arg10;
9030 }
9031 return NULL;
9032}
9033
9034
9035static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxSpinCtrl *result;
9038 char *kwnames[] = {
9039 NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (wxSpinCtrl *)new wxSpinCtrl();
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9051 return resultobj;
9052 fail:
9053 return NULL;
9054}
9055
9056
9057static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9060 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9061 int arg3 = (int) -1 ;
d14a1e28
RD
9062 wxString const &arg4_defvalue = wxPyEmptyString ;
9063 wxString *arg4 = (wxString *) &arg4_defvalue ;
9064 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9065 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9066 wxSize const &arg6_defvalue = wxDefaultSize ;
9067 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9068 long arg7 = (long) wxSP_ARROW_KEYS ;
9069 int arg8 = (int) 0 ;
9070 int arg9 = (int) 100 ;
9071 int arg10 = (int) 0 ;
9072 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9073 wxString *arg11 = (wxString *) &arg11_defvalue ;
9074 bool result;
e811c8ce 9075 bool temp4 = False ;
d14a1e28
RD
9076 wxPoint temp5 ;
9077 wxSize temp6 ;
e811c8ce 9078 bool temp11 = False ;
d14a1e28
RD
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj3 = 0 ;
9082 PyObject * obj4 = 0 ;
9083 PyObject * obj5 = 0 ;
9084 PyObject * obj10 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9092 if (obj3) {
9093 {
9094 arg4 = wxString_in_helper(obj3);
9095 if (arg4 == NULL) SWIG_fail;
e811c8ce 9096 temp4 = True;
d14a1e28
RD
9097 }
9098 }
9099 if (obj4) {
9100 {
9101 arg5 = &temp5;
9102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9103 }
9104 }
9105 if (obj5) {
9106 {
9107 arg6 = &temp6;
9108 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9109 }
9110 }
9111 if (obj10) {
9112 {
9113 arg11 = wxString_in_helper(obj10);
9114 if (arg11 == NULL) SWIG_fail;
e811c8ce 9115 temp11 = True;
d14a1e28
RD
9116 }
9117 }
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = PyInt_FromLong((long)result);
9126 {
9127 if (temp4)
9128 delete arg4;
9129 }
9130 {
9131 if (temp11)
9132 delete arg11;
9133 }
9134 return resultobj;
9135 fail:
9136 {
9137 if (temp4)
9138 delete arg4;
9139 }
9140 {
9141 if (temp11)
9142 delete arg11;
9143 }
9144 return NULL;
9145}
9146
9147
9148static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj;
9150 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9151 int result;
9152 PyObject * obj0 = 0 ;
9153 char *kwnames[] = {
9154 (char *) "self", NULL
9155 };
9156
9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 resultobj = PyInt_FromLong((long)result);
9167 return resultobj;
9168 fail:
9169 return NULL;
9170}
9171
9172
9173static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9176 int arg2 ;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "value", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->SetValue(arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195}
9196
9197
9198static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9201 wxString *arg2 = 0 ;
e811c8ce 9202 bool temp2 = False ;
d14a1e28
RD
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "text", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 {
9212 arg2 = wxString_in_helper(obj1);
9213 if (arg2 == NULL) SWIG_fail;
e811c8ce 9214 temp2 = True;
d14a1e28
RD
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->SetValue((wxString const &)*arg2);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 {
9225 if (temp2)
9226 delete arg2;
9227 }
9228 return resultobj;
9229 fail:
9230 {
9231 if (temp2)
9232 delete arg2;
9233 }
9234 return NULL;
9235}
9236
9237
9238static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9241 int arg2 ;
9242 int arg3 ;
9243 PyObject * obj0 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->SetRange(arg2,arg3);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 Py_INCREF(Py_None); resultobj = Py_None;
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
9264static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9267 int result;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = PyInt_FromLong((long)result);
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
9289static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9292 int result;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = PyInt_FromLong((long)result);
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
9314static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9317 long arg2 ;
9318 long arg3 ;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self",(char *) "from",(char *) "to", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 Py_INCREF(Py_None); resultobj = Py_None;
9334 return resultobj;
9335 fail:
9336 return NULL;
9337}
9338
9339
9340static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9341 PyObject *obj;
9342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9343 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9344 Py_INCREF(obj);
9345 return Py_BuildValue((char *)"");
9346}
b2dc1044
RD
9347static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9348 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9349 return 1;
9350}
9351
9352
9353static PyObject *_wrap_RadioBoxNameStr_get() {
9354 PyObject *pyobj;
9355
9356 {
9357#if wxUSE_UNICODE
9358 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9359#else
9360 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9361#endif
9362 }
9363 return pyobj;
9364}
9365
9366
9367static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9368 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9369 return 1;
9370}
9371
9372
9373static PyObject *_wrap_RadioButtonNameStr_get() {
9374 PyObject *pyobj;
9375
9376 {
9377#if wxUSE_UNICODE
9378 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9379#else
9380 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9381#endif
9382 }
9383 return pyobj;
9384}
9385
9386
d14a1e28
RD
9387static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9390 int arg2 ;
d14a1e28
RD
9391 wxString *arg3 = 0 ;
9392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9394 wxSize const &arg5_defvalue = wxDefaultSize ;
9395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9396 int arg6 = (int) 0 ;
9397 wxString *arg7 = (wxString *) NULL ;
9398 int arg8 = (int) 0 ;
9399 long arg9 = (long) wxRA_HORIZONTAL ;
9400 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9401 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9402 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9403 wxString *arg11 = (wxString *) &arg11_defvalue ;
9404 wxRadioBox *result;
e811c8ce 9405 bool temp3 = False ;
d14a1e28
RD
9406 wxPoint temp4 ;
9407 wxSize temp5 ;
e811c8ce 9408 bool temp10 = False ;
d14a1e28
RD
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj2 = 0 ;
9411 PyObject * obj3 = 0 ;
9412 PyObject * obj4 = 0 ;
9413 PyObject * obj5 = 0 ;
9414 PyObject * obj8 = 0 ;
9415 PyObject * obj9 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 {
9423 arg3 = wxString_in_helper(obj2);
9424 if (arg3 == NULL) SWIG_fail;
e811c8ce 9425 temp3 = True;
d14a1e28
RD
9426 }
9427 if (obj3) {
9428 {
9429 arg4 = &temp4;
9430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9431 }
9432 }
9433 if (obj4) {
9434 {
9435 arg5 = &temp5;
9436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9437 }
9438 }
9439 if (obj5) {
9440 {
9441 arg6 = PyList_Size(obj5);
9442 arg7 = wxString_LIST_helper(obj5);
9443 if (arg7 == NULL) SWIG_fail;
9444 }
9445 }
9446 if (obj8) {
9447 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9448 if (arg10 == NULL) {
9449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9450 }
9451 }
9452 if (obj9) {
9453 {
9454 arg11 = wxString_in_helper(obj9);
9455 if (arg11 == NULL) SWIG_fail;
e811c8ce 9456 temp10 = True;
d14a1e28
RD
9457 }
9458 }
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 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);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9467 {
9468 if (temp3)
9469 delete arg3;
9470 }
9471 {
9472 if (arg7) delete [] arg7;
9473 }
9474 {
9475 if (temp10)
9476 delete arg11;
9477 }
9478 return resultobj;
9479 fail:
9480 {
9481 if (temp3)
9482 delete arg3;
9483 }
9484 {
9485 if (arg7) delete [] arg7;
9486 }
9487 {
9488 if (temp10)
9489 delete arg11;
9490 }
9491 return NULL;
9492}
9493
9494
9495static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxRadioBox *result;
9498 char *kwnames[] = {
9499 NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxRadioBox *)new wxRadioBox();
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9520 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9521 int arg3 ;
d14a1e28
RD
9522 wxString *arg4 = 0 ;
9523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9525 wxSize const &arg6_defvalue = wxDefaultSize ;
9526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9527 int arg7 = (int) 0 ;
9528 wxString *arg8 = (wxString *) NULL ;
9529 int arg9 = (int) 0 ;
9530 long arg10 = (long) wxRA_HORIZONTAL ;
9531 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9532 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9533 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9534 wxString *arg12 = (wxString *) &arg12_defvalue ;
9535 bool result;
e811c8ce 9536 bool temp4 = False ;
d14a1e28
RD
9537 wxPoint temp5 ;
9538 wxSize temp6 ;
e811c8ce 9539 bool temp11 = False ;
d14a1e28
RD
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 PyObject * obj3 = 0 ;
9543 PyObject * obj4 = 0 ;
9544 PyObject * obj5 = 0 ;
9545 PyObject * obj6 = 0 ;
9546 PyObject * obj9 = 0 ;
9547 PyObject * obj10 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9555 {
9556 arg4 = wxString_in_helper(obj3);
9557 if (arg4 == NULL) SWIG_fail;
e811c8ce 9558 temp4 = True;
d14a1e28
RD
9559 }
9560 if (obj4) {
9561 {
9562 arg5 = &temp5;
9563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9564 }
9565 }
9566 if (obj5) {
9567 {
9568 arg6 = &temp6;
9569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9570 }
9571 }
9572 if (obj6) {
9573 {
9574 arg7 = PyList_Size(obj6);
9575 arg8 = wxString_LIST_helper(obj6);
9576 if (arg8 == NULL) SWIG_fail;
9577 }
9578 }
9579 if (obj9) {
9580 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9581 if (arg11 == NULL) {
9582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9583 }
9584 }
9585 if (obj10) {
9586 {
9587 arg12 = wxString_in_helper(obj10);
9588 if (arg12 == NULL) SWIG_fail;
e811c8ce 9589 temp11 = True;
d14a1e28
RD
9590 }
9591 }
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 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);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = PyInt_FromLong((long)result);
9600 {
9601 if (temp4)
9602 delete arg4;
9603 }
9604 {
9605 if (arg8) delete [] arg8;
9606 }
9607 {
9608 if (temp11)
9609 delete arg12;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp4)
9615 delete arg4;
9616 }
9617 {
9618 if (arg8) delete [] arg8;
9619 }
9620 {
9621 if (temp11)
9622 delete arg12;
9623 }
9624 return NULL;
9625}
9626
9627
9628static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9631 int arg2 ;
9632 PyObject * obj0 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "n", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 (arg1)->SetSelection(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 Py_INCREF(Py_None); resultobj = Py_None;
9647 return resultobj;
9648 fail:
9649 return NULL;
9650}
9651
9652
9653static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 resultobj = PyInt_FromLong((long)result);
9672 return resultobj;
9673 fail:
9674 return NULL;
9675}
9676
9677
9678static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9681 wxString result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697#if wxUSE_UNICODE
9698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9699#else
9700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9701#endif
9702 }
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
9709static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9712 wxString *arg2 = 0 ;
9713 bool result;
e811c8ce 9714 bool temp2 = False ;
d14a1e28
RD
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char *kwnames[] = {
9718 (char *) "self",(char *) "s", NULL
9719 };
9720
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 {
9724 arg2 = wxString_in_helper(obj1);
9725 if (arg2 == NULL) SWIG_fail;
e811c8ce 9726 temp2 = True;
d14a1e28
RD
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = PyInt_FromLong((long)result);
9736 {
9737 if (temp2)
9738 delete arg2;
9739 }
9740 return resultobj;
9741 fail:
9742 {
9743 if (temp2)
9744 delete arg2;
9745 }
9746 return NULL;
9747}
9748
9749
9750static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9753 int result;
9754 PyObject * obj0 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (int)((wxRadioBox const *)arg1)->GetCount();
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 resultobj = PyInt_FromLong((long)result);
9769 return resultobj;
9770 fail:
9771 return NULL;
9772}
9773
9774
9775static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9778 wxString *arg2 = 0 ;
9779 int result;
e811c8ce 9780 bool temp2 = False ;
d14a1e28
RD
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self",(char *) "s", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 arg2 = wxString_in_helper(obj1);
9791 if (arg2 == NULL) SWIG_fail;
e811c8ce 9792 temp2 = True;
d14a1e28
RD
9793 }
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = PyInt_FromLong((long)result);
9802 {
9803 if (temp2)
9804 delete arg2;
9805 }
9806 return resultobj;
9807 fail:
9808 {
9809 if (temp2)
9810 delete arg2;
9811 }
9812 return NULL;
9813}
9814
9815
9816static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj;
9818 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9819 int arg2 ;
9820 wxString result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self",(char *) "n", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 {
9836#if wxUSE_UNICODE
9837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9838#else
9839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9840#endif
9841 }
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
9848static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9851 int arg2 ;
9852 wxString *arg3 = 0 ;
e811c8ce 9853 bool temp3 = False ;
d14a1e28
RD
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj2 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self",(char *) "n",(char *) "label", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9862 {
9863 arg3 = wxString_in_helper(obj2);
9864 if (arg3 == NULL) SWIG_fail;
e811c8ce 9865 temp3 = True;
d14a1e28
RD
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 (arg1)->SetString(arg2,(wxString const &)*arg3);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 {
9876 if (temp3)
9877 delete arg3;
9878 }
9879 return resultobj;
9880 fail:
9881 {
9882 if (temp3)
9883 delete arg3;
9884 }
9885 return NULL;
9886}
9887
9888
9889static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9892 int arg2 ;
e811c8ce 9893 bool arg3 = (bool) True ;
d14a1e28
RD
9894 PyObject * obj0 = 0 ;
9895 PyObject * obj2 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self",(char *) "n",(char *) "enable", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9902 if (obj2) {
9903 arg3 = PyInt_AsLong(obj2) ? true : false;
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 (arg1)->Enable(arg2,arg3);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 Py_INCREF(Py_None); resultobj = Py_None;
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
9920static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9923 int arg2 ;
e811c8ce 9924 bool arg3 = (bool) True ;
d14a1e28
RD
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "n",(char *) "show", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9933 if (obj2) {
9934 arg3 = PyInt_AsLong(obj2) ? true : false;
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->Show(arg2,arg3);
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 Py_INCREF(Py_None); resultobj = Py_None;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948}
9949
9950
9951static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9954 int result;
9955 PyObject * obj0 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = PyInt_FromLong((long)result);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
9976static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9979 int result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 resultobj = PyInt_FromLong((long)result);
9995 return resultobj;
9996 fail:
9997 return NULL;
9998}
9999
10000
10001static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10004 int arg2 ;
10005 int arg3 ;
10006 long arg4 ;
10007 int result;
10008 PyObject * obj0 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = PyInt_FromLong((long)result);
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
10029static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10030 PyObject *obj;
10031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10032 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10033 Py_INCREF(obj);
10034 return Py_BuildValue((char *)"");
10035}
10036static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10039 int arg2 ;
d14a1e28
RD
10040 wxString *arg3 = 0 ;
10041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10043 wxSize const &arg5_defvalue = wxDefaultSize ;
10044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10045 long arg6 = (long) 0 ;
10046 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10047 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10048 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10049 wxString *arg8 = (wxString *) &arg8_defvalue ;
10050 wxRadioButton *result;
e811c8ce 10051 bool temp3 = False ;
d14a1e28
RD
10052 wxPoint temp4 ;
10053 wxSize temp5 ;
e811c8ce 10054 bool temp8 = False ;
d14a1e28
RD
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj2 = 0 ;
10057 PyObject * obj3 = 0 ;
10058 PyObject * obj4 = 0 ;
10059 PyObject * obj6 = 0 ;
10060 PyObject * obj7 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 arg3 = wxString_in_helper(obj2);
10069 if (arg3 == NULL) SWIG_fail;
e811c8ce 10070 temp3 = True;
d14a1e28
RD
10071 }
10072 if (obj3) {
10073 {
10074 arg4 = &temp4;
10075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10076 }
10077 }
10078 if (obj4) {
10079 {
10080 arg5 = &temp5;
10081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10082 }
10083 }
10084 if (obj6) {
10085 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10086 if (arg7 == NULL) {
10087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10088 }
10089 }
10090 if (obj7) {
10091 {
10092 arg8 = wxString_in_helper(obj7);
10093 if (arg8 == NULL) SWIG_fail;
e811c8ce 10094 temp8 = True;
d14a1e28
RD
10095 }
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10105 {
10106 if (temp3)
10107 delete arg3;
10108 }
10109 {
10110 if (temp8)
10111 delete arg8;
10112 }
10113 return resultobj;
10114 fail:
10115 {
10116 if (temp3)
10117 delete arg3;
10118 }
10119 {
10120 if (temp8)
10121 delete arg8;
10122 }
10123 return NULL;
10124}
10125
10126
10127static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxRadioButton *result;
10130 char *kwnames[] = {
10131 NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (wxRadioButton *)new wxRadioButton();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146}
10147
10148
10149static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10152 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10153 int arg3 ;
d14a1e28
RD
10154 wxString *arg4 = 0 ;
10155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10157 wxSize const &arg6_defvalue = wxDefaultSize ;
10158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10159 long arg7 = (long) 0 ;
10160 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10161 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10162 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10163 wxString *arg9 = (wxString *) &arg9_defvalue ;
10164 bool result;
e811c8ce 10165 bool temp4 = False ;
d14a1e28
RD
10166 wxPoint temp5 ;
10167 wxSize temp6 ;
e811c8ce 10168 bool temp9 = False ;
d14a1e28
RD
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 PyObject * obj3 = 0 ;
10172 PyObject * obj4 = 0 ;
10173 PyObject * obj5 = 0 ;
10174 PyObject * obj7 = 0 ;
10175 PyObject * obj8 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10183 {
10184 arg4 = wxString_in_helper(obj3);
10185 if (arg4 == NULL) SWIG_fail;
e811c8ce 10186 temp4 = True;
d14a1e28
RD
10187 }
10188 if (obj4) {
10189 {
10190 arg5 = &temp5;
10191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10192 }
10193 }
10194 if (obj5) {
10195 {
10196 arg6 = &temp6;
10197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10198 }
10199 }
10200 if (obj7) {
10201 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10202 if (arg8 == NULL) {
10203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10204 }
10205 }
10206 if (obj8) {
10207 {
10208 arg9 = wxString_in_helper(obj8);
10209 if (arg9 == NULL) SWIG_fail;
e811c8ce 10210 temp9 = True;
d14a1e28
RD
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = PyInt_FromLong((long)result);
10221 {
10222 if (temp4)
10223 delete arg4;
10224 }
10225 {
10226 if (temp9)
10227 delete arg9;
10228 }
10229 return resultobj;
10230 fail:
10231 {
10232 if (temp4)
10233 delete arg4;
10234 }
10235 {
10236 if (temp9)
10237 delete arg9;
10238 }
10239 return NULL;
10240}
10241
10242
10243static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10246 bool result;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = (bool)(arg1)->GetValue();
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = PyInt_FromLong((long)result);
10262 return resultobj;
10263 fail:
10264 return NULL;
10265}
10266
10267
10268static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10271 bool arg2 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "value", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 arg2 = PyInt_AsLong(obj1) ? true : false;
10281 if (PyErr_Occurred()) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SetValue(arg2);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293}
10294
10295
10296static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10297 PyObject *obj;
10298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10299 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10300 Py_INCREF(obj);
10301 return Py_BuildValue((char *)"");
10302}
b2dc1044
RD
10303static int _wrap_SliderNameStr_set(PyObject *_val) {
10304 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10305 return 1;
10306}
10307
10308
10309static PyObject *_wrap_SliderNameStr_get() {
10310 PyObject *pyobj;
10311
10312 {
10313#if wxUSE_UNICODE
10314 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10315#else
10316 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10317#endif
10318 }
10319 return pyobj;
10320}
10321
10322
d14a1e28
RD
10323static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10326 int arg2 ;
d14a1e28
RD
10327 int arg3 ;
10328 int arg4 ;
10329 int arg5 ;
10330 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10331 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10332 wxSize const &arg7_defvalue = wxDefaultSize ;
10333 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10334 long arg8 = (long) wxSL_HORIZONTAL ;
10335 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10336 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10337 wxString const &arg10_defvalue = wxPySliderNameStr ;
10338 wxString *arg10 = (wxString *) &arg10_defvalue ;
10339 wxSlider *result;
10340 wxPoint temp6 ;
10341 wxSize temp7 ;
e811c8ce 10342 bool temp10 = False ;
d14a1e28
RD
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj5 = 0 ;
10345 PyObject * obj6 = 0 ;
10346 PyObject * obj8 = 0 ;
10347 PyObject * obj9 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10354 if (obj5) {
10355 {
10356 arg6 = &temp6;
10357 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10358 }
10359 }
10360 if (obj6) {
10361 {
10362 arg7 = &temp7;
10363 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10364 }
10365 }
10366 if (obj8) {
10367 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 if (arg9 == NULL) {
10369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10370 }
10371 }
10372 if (obj9) {
10373 {
10374 arg10 = wxString_in_helper(obj9);
10375 if (arg10 == NULL) SWIG_fail;
e811c8ce 10376 temp10 = True;
d14a1e28
RD
10377 }
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10387 {
10388 if (temp10)
10389 delete arg10;
10390 }
10391 return resultobj;
10392 fail:
10393 {
10394 if (temp10)
10395 delete arg10;
10396 }
10397 return NULL;
10398}
10399
10400
10401static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxSlider *result;
10404 char *kwnames[] = {
10405 NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (wxSlider *)new wxSlider();
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10417 return resultobj;
10418 fail:
10419 return NULL;
10420}
10421
10422
10423static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxSlider *arg1 = (wxSlider *) 0 ;
10426 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10427 int arg3 ;
d14a1e28
RD
10428 int arg4 ;
10429 int arg5 ;
10430 int arg6 ;
10431 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10432 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10433 wxSize const &arg8_defvalue = wxDefaultSize ;
10434 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10435 long arg9 = (long) wxSL_HORIZONTAL ;
10436 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10437 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10438 wxString const &arg11_defvalue = wxPySliderNameStr ;
10439 wxString *arg11 = (wxString *) &arg11_defvalue ;
10440 bool result;
10441 wxPoint temp7 ;
10442 wxSize temp8 ;
e811c8ce 10443 bool temp11 = False ;
d14a1e28
RD
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 PyObject * obj6 = 0 ;
10447 PyObject * obj7 = 0 ;
10448 PyObject * obj9 = 0 ;
10449 PyObject * obj10 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457 if (obj6) {
10458 {
10459 arg7 = &temp7;
10460 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10461 }
10462 }
10463 if (obj7) {
10464 {
10465 arg8 = &temp8;
10466 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10467 }
10468 }
10469 if (obj9) {
10470 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 if (arg10 == NULL) {
10472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10473 }
10474 }
10475 if (obj10) {
10476 {
10477 arg11 = wxString_in_helper(obj10);
10478 if (arg11 == NULL) SWIG_fail;
e811c8ce 10479 temp11 = True;
d14a1e28
RD
10480 }
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = PyInt_FromLong((long)result);
10490 {
10491 if (temp11)
10492 delete arg11;
10493 }
10494 return resultobj;
10495 fail:
10496 {
10497 if (temp11)
10498 delete arg11;
10499 }
10500 return NULL;
10501}
10502
10503
10504static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxSlider *arg1 = (wxSlider *) 0 ;
10507 int result;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 result = (int)((wxSlider const *)arg1)->GetValue();
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 resultobj = PyInt_FromLong((long)result);
10523 return resultobj;
10524 fail:
10525 return NULL;
10526}
10527
10528
10529static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxSlider *arg1 = (wxSlider *) 0 ;
10532 int arg2 ;
10533 PyObject * obj0 = 0 ;
10534 char *kwnames[] = {
10535 (char *) "self",(char *) "value", NULL
10536 };
10537
10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->SetValue(arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 Py_INCREF(Py_None); resultobj = Py_None;
10548 return resultobj;
10549 fail:
10550 return NULL;
10551}
10552
10553
10554static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxSlider *arg1 = (wxSlider *) 0 ;
10557 int arg2 ;
10558 int arg3 ;
10559 PyObject * obj0 = 0 ;
10560 char *kwnames[] = {
10561 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10562 };
10563
10564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 (arg1)->SetRange(arg2,arg3);
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 Py_INCREF(Py_None); resultobj = Py_None;
10574 return resultobj;
10575 fail:
10576 return NULL;
10577}
10578
10579
10580static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxSlider *arg1 = (wxSlider *) 0 ;
10583 int result;
10584 PyObject * obj0 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = (int)((wxSlider const *)arg1)->GetMin();
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 resultobj = PyInt_FromLong((long)result);
10599 return resultobj;
10600 fail:
10601 return NULL;
10602}
10603
10604
10605static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxSlider *arg1 = (wxSlider *) 0 ;
10608 int result;
10609 PyObject * obj0 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (int)((wxSlider const *)arg1)->GetMax();
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 resultobj = PyInt_FromLong((long)result);
10624 return resultobj;
10625 fail:
10626 return NULL;
10627}
10628
10629
10630static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10631 PyObject *resultobj;
10632 wxSlider *arg1 = (wxSlider *) 0 ;
10633 int arg2 ;
10634 PyObject * obj0 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "minValue", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 (arg1)->SetMin(arg2);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 Py_INCREF(Py_None); resultobj = Py_None;
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
10655static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxSlider *arg1 = (wxSlider *) 0 ;
10658 int arg2 ;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self",(char *) "maxValue", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->SetMax(arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxSlider *arg1 = (wxSlider *) 0 ;
10683 int arg2 ;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "lineSize", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetLineSize(arg2);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 Py_INCREF(Py_None); resultobj = Py_None;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702}
10703
10704
10705static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxSlider *arg1 = (wxSlider *) 0 ;
10708 int arg2 ;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "pageSize", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 (arg1)->SetPageSize(arg2);
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 Py_INCREF(Py_None); resultobj = Py_None;
10724 return resultobj;
10725 fail:
10726 return NULL;
10727}
10728
10729
10730static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxSlider *arg1 = (wxSlider *) 0 ;
10733 int result;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (int)((wxSlider const *)arg1)->GetLineSize();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 resultobj = PyInt_FromLong((long)result);
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
10755static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxSlider *arg1 = (wxSlider *) 0 ;
10758 int result;
10759 PyObject * obj0 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 result = (int)((wxSlider const *)arg1)->GetPageSize();
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 resultobj = PyInt_FromLong((long)result);
10774 return resultobj;
10775 fail:
10776 return NULL;
10777}
10778
10779
10780static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxSlider *arg1 = (wxSlider *) 0 ;
10783 int arg2 ;
10784 PyObject * obj0 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "lenPixels", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->SetThumbLength(arg2);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802}
10803
10804
10805static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxSlider *arg1 = (wxSlider *) 0 ;
10808 int result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 resultobj = PyInt_FromLong((long)result);
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
10830static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxSlider *arg1 = (wxSlider *) 0 ;
10833 int arg2 ;
10834 int arg3 ;
10835 PyObject * obj0 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self",(char *) "n",(char *) "pos", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetTickFreq(arg2,arg3);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 Py_INCREF(Py_None); resultobj = Py_None;
10850 return resultobj;
10851 fail:
10852 return NULL;
10853}
10854
10855
10856static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj;
10858 wxSlider *arg1 = (wxSlider *) 0 ;
10859 int result;
10860 PyObject * obj0 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 resultobj = PyInt_FromLong((long)result);
10875 return resultobj;
10876 fail:
10877 return NULL;
10878}
10879
10880
10881static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxSlider *arg1 = (wxSlider *) 0 ;
10884 PyObject * obj0 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 (arg1)->ClearTicks();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 Py_INCREF(Py_None); resultobj = Py_None;
10899 return resultobj;
10900 fail:
10901 return NULL;
10902}
10903
10904
10905static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxSlider *arg1 = (wxSlider *) 0 ;
10908 int arg2 ;
10909 PyObject * obj0 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "tickPos", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetTick(arg2);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927}
10928
10929
10930static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxSlider *arg1 = (wxSlider *) 0 ;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->ClearSel();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
10954static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxSlider *arg1 = (wxSlider *) 0 ;
10957 int result;
10958 PyObject * obj0 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "self", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 resultobj = PyInt_FromLong((long)result);
10973 return resultobj;
10974 fail:
10975 return NULL;
10976}
10977
10978
10979static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10980 PyObject *resultobj;
10981 wxSlider *arg1 = (wxSlider *) 0 ;
10982 int result;
10983 PyObject * obj0 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "self", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 result = (int)((wxSlider const *)arg1)->GetSelStart();
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 resultobj = PyInt_FromLong((long)result);
10998 return resultobj;
10999 fail:
11000 return NULL;
11001}
11002
11003
11004static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxSlider *arg1 = (wxSlider *) 0 ;
11007 int arg2 ;
11008 int arg3 ;
11009 PyObject * obj0 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self",(char *) "min",(char *) "max", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->SetSelection(arg2,arg3);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027}
11028
11029
11030static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11031 PyObject *obj;
11032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11034 Py_INCREF(obj);
11035 return Py_BuildValue((char *)"");
11036}
b2dc1044
RD
11037static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11038 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11039 return 1;
11040}
11041
11042
11043static PyObject *_wrap_ToggleButtonNameStr_get() {
11044 PyObject *pyobj;
11045
11046 {
11047#if wxUSE_UNICODE
11048 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11049#else
11050 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11051#endif
11052 }
11053 return pyobj;
11054}
11055
11056
d14a1e28
RD
11057static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11060 int arg2 ;
d14a1e28
RD
11061 wxString *arg3 = 0 ;
11062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11064 wxSize const &arg5_defvalue = wxDefaultSize ;
11065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11066 long arg6 = (long) 0 ;
11067 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11068 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11069 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11070 wxString *arg8 = (wxString *) &arg8_defvalue ;
11071 wxToggleButton *result;
e811c8ce 11072 bool temp3 = False ;
d14a1e28
RD
11073 wxPoint temp4 ;
11074 wxSize temp5 ;
e811c8ce 11075 bool temp8 = False ;
d14a1e28
RD
11076 PyObject * obj0 = 0 ;
11077 PyObject * obj2 = 0 ;
11078 PyObject * obj3 = 0 ;
11079 PyObject * obj4 = 0 ;
11080 PyObject * obj6 = 0 ;
11081 PyObject * obj7 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11088 {
11089 arg3 = wxString_in_helper(obj2);
11090 if (arg3 == NULL) SWIG_fail;
e811c8ce 11091 temp3 = True;
d14a1e28
RD
11092 }
11093 if (obj3) {
11094 {
11095 arg4 = &temp4;
11096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11097 }
11098 }
11099 if (obj4) {
11100 {
11101 arg5 = &temp5;
11102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11103 }
11104 }
11105 if (obj6) {
11106 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 if (arg7 == NULL) {
11108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11109 }
11110 }
11111 if (obj7) {
11112 {
11113 arg8 = wxString_in_helper(obj7);
11114 if (arg8 == NULL) SWIG_fail;
e811c8ce 11115 temp8 = True;
d14a1e28
RD
11116 }
11117 }
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11126 {
11127 if (temp3)
11128 delete arg3;
11129 }
11130 {
11131 if (temp8)
11132 delete arg8;
11133 }
11134 return resultobj;
11135 fail:
11136 {
11137 if (temp3)
11138 delete arg3;
11139 }
11140 {
11141 if (temp8)
11142 delete arg8;
11143 }
11144 return NULL;
11145}
11146
11147
11148static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxToggleButton *result;
11151 char *kwnames[] = {
11152 NULL
11153 };
11154
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (wxToggleButton *)new wxToggleButton();
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11164 return resultobj;
11165 fail:
11166 return NULL;
11167}
11168
11169
11170static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11173 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11174 int arg3 ;
d14a1e28
RD
11175 wxString *arg4 = 0 ;
11176 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11177 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11178 wxSize const &arg6_defvalue = wxDefaultSize ;
11179 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11180 long arg7 = (long) 0 ;
11181 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11182 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11183 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11184 wxString *arg9 = (wxString *) &arg9_defvalue ;
11185 bool result;
e811c8ce 11186 bool temp4 = False ;
d14a1e28
RD
11187 wxPoint temp5 ;
11188 wxSize temp6 ;
e811c8ce 11189 bool temp9 = False ;
d14a1e28
RD
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 PyObject * obj3 = 0 ;
11193 PyObject * obj4 = 0 ;
11194 PyObject * obj5 = 0 ;
11195 PyObject * obj7 = 0 ;
11196 PyObject * obj8 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 arg4 = wxString_in_helper(obj3);
11206 if (arg4 == NULL) SWIG_fail;
e811c8ce 11207 temp4 = True;
d14a1e28
RD
11208 }
11209 if (obj4) {
11210 {
11211 arg5 = &temp5;
11212 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11213 }
11214 }
11215 if (obj5) {
11216 {
11217 arg6 = &temp6;
11218 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11219 }
11220 }
11221 if (obj7) {
11222 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11223 if (arg8 == NULL) {
11224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11225 }
11226 }
11227 if (obj8) {
11228 {
11229 arg9 = wxString_in_helper(obj8);
11230 if (arg9 == NULL) SWIG_fail;
e811c8ce 11231 temp9 = True;
d14a1e28
RD
11232 }
11233 }
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = PyInt_FromLong((long)result);
11242 {
11243 if (temp4)
11244 delete arg4;
11245 }
11246 {
11247 if (temp9)
11248 delete arg9;
11249 }
11250 return resultobj;
11251 fail:
11252 {
11253 if (temp4)
11254 delete arg4;
11255 }
11256 {
11257 if (temp9)
11258 delete arg9;
11259 }
11260 return NULL;
11261}
11262
11263
11264static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11267 bool arg2 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "value", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11276 arg2 = PyInt_AsLong(obj1) ? true : false;
11277 if (PyErr_Occurred()) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 (arg1)->SetValue(arg2);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 Py_INCREF(Py_None); resultobj = Py_None;
11286 return resultobj;
11287 fail:
11288 return NULL;
11289}
11290
11291
11292static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11295 bool result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = PyInt_FromLong((long)result);
11311 return resultobj;
11312 fail:
11313 return NULL;
11314}
11315
11316
11317static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11320 wxString *arg2 = 0 ;
e811c8ce 11321 bool temp2 = False ;
d14a1e28
RD
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self",(char *) "label", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 {
11331 arg2 = wxString_in_helper(obj1);
11332 if (arg2 == NULL) SWIG_fail;
e811c8ce 11333 temp2 = True;
d14a1e28
RD
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 (arg1)->SetLabel((wxString const &)*arg2);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 Py_INCREF(Py_None); resultobj = Py_None;
11343 {
11344 if (temp2)
11345 delete arg2;
11346 }
11347 return resultobj;
11348 fail:
11349 {
11350 if (temp2)
11351 delete arg2;
11352 }
11353 return NULL;
11354}
11355
11356
11357static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11358 PyObject *obj;
11359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11360 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11361 Py_INCREF(obj);
11362 return Py_BuildValue((char *)"");
11363}
b2dc1044
RD
11364static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11365 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11366 return 1;
11367}
11368
11369
11370static PyObject *_wrap_NOTEBOOK_NAME_get() {
11371 PyObject *pyobj;
11372
11373 {
11374#if wxUSE_UNICODE
11375 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11376#else
11377 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11378#endif
11379 }
11380 return pyobj;
11381}
11382
11383
d14a1e28
RD
11384static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11387 size_t result;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = PyInt_FromLong((long)result);
11403 return resultobj;
11404 fail:
11405 return NULL;
11406}
11407
11408
11409static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11412 size_t arg2 ;
11413 wxWindow *result;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "n", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11422 arg2 = (size_t) PyInt_AsLong(obj1);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 result = (wxWindow *)(arg1)->GetPage(arg2);
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 {
11432 resultobj = wxPyMake_wxObject(result);
11433 }
11434 return resultobj;
11435 fail:
11436 return NULL;
11437}
11438
11439
11440static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11443 int result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = PyInt_FromLong((long)result);
11459 return resultobj;
11460 fail:
11461 return NULL;
11462}
11463
11464
11465static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11468 size_t arg2 ;
11469 wxString *arg3 = 0 ;
11470 bool result;
e811c8ce 11471 bool temp3 = False ;
d14a1e28
RD
11472 PyObject * obj0 = 0 ;
11473 PyObject * obj1 = 0 ;
11474 PyObject * obj2 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "n",(char *) "strText", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 arg2 = (size_t) PyInt_AsLong(obj1);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 {
11484 arg3 = wxString_in_helper(obj2);
11485 if (arg3 == NULL) SWIG_fail;
e811c8ce 11486 temp3 = True;
d14a1e28
RD
11487 }
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
11495 resultobj = PyInt_FromLong((long)result);
11496 {
11497 if (temp3)
11498 delete arg3;
11499 }
11500 return resultobj;
11501 fail:
11502 {
11503 if (temp3)
11504 delete arg3;
11505 }
11506 return NULL;
11507}
11508
11509
11510static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11513 size_t arg2 ;
11514 wxString result;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self",(char *) "n", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11523 arg2 = (size_t) PyInt_AsLong(obj1);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533#if wxUSE_UNICODE
11534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11535#else
11536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11537#endif
11538 }
11539 return resultobj;
11540 fail:
11541 return NULL;
11542}
11543
11544
11545static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11548 wxImageList *arg2 = (wxImageList *) 0 ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "imageList", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SetImageList(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
11572static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11575 wxImageList *arg2 = (wxImageList *) 0 ;
11576 PyObject * obj0 = 0 ;
11577 PyObject * obj1 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self",(char *) "imageList", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->AssignImageList(arg2);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596}
11597
11598
11599static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11602 wxImageList *result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 {
11618 resultobj = wxPyMake_wxObject(result);
11619 }
11620 return resultobj;
11621 fail:
11622 return NULL;
11623}
11624
11625
11626static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11629 size_t arg2 ;
11630 int result;
11631 PyObject * obj0 = 0 ;
11632 PyObject * obj1 = 0 ;
11633 char *kwnames[] = {
11634 (char *) "self",(char *) "n", NULL
11635 };
11636
11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11639 arg2 = (size_t) PyInt_AsLong(obj1);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = PyInt_FromLong((long)result);
11649 return resultobj;
11650 fail:
11651 return NULL;
11652}
11653
11654
11655static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11658 size_t arg2 ;
11659 int arg3 ;
11660 bool result;
11661 PyObject * obj0 = 0 ;
11662 PyObject * obj1 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self",(char *) "n",(char *) "imageId", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 arg2 = (size_t) PyInt_AsLong(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 resultobj = PyInt_FromLong((long)result);
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
11685static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11688 wxSize *arg2 = 0 ;
11689 wxSize temp2 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "size", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 {
11699 arg2 = &temp2;
11700 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11701 }
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SetPageSize((wxSize const &)*arg2);
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
11716static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj;
11718 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11719 wxSize *arg2 = 0 ;
11720 wxSize result;
11721 wxSize temp2 ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self",(char *) "sizePage", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11730 {
11731 arg2 = &temp2;
11732 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11733 }
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 {
11742 wxSize * resultptr;
11743 resultptr = new wxSize((wxSize &) result);
11744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11745 }
11746 return resultobj;
11747 fail:
11748 return NULL;
11749}
11750
11751
11752static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11755 size_t arg2 ;
11756 bool result;
11757 PyObject * obj0 = 0 ;
11758 PyObject * obj1 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self",(char *) "n", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11765 arg2 = (size_t) PyInt_AsLong(obj1);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (bool)(arg1)->DeletePage(arg2);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = PyInt_FromLong((long)result);
11775 return resultobj;
11776 fail:
11777 return NULL;
11778}
11779
11780
11781static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11784 size_t arg2 ;
11785 bool result;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "n", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11794 arg2 = (size_t) PyInt_AsLong(obj1);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 result = (bool)(arg1)->RemovePage(arg2);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = PyInt_FromLong((long)result);
11804 return resultobj;
11805 fail:
11806 return NULL;
11807}
11808
11809
11810static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj;
11812 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11813 bool result;
11814 PyObject * obj0 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (bool)(arg1)->DeleteAllPages();
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 resultobj = PyInt_FromLong((long)result);
11829 return resultobj;
11830 fail:
11831 return NULL;
11832}
11833
11834
11835static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11838 wxWindow *arg2 = (wxWindow *) 0 ;
11839 wxString *arg3 = 0 ;
e811c8ce 11840 bool arg4 = (bool) False ;
d14a1e28
RD
11841 int arg5 = (int) -1 ;
11842 bool result;
e811c8ce 11843 bool temp3 = False ;
d14a1e28
RD
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 PyObject * obj2 = 0 ;
11847 PyObject * obj3 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11854 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11855 {
11856 arg3 = wxString_in_helper(obj2);
11857 if (arg3 == NULL) SWIG_fail;
e811c8ce 11858 temp3 = True;
d14a1e28
RD
11859 }
11860 if (obj3) {
11861 arg4 = PyInt_AsLong(obj3) ? true : false;
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 {
11865 PyThreadState* __tstate = wxPyBeginAllowThreads();
11866 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11867
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 resultobj = PyInt_FromLong((long)result);
11872 {
11873 if (temp3)
11874 delete arg3;
11875 }
11876 return resultobj;
11877 fail:
11878 {
11879 if (temp3)
11880 delete arg3;
11881 }
11882 return NULL;
11883}
11884
11885
11886static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11889 size_t arg2 ;
11890 wxWindow *arg3 = (wxWindow *) 0 ;
11891 wxString *arg4 = 0 ;
e811c8ce 11892 bool arg5 = (bool) False ;
d14a1e28
RD
11893 int arg6 = (int) -1 ;
11894 bool result;
e811c8ce 11895 bool temp4 = False ;
d14a1e28
RD
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 PyObject * obj2 = 0 ;
11899 PyObject * obj3 = 0 ;
11900 PyObject * obj4 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11907 arg2 = (size_t) PyInt_AsLong(obj1);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 {
11911 arg4 = wxString_in_helper(obj3);
11912 if (arg4 == NULL) SWIG_fail;
e811c8ce 11913 temp4 = True;
d14a1e28
RD
11914 }
11915 if (obj4) {
11916 arg5 = PyInt_AsLong(obj4) ? true : false;
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = PyInt_FromLong((long)result);
11927 {
11928 if (temp4)
11929 delete arg4;
11930 }
11931 return resultobj;
11932 fail:
11933 {
11934 if (temp4)
11935 delete arg4;
11936 }
11937 return NULL;
11938}
11939
11940
11941static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11944 size_t arg2 ;
11945 int result;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self",(char *) "n", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11954 arg2 = (size_t) PyInt_AsLong(obj1);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 result = (int)(arg1)->SetSelection(arg2);
11959
11960 wxPyEndAllowThreads(__tstate);
11961 if (PyErr_Occurred()) SWIG_fail;
11962 }
11963 resultobj = PyInt_FromLong((long)result);
11964 return resultobj;
11965 fail:
11966 return NULL;
11967}
11968
11969
11970static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 11973 bool arg2 = (bool) True ;
d14a1e28
RD
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self",(char *) "forward", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11982 if (obj1) {
11983 arg2 = PyInt_AsLong(obj1) ? true : false;
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->AdvanceSelection(arg2);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 return resultobj;
11995 fail:
11996 return NULL;
11997}
11998
11999
12000static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12001 PyObject *obj;
12002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12003 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12004 Py_INCREF(obj);
12005 return Py_BuildValue((char *)"");
12006}
12007static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12010 int arg2 = (int) 0 ;
12011 int arg3 = (int) -1 ;
12012 int arg4 = (int) -1 ;
12013 wxBookCtrlEvent *result;
12014 char *kwnames[] = {
12015 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12027 return resultobj;
12028 fail:
12029 return NULL;
12030}
12031
12032
12033static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12036 int result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = PyInt_FromLong((long)result);
12052 return resultobj;
12053 fail:
12054 return NULL;
12055}
12056
12057
12058static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12061 int arg2 ;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self",(char *) "nSel", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetSelection(arg2);
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 return resultobj;
12078 fail:
12079 return NULL;
12080}
12081
12082
12083static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12086 int result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = PyInt_FromLong((long)result);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105}
12106
12107
12108static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12111 int arg2 ;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "nOldSel", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->SetOldSelection(arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 return resultobj;
12128 fail:
12129 return NULL;
12130}
12131
12132
12133static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12134 PyObject *obj;
12135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12137 Py_INCREF(obj);
12138 return Py_BuildValue((char *)"");
12139}
12140static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12143 int arg2 ;
d14a1e28
RD
12144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12146 wxSize const &arg4_defvalue = wxDefaultSize ;
12147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12148 long arg5 = (long) 0 ;
12149 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12150 wxString *arg6 = (wxString *) &arg6_defvalue ;
12151 wxNotebook *result;
12152 wxPoint temp3 ;
12153 wxSize temp4 ;
e811c8ce 12154 bool temp6 = False ;
d14a1e28
RD
12155 PyObject * obj0 = 0 ;
12156 PyObject * obj2 = 0 ;
12157 PyObject * obj3 = 0 ;
12158 PyObject * obj5 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12165 if (obj2) {
12166 {
12167 arg3 = &temp3;
12168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12169 }
12170 }
12171 if (obj3) {
12172 {
12173 arg4 = &temp4;
12174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12175 }
12176 }
12177 if (obj5) {
12178 {
12179 arg6 = wxString_in_helper(obj5);
12180 if (arg6 == NULL) SWIG_fail;
e811c8ce 12181 temp6 = True;
d14a1e28
RD
12182 }
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 {
12192 resultobj = wxPyMake_wxObject(result);
12193 }
12194 {
12195 if (temp6)
12196 delete arg6;
12197 }
12198 return resultobj;
12199 fail:
12200 {
12201 if (temp6)
12202 delete arg6;
12203 }
12204 return NULL;
12205}
12206
12207
12208static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxNotebook *result;
12211 char *kwnames[] = {
12212 NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (wxNotebook *)new wxNotebook();
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 {
12224 resultobj = wxPyMake_wxObject(result);
12225 }
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
12232static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxNotebook *arg1 = (wxNotebook *) 0 ;
12235 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12236 int arg3 ;
d14a1e28
RD
12237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12239 wxSize const &arg5_defvalue = wxDefaultSize ;
12240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12241 long arg6 = (long) 0 ;
12242 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12243 wxString *arg7 = (wxString *) &arg7_defvalue ;
12244 bool result;
12245 wxPoint temp4 ;
12246 wxSize temp5 ;
e811c8ce 12247 bool temp7 = False ;
d14a1e28
RD
12248 PyObject * obj0 = 0 ;
12249 PyObject * obj1 = 0 ;
12250 PyObject * obj3 = 0 ;
12251 PyObject * obj4 = 0 ;
12252 PyObject * obj6 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12260 if (obj3) {
12261 {
12262 arg4 = &temp4;
12263 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12264 }
12265 }
12266 if (obj4) {
12267 {
12268 arg5 = &temp5;
12269 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12270 }
12271 }
12272 if (obj6) {
12273 {
12274 arg7 = wxString_in_helper(obj6);
12275 if (arg7 == NULL) SWIG_fail;
e811c8ce 12276 temp7 = True;
d14a1e28
RD
12277 }
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = PyInt_FromLong((long)result);
12287 {
12288 if (temp7)
12289 delete arg7;
12290 }
12291 return resultobj;
12292 fail:
12293 {
12294 if (temp7)
12295 delete arg7;
12296 }
12297 return NULL;
12298}
12299
12300
12301static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj;
12303 wxNotebook *arg1 = (wxNotebook *) 0 ;
12304 int result;
12305 PyObject * obj0 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = PyInt_FromLong((long)result);
12320 return resultobj;
12321 fail:
12322 return NULL;
12323}
12324
12325
12326static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxNotebook *arg1 = (wxNotebook *) 0 ;
12329 wxSize *arg2 = 0 ;
12330 wxSize temp2 ;
12331 PyObject * obj0 = 0 ;
12332 PyObject * obj1 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self",(char *) "padding", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 arg2 = &temp2;
12341 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->SetPadding((wxSize const &)*arg2);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354}
12355
12356
12357static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxNotebook *arg1 = (wxNotebook *) 0 ;
12360 wxSize *arg2 = 0 ;
12361 wxSize temp2 ;
12362 PyObject * obj0 = 0 ;
12363 PyObject * obj1 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "sz", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12370 {
12371 arg2 = &temp2;
12372 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12373 }
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 (arg1)->SetTabSize((wxSize const &)*arg2);
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 Py_INCREF(Py_None); resultobj = Py_None;
12382 return resultobj;
12383 fail:
12384 return NULL;
12385}
12386
12387
12388static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxNotebook *arg1 = (wxNotebook *) 0 ;
12391 wxPoint *arg2 = 0 ;
12392 long *arg3 = (long *) 0 ;
12393 int result;
12394 wxPoint temp2 ;
12395 long temp3 ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "pt", NULL
12400 };
12401
12402 arg3 = &temp3;
12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12405 {
12406 arg2 = &temp2;
12407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12408 }
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = PyInt_FromLong((long)result);
12417 {
12418 PyObject *o = PyInt_FromLong((long) (*arg3));
12419 resultobj = t_output_helper(resultobj,o);
12420 }
12421 return resultobj;
12422 fail:
12423 return NULL;
12424}
12425
12426
12427static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12428 PyObject *resultobj;
12429 wxNotebook *arg1 = (wxNotebook *) 0 ;
12430 wxSize *arg2 = 0 ;
12431 wxSize result;
12432 wxSize temp2 ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "sizePage", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441 {
12442 arg2 = &temp2;
12443 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 {
12453 wxSize * resultptr;
12454 resultptr = new wxSize((wxSize &) result);
12455 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12456 }
12457 return resultobj;
12458 fail:
12459 return NULL;
12460}
12461
12462
12463static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12464 PyObject *obj;
12465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12467 Py_INCREF(obj);
12468 return Py_BuildValue((char *)"");
12469}
12470static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12473 int arg2 = (int) 0 ;
12474 int arg3 = (int) -1 ;
12475 int arg4 = (int) -1 ;
12476 wxNotebookEvent *result;
12477 char *kwnames[] = {
12478 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12479 };
12480
12481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12490 return resultobj;
12491 fail:
12492 return NULL;
12493}
12494
12495
12496static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12497 PyObject *obj;
12498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12499 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12500 Py_INCREF(obj);
12501 return Py_BuildValue((char *)"");
12502}
12503static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12506 int arg2 ;
d14a1e28
RD
12507 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12508 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12509 wxSize const &arg4_defvalue = wxDefaultSize ;
12510 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12511 long arg5 = (long) 0 ;
12512 wxString const &arg6_defvalue = wxPyEmptyString ;
12513 wxString *arg6 = (wxString *) &arg6_defvalue ;
12514 wxListbook *result;
12515 wxPoint temp3 ;
12516 wxSize temp4 ;
e811c8ce 12517 bool temp6 = False ;
d14a1e28
RD
12518 PyObject * obj0 = 0 ;
12519 PyObject * obj2 = 0 ;
12520 PyObject * obj3 = 0 ;
12521 PyObject * obj5 = 0 ;
12522 char *kwnames[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12524 };
12525
12526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12528 if (obj2) {
12529 {
12530 arg3 = &temp3;
12531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12532 }
12533 }
12534 if (obj3) {
12535 {
12536 arg4 = &temp4;
12537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12538 }
12539 }
12540 if (obj5) {
12541 {
12542 arg6 = wxString_in_helper(obj5);
12543 if (arg6 == NULL) SWIG_fail;
e811c8ce 12544 temp6 = True;
d14a1e28
RD
12545 }
12546 }
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12555 {
12556 if (temp6)
12557 delete arg6;
12558 }
12559 return resultobj;
12560 fail:
12561 {
12562 if (temp6)
12563 delete arg6;
12564 }
12565 return NULL;
12566}
12567
12568
12569static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxListbook *result;
12572 char *kwnames[] = {
12573 NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (wxListbook *)new wxListbook();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12585 return resultobj;
12586 fail:
12587 return NULL;
12588}
12589
12590
12591static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12592 PyObject *resultobj;
12593 wxListbook *arg1 = (wxListbook *) 0 ;
12594 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12595 int arg3 ;
d14a1e28
RD
12596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12598 wxSize const &arg5_defvalue = wxDefaultSize ;
12599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12600 long arg6 = (long) 0 ;
12601 wxString const &arg7_defvalue = wxPyEmptyString ;
12602 wxString *arg7 = (wxString *) &arg7_defvalue ;
12603 bool result;
12604 wxPoint temp4 ;
12605 wxSize temp5 ;
e811c8ce 12606 bool temp7 = False ;
d14a1e28
RD
12607 PyObject * obj0 = 0 ;
12608 PyObject * obj1 = 0 ;
12609 PyObject * obj3 = 0 ;
12610 PyObject * obj4 = 0 ;
12611 PyObject * obj6 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 if (obj3) {
12620 {
12621 arg4 = &temp4;
12622 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12623 }
12624 }
12625 if (obj4) {
12626 {
12627 arg5 = &temp5;
12628 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12629 }
12630 }
12631 if (obj6) {
12632 {
12633 arg7 = wxString_in_helper(obj6);
12634 if (arg7 == NULL) SWIG_fail;
e811c8ce 12635 temp7 = True;
d14a1e28
RD
12636 }
12637 }
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 resultobj = PyInt_FromLong((long)result);
12646 {
12647 if (temp7)
12648 delete arg7;
12649 }
12650 return resultobj;
12651 fail:
12652 {
12653 if (temp7)
12654 delete arg7;
12655 }
12656 return NULL;
12657}
12658
12659
12660static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxListbook *arg1 = (wxListbook *) 0 ;
12663 bool result;
12664 PyObject * obj0 = 0 ;
12665 char *kwnames[] = {
12666 (char *) "self", NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = (bool)((wxListbook const *)arg1)->IsVertical();
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = PyInt_FromLong((long)result);
12679 return resultobj;
12680 fail:
12681 return NULL;
12682}
12683
12684
12685static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12686 PyObject *obj;
12687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12689 Py_INCREF(obj);
12690 return Py_BuildValue((char *)"");
12691}
12692static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12695 int arg2 = (int) 0 ;
12696 int arg3 = (int) -1 ;
12697 int arg4 = (int) -1 ;
12698 wxListbookEvent *result;
12699 char *kwnames[] = {
12700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12712 return resultobj;
12713 fail:
12714 return NULL;
12715}
12716
12717
12718static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12719 PyObject *obj;
12720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12722 Py_INCREF(obj);
12723 return Py_BuildValue((char *)"");
12724}
12725static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12728 wxBookCtrlSizer *result;
12729 PyObject * obj0 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "nb", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12744 return resultobj;
12745 fail:
12746 return NULL;
12747}
12748
12749
12750static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 (arg1)->RecalcSizes();
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771}
12772
12773
12774static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12777 wxSize result;
12778 PyObject * obj0 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (arg1)->CalcMin();
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 wxSize * resultptr;
12794 resultptr = new wxSize((wxSize &) result);
12795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12796 }
12797 return resultobj;
12798 fail:
12799 return NULL;
12800}
12801
12802
12803static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject *resultobj;
12805 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12806 wxBookCtrl *result;
12807 PyObject * obj0 = 0 ;
12808 char *kwnames[] = {
12809 (char *) "self", NULL
12810 };
12811
12812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 result = (wxBookCtrl *)(arg1)->GetControl();
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12822 return resultobj;
12823 fail:
12824 return NULL;
12825}
12826
12827
12828static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12829 PyObject *obj;
12830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12832 Py_INCREF(obj);
12833 return Py_BuildValue((char *)"");
12834}
12835static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12836 PyObject *resultobj;
12837 wxNotebook *arg1 = (wxNotebook *) 0 ;
12838 wxNotebookSizer *result;
12839 PyObject * obj0 = 0 ;
12840 char *kwnames[] = {
12841 (char *) "nb", NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12854 return resultobj;
12855 fail:
12856 return NULL;
12857}
12858
12859
12860static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj;
12862 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->RecalcSizes();
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 Py_INCREF(Py_None); resultobj = Py_None;
12878 return resultobj;
12879 fail:
12880 return NULL;
12881}
12882
12883
12884static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12887 wxSize result;
12888 PyObject * obj0 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (arg1)->CalcMin();
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 {
12903 wxSize * resultptr;
12904 resultptr = new wxSize((wxSize &) result);
12905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12906 }
12907 return resultobj;
12908 fail:
12909 return NULL;
12910}
12911
12912
12913static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12916 wxNotebook *result;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (wxNotebook *)(arg1)->GetNotebook();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 resultobj = wxPyMake_wxObject(result);
12933 }
12934 return resultobj;
12935 fail:
12936 return NULL;
12937}
12938
12939
12940static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12941 PyObject *obj;
12942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12943 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12944 Py_INCREF(obj);
12945 return Py_BuildValue((char *)"");
12946}
12947static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12950 int result;
12951 PyObject * obj0 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (int)(arg1)->GetId();
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 resultobj = PyInt_FromLong((long)result);
12966 return resultobj;
12967 fail:
12968 return NULL;
12969}
12970
12971
12972static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj;
12974 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12975 wxControl *result;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (wxControl *)(arg1)->GetControl();
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 {
12991 resultobj = wxPyMake_wxObject(result);
12992 }
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13002 wxToolBarBase *result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxToolBarBase *)(arg1)->GetToolBar();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 {
13018 resultobj = wxPyMake_wxObject(result);
13019 }
13020 return resultobj;
13021 fail:
13022 return NULL;
13023}
13024
13025
13026static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13029 int result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (int)(arg1)->IsButton();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = PyInt_FromLong((long)result);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048}
13049
13050
13051static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13054 int result;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 result = (int)(arg1)->IsControl();
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 resultobj = PyInt_FromLong((long)result);
13070 return resultobj;
13071 fail:
13072 return NULL;
13073}
13074
13075
13076static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13079 int result;
13080 PyObject * obj0 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (int)(arg1)->IsSeparator();
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 resultobj = PyInt_FromLong((long)result);
13095 return resultobj;
13096 fail:
13097 return NULL;
13098}
13099
13100
13101static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13104 int result;
13105 PyObject * obj0 = 0 ;
13106 char *kwnames[] = {
13107 (char *) "self", NULL
13108 };
13109
13110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (int)(arg1)->GetStyle();
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = PyInt_FromLong((long)result);
13120 return resultobj;
13121 fail:
13122 return NULL;
13123}
13124
13125
13126static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (int)(arg1)->GetKind();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = PyInt_FromLong((long)result);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148}
13149
13150
13151static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13154 bool result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (bool)(arg1)->IsEnabled();
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 resultobj = PyInt_FromLong((long)result);
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
13176static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13179 bool result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (bool)(arg1)->IsToggled();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = PyInt_FromLong((long)result);
13195 return resultobj;
13196 fail:
13197 return NULL;
13198}
13199
13200
13201static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 bool result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (bool)(arg1)->CanBeToggled();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = PyInt_FromLong((long)result);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223}
13224
13225
13226static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13229 wxBitmap *result;
13230 PyObject * obj0 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 {
13240 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13241 result = (wxBitmap *) &_result_ref;
13242 }
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13248 return resultobj;
13249 fail:
13250 return NULL;
13251}
13252
13253
13254static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13255 PyObject *resultobj;
13256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13257 wxBitmap *result;
13258 PyObject * obj0 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 {
13268 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13269 result = (wxBitmap *) &_result_ref;
13270 }
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13276 return resultobj;
13277 fail:
13278 return NULL;
13279}
13280
13281
13282static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13285 wxBitmap result;
13286 PyObject * obj0 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 result = (arg1)->GetBitmap();
13296
13297 wxPyEndAllowThreads(__tstate);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
13300 {
13301 wxBitmap * resultptr;
13302 resultptr = new wxBitmap((wxBitmap &) result);
13303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13304 }
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
13311static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13314 wxString result;
13315 PyObject * obj0 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (arg1)->GetLabel();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330#if wxUSE_UNICODE
13331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13332#else
13333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13334#endif
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13345 wxString result;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (arg1)->GetShortHelp();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 {
13361#if wxUSE_UNICODE
13362 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13363#else
13364 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13365#endif
13366 }
13367 return resultobj;
13368 fail:
13369 return NULL;
13370}
13371
13372
13373static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13376 wxString result;
13377 PyObject * obj0 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 result = (arg1)->GetLongHelp();
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 {
13392#if wxUSE_UNICODE
13393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13394#else
13395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13396#endif
13397 }
13398 return resultobj;
13399 fail:
13400 return NULL;
13401}
13402
13403
13404static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject *resultobj;
13406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13407 bool arg2 ;
13408 bool result;
13409 PyObject * obj0 = 0 ;
13410 PyObject * obj1 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "self",(char *) "enable", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13417 arg2 = PyInt_AsLong(obj1) ? true : false;
13418 if (PyErr_Occurred()) SWIG_fail;
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (bool)(arg1)->Enable(arg2);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 resultobj = PyInt_FromLong((long)result);
13427 return resultobj;
13428 fail:
13429 return NULL;
13430}
13431
13432
13433static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj;
13435 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13436 PyObject * obj0 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->Toggle();
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
13457static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13460 bool arg2 ;
13461 bool result;
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 char *kwnames[] = {
13465 (char *) "self",(char *) "toggle", NULL
13466 };
13467
13468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13470 arg2 = PyInt_AsLong(obj1) ? true : false;
13471 if (PyErr_Occurred()) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)(arg1)->SetToggle(arg2);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 resultobj = PyInt_FromLong((long)result);
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
13486static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13489 wxString *arg2 = 0 ;
13490 bool result;
e811c8ce 13491 bool temp2 = False ;
d14a1e28
RD
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "help", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 arg2 = wxString_in_helper(obj1);
13502 if (arg2 == NULL) SWIG_fail;
e811c8ce 13503 temp2 = True;
d14a1e28
RD
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = PyInt_FromLong((long)result);
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return resultobj;
13518 fail:
13519 {
13520 if (temp2)
13521 delete arg2;
13522 }
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13530 wxString *arg2 = 0 ;
13531 bool result;
e811c8ce 13532 bool temp2 = False ;
d14a1e28
RD
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "help", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13541 {
13542 arg2 = wxString_in_helper(obj1);
13543 if (arg2 == NULL) SWIG_fail;
e811c8ce 13544 temp2 = True;
d14a1e28
RD
13545 }
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = PyInt_FromLong((long)result);
13554 {
13555 if (temp2)
13556 delete arg2;
13557 }
13558 return resultobj;
13559 fail:
13560 {
13561 if (temp2)
13562 delete arg2;
13563 }
13564 return NULL;
13565}
13566
13567
13568static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13571 wxBitmap *arg2 = 0 ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self",(char *) "bmp", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13581 if (arg2 == NULL) {
13582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 Py_INCREF(Py_None); resultobj = Py_None;
13592 return resultobj;
13593 fail:
13594 return NULL;
13595}
13596
13597
13598static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13601 wxBitmap *arg2 = 0 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "bmp", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 if (arg2 == NULL) {
13612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 Py_INCREF(Py_None); resultobj = Py_None;
13622 return resultobj;
13623 fail:
13624 return NULL;
13625}
13626
13627
13628static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13631 wxString *arg2 = 0 ;
e811c8ce 13632 bool temp2 = False ;
d14a1e28
RD
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "label", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 arg2 = wxString_in_helper(obj1);
13643 if (arg2 == NULL) SWIG_fail;
e811c8ce 13644 temp2 = True;
d14a1e28
RD
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetLabel((wxString const &)*arg2);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 Py_INCREF(Py_None); resultobj = Py_None;
13654 {
13655 if (temp2)
13656 delete arg2;
13657 }
13658 return resultobj;
13659 fail:
13660 {
13661 if (temp2)
13662 delete arg2;
13663 }
13664 return NULL;
13665}
13666
13667
13668static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj;
13670 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13671 PyObject * obj0 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "self", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13678 {
13679 PyThreadState* __tstate = wxPyBeginAllowThreads();
13680 (arg1)->Detach();
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 Py_INCREF(Py_None); resultobj = Py_None;
13686 return resultobj;
13687 fail:
13688 return NULL;
13689}
13690
13691
13692static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13695 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "tbar", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 (arg1)->Attach(arg2);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
13713 return resultobj;
13714 fail:
13715 return NULL;
13716}
13717
13718
13719static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13722 PyObject *result;
13723 PyObject * obj0 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 resultobj = result;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13747 PyObject *arg2 = (PyObject *) 0 ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "clientData", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13756 arg2 = obj1;
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 wxToolBarToolBase_SetClientData(arg1,arg2);
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 Py_INCREF(Py_None); resultobj = Py_None;
13765 return resultobj;
13766 fail:
13767 return NULL;
13768}
13769
13770
13771static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13772 PyObject *obj;
13773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13774 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13775 Py_INCREF(obj);
13776 return Py_BuildValue((char *)"");
13777}
13778static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13781 int arg2 ;
13782 wxString *arg3 = 0 ;
13783 wxBitmap *arg4 = 0 ;
13784 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13785 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13786 int arg6 = (int) wxITEM_NORMAL ;
13787 wxString const &arg7_defvalue = wxPyEmptyString ;
13788 wxString *arg7 = (wxString *) &arg7_defvalue ;
13789 wxString const &arg8_defvalue = wxPyEmptyString ;
13790 wxString *arg8 = (wxString *) &arg8_defvalue ;
13791 PyObject *arg9 = (PyObject *) NULL ;
13792 wxToolBarToolBase *result;
e811c8ce
RD
13793 bool temp3 = False ;
13794 bool temp7 = False ;
13795 bool temp8 = False ;
d14a1e28
RD
13796 PyObject * obj0 = 0 ;
13797 PyObject * obj2 = 0 ;
13798 PyObject * obj3 = 0 ;
13799 PyObject * obj4 = 0 ;
13800 PyObject * obj6 = 0 ;
13801 PyObject * obj7 = 0 ;
13802 PyObject * obj8 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13805 };
13806
13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13809 {
13810 arg3 = wxString_in_helper(obj2);
13811 if (arg3 == NULL) SWIG_fail;
e811c8ce 13812 temp3 = True;
d14a1e28
RD
13813 }
13814 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13815 if (arg4 == NULL) {
13816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13817 }
13818 if (obj4) {
13819 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13820 if (arg5 == NULL) {
13821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13822 }
13823 }
13824 if (obj6) {
13825 {
13826 arg7 = wxString_in_helper(obj6);
13827 if (arg7 == NULL) SWIG_fail;
e811c8ce 13828 temp7 = True;
d14a1e28
RD
13829 }
13830 }
13831 if (obj7) {
13832 {
13833 arg8 = wxString_in_helper(obj7);
13834 if (arg8 == NULL) SWIG_fail;
e811c8ce 13835 temp8 = True;
d14a1e28
RD
13836 }
13837 }
13838 if (obj8) {
13839 arg9 = obj8;
13840 }
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 {
13849 resultobj = wxPyMake_wxObject(result);
13850 }
13851 {
13852 if (temp3)
13853 delete arg3;
13854 }
13855 {
13856 if (temp7)
13857 delete arg7;
13858 }
13859 {
13860 if (temp8)
13861 delete arg8;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp3)
13867 delete arg3;
13868 }
13869 {
13870 if (temp7)
13871 delete arg7;
13872 }
13873 {
13874 if (temp8)
13875 delete arg8;
13876 }
13877 return NULL;
13878}
13879
13880
13881static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj;
13883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13884 size_t arg2 ;
13885 int arg3 ;
13886 wxString *arg4 = 0 ;
13887 wxBitmap *arg5 = 0 ;
13888 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13889 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13890 int arg7 = (int) wxITEM_NORMAL ;
13891 wxString const &arg8_defvalue = wxPyEmptyString ;
13892 wxString *arg8 = (wxString *) &arg8_defvalue ;
13893 wxString const &arg9_defvalue = wxPyEmptyString ;
13894 wxString *arg9 = (wxString *) &arg9_defvalue ;
13895 PyObject *arg10 = (PyObject *) NULL ;
13896 wxToolBarToolBase *result;
e811c8ce
RD
13897 bool temp4 = False ;
13898 bool temp8 = False ;
13899 bool temp9 = False ;
d14a1e28
RD
13900 PyObject * obj0 = 0 ;
13901 PyObject * obj1 = 0 ;
13902 PyObject * obj3 = 0 ;
13903 PyObject * obj4 = 0 ;
13904 PyObject * obj5 = 0 ;
13905 PyObject * obj7 = 0 ;
13906 PyObject * obj8 = 0 ;
13907 PyObject * obj9 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13914 arg2 = (size_t) PyInt_AsLong(obj1);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 {
13917 arg4 = wxString_in_helper(obj3);
13918 if (arg4 == NULL) SWIG_fail;
e811c8ce 13919 temp4 = True;
d14a1e28
RD
13920 }
13921 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13922 if (arg5 == NULL) {
13923 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13924 }
13925 if (obj5) {
13926 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13927 if (arg6 == NULL) {
13928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13929 }
13930 }
13931 if (obj7) {
13932 {
13933 arg8 = wxString_in_helper(obj7);
13934 if (arg8 == NULL) SWIG_fail;
e811c8ce 13935 temp8 = True;
d14a1e28
RD
13936 }
13937 }
13938 if (obj8) {
13939 {
13940 arg9 = wxString_in_helper(obj8);
13941 if (arg9 == NULL) SWIG_fail;
e811c8ce 13942 temp9 = True;
d14a1e28
RD
13943 }
13944 }
13945 if (obj9) {
13946 arg10 = obj9;
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 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);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 {
13956 resultobj = wxPyMake_wxObject(result);
13957 }
13958 {
13959 if (temp4)
13960 delete arg4;
13961 }
13962 {
13963 if (temp8)
13964 delete arg8;
13965 }
13966 {
13967 if (temp9)
13968 delete arg9;
13969 }
13970 return resultobj;
13971 fail:
13972 {
13973 if (temp4)
13974 delete arg4;
13975 }
13976 {
13977 if (temp8)
13978 delete arg8;
13979 }
13980 {
13981 if (temp9)
13982 delete arg9;
13983 }
13984 return NULL;
13985}
13986
13987
3a04f143
RD
13988static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13991 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
13992 wxToolBarToolBase *result;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "tool", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 resultobj = wxPyMake_wxObject(result);
14011 }
14012 return resultobj;
14013 fail:
14014 return NULL;
14015}
14016
14017
14018static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14021 size_t arg2 ;
14022 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14023 wxToolBarToolBase *result;
14024 PyObject * obj0 = 0 ;
14025 PyObject * obj1 = 0 ;
14026 PyObject * obj2 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self",(char *) "pos",(char *) "tool", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14033 arg2 = (size_t) PyInt_AsLong(obj1);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 {
14044 resultobj = wxPyMake_wxObject(result);
14045 }
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
d14a1e28
RD
14052static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14055 wxControl *arg2 = (wxControl *) 0 ;
14056 wxToolBarToolBase *result;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "control", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 {
14074 resultobj = wxPyMake_wxObject(result);
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
14082static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14085 size_t arg2 ;
14086 wxControl *arg3 = (wxControl *) 0 ;
14087 wxToolBarToolBase *result;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "pos",(char *) "control", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14097 arg2 = (size_t) PyInt_AsLong(obj1);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 {
14108 resultobj = wxPyMake_wxObject(result);
14109 }
14110 return resultobj;
14111 fail:
14112 return NULL;
14113}
14114
14115
14116static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14119 int arg2 ;
14120 wxControl *result;
14121 PyObject * obj0 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self",(char *) "id", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (wxControl *)(arg1)->FindControl(arg2);
14131
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 {
14136 resultobj = wxPyMake_wxObject(result);
14137 }
14138 return resultobj;
14139 fail:
14140 return NULL;
14141}
14142
14143
14144static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14147 wxToolBarToolBase *result;
14148 PyObject * obj0 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 {
14163 resultobj = wxPyMake_wxObject(result);
14164 }
14165 return resultobj;
14166 fail:
14167 return NULL;
14168}
14169
14170
14171static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj;
14173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14174 size_t arg2 ;
14175 wxToolBarToolBase *result;
14176 PyObject * obj0 = 0 ;
14177 PyObject * obj1 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "pos", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14184 arg2 = (size_t) PyInt_AsLong(obj1);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 resultobj = wxPyMake_wxObject(result);
14195 }
14196 return resultobj;
14197 fail:
14198 return NULL;
14199}
14200
14201
14202static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14205 int arg2 ;
14206 wxToolBarToolBase *result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "id", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 resultobj = wxPyMake_wxObject(result);
14223 }
14224 return resultobj;
14225 fail:
14226 return NULL;
14227}
14228
14229
14230static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14233 size_t arg2 ;
14234 bool result;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj1 = 0 ;
14237 char *kwnames[] = {
14238 (char *) "self",(char *) "pos", NULL
14239 };
14240
14241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14243 arg2 = (size_t) PyInt_AsLong(obj1);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (bool)(arg1)->DeleteToolByPos(arg2);
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = PyInt_FromLong((long)result);
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
14259static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14262 int arg2 ;
14263 bool result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "id", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (bool)(arg1)->DeleteTool(arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = PyInt_FromLong((long)result);
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
14285static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 (arg1)->ClearTools();
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 Py_INCREF(Py_None); resultobj = Py_None;
14303 return resultobj;
14304 fail:
14305 return NULL;
14306}
14307
14308
14309static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14312 bool result;
14313 PyObject * obj0 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (bool)(arg1)->Realize();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 resultobj = PyInt_FromLong((long)result);
14328 return resultobj;
14329 fail:
14330 return NULL;
14331}
14332
14333
14334static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14337 int arg2 ;
14338 bool arg3 ;
14339 PyObject * obj0 = 0 ;
14340 PyObject * obj2 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "self",(char *) "id",(char *) "enable", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14347 arg3 = PyInt_AsLong(obj2) ? true : false;
14348 if (PyErr_Occurred()) SWIG_fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 (arg1)->EnableTool(arg2,arg3);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 Py_INCREF(Py_None); resultobj = Py_None;
14357 return resultobj;
14358 fail:
14359 return NULL;
14360}
14361
14362
14363static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14366 int arg2 ;
14367 bool arg3 ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self",(char *) "id",(char *) "toggle", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14376 arg3 = PyInt_AsLong(obj2) ? true : false;
14377 if (PyErr_Occurred()) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 (arg1)->ToggleTool(arg2,arg3);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 Py_INCREF(Py_None); resultobj = Py_None;
14386 return resultobj;
14387 fail:
14388 return NULL;
14389}
14390
14391
14392static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14395 int arg2 ;
14396 bool arg3 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj2 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "id",(char *) "toggle", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14405 arg3 = PyInt_AsLong(obj2) ? true : false;
14406 if (PyErr_Occurred()) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->SetToggle(arg2,arg3);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
14421static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14424 int arg2 ;
14425 PyObject *result;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self",(char *) "id", NULL
14429 };
14430
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 resultobj = result;
14441 return resultobj;
14442 fail:
14443 return NULL;
14444}
14445
14446
14447static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14448 PyObject *resultobj;
14449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14450 int arg2 ;
14451 PyObject *arg3 = (PyObject *) 0 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj2 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "id",(char *) "clientData", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 arg3 = obj2;
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14464
14465 wxPyEndAllowThreads(__tstate);
14466 if (PyErr_Occurred()) SWIG_fail;
14467 }
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472}
14473
14474
14475static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14478 int arg2 ;
14479 int result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "id", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = PyInt_FromLong((long)result);
14495 return resultobj;
14496 fail:
14497 return NULL;
14498}
14499
14500
14501static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14504 int arg2 ;
14505 bool result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self",(char *) "id", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (bool)(arg1)->GetToolState(arg2);
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 resultobj = PyInt_FromLong((long)result);
14521 return resultobj;
14522 fail:
14523 return NULL;
14524}
14525
14526
14527static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14530 int arg2 ;
14531 bool result;
14532 PyObject * obj0 = 0 ;
14533 char *kwnames[] = {
14534 (char *) "self",(char *) "id", NULL
14535 };
14536
14537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)(arg1)->GetToolEnabled(arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 resultobj = PyInt_FromLong((long)result);
14547 return resultobj;
14548 fail:
14549 return NULL;
14550}
14551
14552
14553static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14556 int arg2 ;
14557 wxString *arg3 = 0 ;
e811c8ce 14558 bool temp3 = False ;
d14a1e28
RD
14559 PyObject * obj0 = 0 ;
14560 PyObject * obj2 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "id",(char *) "helpString", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14567 {
14568 arg3 = wxString_in_helper(obj2);
14569 if (arg3 == NULL) SWIG_fail;
e811c8ce 14570 temp3 = True;
d14a1e28
RD
14571 }
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 {
14581 if (temp3)
14582 delete arg3;
14583 }
14584 return resultobj;
14585 fail:
14586 {
14587 if (temp3)
14588 delete arg3;
14589 }
14590 return NULL;
14591}
14592
14593
14594static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj;
14596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14597 int arg2 ;
14598 wxString result;
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self",(char *) "id", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (arg1)->GetToolShortHelp(arg2);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 {
14614#if wxUSE_UNICODE
14615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14616#else
14617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14618#endif
14619 }
14620 return resultobj;
14621 fail:
14622 return NULL;
14623}
14624
14625
14626static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14629 int arg2 ;
14630 wxString *arg3 = 0 ;
e811c8ce 14631 bool temp3 = False ;
d14a1e28
RD
14632 PyObject * obj0 = 0 ;
14633 PyObject * obj2 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self",(char *) "id",(char *) "helpString", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14640 {
14641 arg3 = wxString_in_helper(obj2);
14642 if (arg3 == NULL) SWIG_fail;
e811c8ce 14643 temp3 = True;
d14a1e28
RD
14644 }
14645 {
14646 PyThreadState* __tstate = wxPyBeginAllowThreads();
14647 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14648
14649 wxPyEndAllowThreads(__tstate);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
14652 Py_INCREF(Py_None); resultobj = Py_None;
14653 {
14654 if (temp3)
14655 delete arg3;
14656 }
14657 return resultobj;
14658 fail:
14659 {
14660 if (temp3)
14661 delete arg3;
14662 }
14663 return NULL;
14664}
14665
14666
14667static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14670 int arg2 ;
14671 wxString result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self",(char *) "id", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (arg1)->GetToolLongHelp(arg2);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 {
14687#if wxUSE_UNICODE
14688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14689#else
14690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14691#endif
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696}
14697
14698
14699static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14702 int arg2 ;
14703 int arg3 ;
14704 PyObject * obj0 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "x",(char *) "y", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 (arg1)->SetMargins(arg2,arg3);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 Py_INCREF(Py_None); resultobj = Py_None;
14719 return resultobj;
14720 fail:
14721 return NULL;
14722}
14723
14724
14725static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj;
14727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14728 wxSize *arg2 = 0 ;
14729 wxSize temp2 ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 char *kwnames[] = {
14733 (char *) "self",(char *) "size", NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14738 {
14739 arg2 = &temp2;
14740 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14741 }
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 (arg1)->SetMargins((wxSize const &)*arg2);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 return resultobj;
14751 fail:
14752 return NULL;
14753}
14754
14755
14756static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14759 int arg2 ;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self",(char *) "packing", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 (arg1)->SetToolPacking(arg2);
14770
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 Py_INCREF(Py_None); resultobj = Py_None;
14775 return resultobj;
14776 fail:
14777 return NULL;
14778}
14779
14780
14781static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14782 PyObject *resultobj;
14783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14784 int arg2 ;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "separation", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 (arg1)->SetToolSeparation(arg2);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 Py_INCREF(Py_None); resultobj = Py_None;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803}
14804
14805
14806static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14809 wxSize result;
14810 PyObject * obj0 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (arg1)->GetToolMargins();
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 {
14825 wxSize * resultptr;
14826 resultptr = new wxSize((wxSize &) result);
14827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14828 }
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
14835static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14838 wxSize result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 result = (arg1)->GetMargins();
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 {
14854 wxSize * resultptr;
14855 resultptr = new wxSize((wxSize &) result);
14856 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14857 }
14858 return resultobj;
14859 fail:
14860 return NULL;
14861}
14862
14863
14864static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14867 int result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (int)(arg1)->GetToolPacking();
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 resultobj = PyInt_FromLong((long)result);
14883 return resultobj;
14884 fail:
14885 return NULL;
14886}
14887
14888
14889static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14892 int result;
14893 PyObject * obj0 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (int)(arg1)->GetToolSeparation();
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 resultobj = PyInt_FromLong((long)result);
14908 return resultobj;
14909 fail:
14910 return NULL;
14911}
14912
14913
14914static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14917 int arg2 ;
14918 PyObject * obj0 = 0 ;
14919 char *kwnames[] = {
14920 (char *) "self",(char *) "nRows", NULL
14921 };
14922
14923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 (arg1)->SetRows(arg2);
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 Py_INCREF(Py_None); resultobj = Py_None;
14933 return resultobj;
14934 fail:
14935 return NULL;
14936}
14937
14938
14939static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14942 int arg2 ;
14943 int arg3 ;
14944 PyObject * obj0 = 0 ;
14945 char *kwnames[] = {
14946 (char *) "self",(char *) "rows",(char *) "cols", NULL
14947 };
14948
14949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 (arg1)->SetMaxRowsCols(arg2,arg3);
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 Py_INCREF(Py_None); resultobj = Py_None;
14959 return resultobj;
14960 fail:
14961 return NULL;
14962}
14963
14964
14965static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14968 int result;
14969 PyObject * obj0 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (int)(arg1)->GetMaxRows();
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 resultobj = PyInt_FromLong((long)result);
14984 return resultobj;
14985 fail:
14986 return NULL;
14987}
14988
14989
14990static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14993 int result;
14994 PyObject * obj0 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (int)(arg1)->GetMaxCols();
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 resultobj = PyInt_FromLong((long)result);
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15018 wxSize *arg2 = 0 ;
15019 wxSize temp2 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self",(char *) "size", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15028 {
15029 arg2 = &temp2;
15030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15031 }
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 Py_INCREF(Py_None); resultobj = Py_None;
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
15046static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15049 wxSize result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (arg1)->GetToolBitmapSize();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065 wxSize * resultptr;
15066 resultptr = new wxSize((wxSize &) result);
15067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15068 }
15069 return resultobj;
15070 fail:
15071 return NULL;
15072}
15073
15074
15075static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15078 wxSize result;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (arg1)->GetToolSize();
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 {
15094 wxSize * resultptr;
15095 resultptr = new wxSize((wxSize &) result);
15096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15097 }
15098 return resultobj;
15099 fail:
15100 return NULL;
15101}
15102
15103
15104static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
15107 int arg2 ;
15108 int arg3 ;
d14a1e28
RD
15109 wxToolBarToolBase *result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self",(char *) "x",(char *) "y", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15117 {
15118 PyThreadState* __tstate = wxPyBeginAllowThreads();
15119 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15120
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 {
15125 resultobj = wxPyMake_wxObject(result);
15126 }
15127 return resultobj;
15128 fail:
15129 return NULL;
15130}
15131
15132
3a04f143
RD
15133static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15136 int arg2 ;
15137 wxToolBarToolBase *result;
15138 PyObject * obj0 = 0 ;
15139 char *kwnames[] = {
15140 (char *) "self",(char *) "toolid", NULL
15141 };
15142
15143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = wxPyMake_wxObject(result);
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158}
15159
15160
d14a1e28
RD
15161static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15164 bool result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 result = (bool)(arg1)->IsVertical();
15175
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = PyInt_FromLong((long)result);
15180 return resultobj;
15181 fail:
15182 return NULL;
15183}
15184
15185
15186static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15187 PyObject *obj;
15188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15189 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15190 Py_INCREF(obj);
15191 return Py_BuildValue((char *)"");
15192}
15193static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 15196 int arg2 ;
d14a1e28
RD
15197 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15198 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15199 wxSize const &arg4_defvalue = wxDefaultSize ;
15200 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15201 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15202 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15203 wxString *arg6 = (wxString *) &arg6_defvalue ;
15204 wxToolBar *result;
15205 wxPoint temp3 ;
15206 wxSize temp4 ;
e811c8ce 15207 bool temp6 = False ;
d14a1e28
RD
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj2 = 0 ;
15210 PyObject * obj3 = 0 ;
15211 PyObject * obj5 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15218 if (obj2) {
15219 {
15220 arg3 = &temp3;
15221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15222 }
15223 }
15224 if (obj3) {
15225 {
15226 arg4 = &temp4;
15227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15228 }
15229 }
15230 if (obj5) {
15231 {
15232 arg6 = wxString_in_helper(obj5);
15233 if (arg6 == NULL) SWIG_fail;
e811c8ce 15234 temp6 = True;
d14a1e28
RD
15235 }
15236 }
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 {
15245 resultobj = wxPyMake_wxObject(result);
15246 }
15247 {
15248 if (temp6)
15249 delete arg6;
15250 }
15251 return resultobj;
15252 fail:
15253 {
15254 if (temp6)
15255 delete arg6;
15256 }
15257 return NULL;
15258}
15259
15260
15261static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxToolBar *result;
15264 char *kwnames[] = {
15265 NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (wxToolBar *)new wxToolBar();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 {
15277 resultobj = wxPyMake_wxObject(result);
15278 }
15279 return resultobj;
15280 fail:
15281 return NULL;
15282}
15283
15284
15285static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxToolBar *arg1 = (wxToolBar *) 0 ;
15288 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 15289 int arg3 ;
d14a1e28
RD
15290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15292 wxSize const &arg5_defvalue = wxDefaultSize ;
15293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15294 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15295 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15296 wxString *arg7 = (wxString *) &arg7_defvalue ;
15297 bool result;
15298 wxPoint temp4 ;
15299 wxSize temp5 ;
e811c8ce 15300 bool temp7 = False ;
d14a1e28
RD
15301 PyObject * obj0 = 0 ;
15302 PyObject * obj1 = 0 ;
15303 PyObject * obj3 = 0 ;
15304 PyObject * obj4 = 0 ;
15305 PyObject * obj6 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15313 if (obj3) {
15314 {
15315 arg4 = &temp4;
15316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15317 }
15318 }
15319 if (obj4) {
15320 {
15321 arg5 = &temp5;
15322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15323 }
15324 }
15325 if (obj6) {
15326 {
15327 arg7 = wxString_in_helper(obj6);
15328 if (arg7 == NULL) SWIG_fail;
e811c8ce 15329 temp7 = True;
d14a1e28
RD
15330 }
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = PyInt_FromLong((long)result);
15340 {
15341 if (temp7)
15342 delete arg7;
15343 }
15344 return resultobj;
15345 fail:
15346 {
15347 if (temp7)
15348 delete arg7;
15349 }
15350 return NULL;
15351}
15352
15353
15354static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
15357 int arg2 ;
15358 int arg3 ;
d14a1e28
RD
15359 wxToolBarToolBase *result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "x",(char *) "y", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 {
15375 resultobj = wxPyMake_wxObject(result);
15376 }
15377 return resultobj;
15378 fail:
15379 return NULL;
15380}
15381
15382
15383static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15384 PyObject *obj;
15385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15386 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15387 Py_INCREF(obj);
15388 return Py_BuildValue((char *)"");
15389}
b2dc1044
RD
15390static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15391 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15392 return 1;
15393}
15394
15395
15396static PyObject *_wrap_ListCtrlNameStr_get() {
15397 PyObject *pyobj;
15398
15399 {
15400#if wxUSE_UNICODE
15401 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15402#else
15403 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15404#endif
15405 }
15406 return pyobj;
15407}
15408
15409
d14a1e28
RD
15410static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxColour const &arg1_defvalue = wxNullColour ;
15413 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15414 wxColour const &arg2_defvalue = wxNullColour ;
15415 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15416 wxFont const &arg3_defvalue = wxNullFont ;
15417 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15418 wxListItemAttr *result;
15419 wxColour temp1 ;
15420 wxColour temp2 ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15429 if (obj0) {
15430 {
15431 arg1 = &temp1;
15432 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15433 }
15434 }
15435 if (obj1) {
15436 {
15437 arg2 = &temp2;
15438 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15439 }
15440 }
15441 if (obj2) {
15442 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15443 if (arg3 == NULL) {
15444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15445 }
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15450
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15455 return resultobj;
15456 fail:
15457 return NULL;
15458}
15459
15460
15461static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj;
15463 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15464 wxColour *arg2 = 0 ;
15465 wxColour temp2 ;
15466 PyObject * obj0 = 0 ;
15467 PyObject * obj1 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self",(char *) "colText", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15474 {
15475 arg2 = &temp2;
15476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetTextColour((wxColour const &)*arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 Py_INCREF(Py_None); resultobj = Py_None;
15486 return resultobj;
15487 fail:
15488 return NULL;
15489}
15490
15491
15492static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15495 wxColour *arg2 = 0 ;
15496 wxColour temp2 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "colBack", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15505 {
15506 arg2 = &temp2;
15507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15508 }
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 Py_INCREF(Py_None); resultobj = Py_None;
15517 return resultobj;
15518 fail:
15519 return NULL;
15520}
15521
15522
15523static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15526 wxFont *arg2 = 0 ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "font", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 if (arg2 == NULL) {
15537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetFont((wxFont const &)*arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550}
15551
15552
15553static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15556 bool result;
15557 PyObject * obj0 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (bool)(arg1)->HasTextColour();
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = PyInt_FromLong((long)result);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575}
15576
15577
15578static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15581 bool result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (bool)(arg1)->HasBackgroundColour();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 resultobj = PyInt_FromLong((long)result);
15597 return resultobj;
15598 fail:
15599 return NULL;
15600}
15601
15602
15603static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15606 bool result;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (bool)(arg1)->HasFont();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = PyInt_FromLong((long)result);
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
15628static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15631 wxColour result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (arg1)->GetTextColour();
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 {
15647 wxColour * resultptr;
15648 resultptr = new wxColour((wxColour &) result);
15649 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15650 }
15651 return resultobj;
15652 fail:
15653 return NULL;
15654}
15655
15656
15657static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15660 wxColour result;
15661 PyObject * obj0 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 result = (arg1)->GetBackgroundColour();
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
15676 wxColour * resultptr;
15677 resultptr = new wxColour((wxColour &) result);
15678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15679 }
15680 return resultobj;
15681 fail:
15682 return NULL;
15683}
15684
15685
15686static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15689 wxFont result;
15690 PyObject * obj0 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = (arg1)->GetFont();
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 {
15705 wxFont * resultptr;
15706 resultptr = new wxFont((wxFont &) result);
15707 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15708 }
15709 return resultobj;
15710 fail:
15711 return NULL;
15712}
15713
15714
15715static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15716 PyObject *resultobj;
15717 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15718 PyObject * obj0 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 wxListItemAttr_Destroy(arg1);
15728
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 Py_INCREF(Py_None); resultobj = Py_None;
15733 return resultobj;
15734 fail:
15735 return NULL;
15736}
15737
15738
15739static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15740 PyObject *obj;
15741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15742 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15743 Py_INCREF(obj);
15744 return Py_BuildValue((char *)"");
15745}
15746static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxListItem *result;
15749 char *kwnames[] = {
15750 NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 result = (wxListItem *)new wxListItem();
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 {
15762 resultobj = wxPyMake_wxObject(result);
15763 }
15764 return resultobj;
15765 fail:
15766 return NULL;
15767}
15768
15769
15770static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxListItem *arg1 = (wxListItem *) 0 ;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 delete arg1;
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 Py_INCREF(Py_None); resultobj = Py_None;
15788 return resultobj;
15789 fail:
15790 return NULL;
15791}
15792
15793
15794static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxListItem *arg1 = (wxListItem *) 0 ;
15797 PyObject * obj0 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15804 {
15805 PyThreadState* __tstate = wxPyBeginAllowThreads();
15806 (arg1)->Clear();
15807
15808 wxPyEndAllowThreads(__tstate);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 }
15811 Py_INCREF(Py_None); resultobj = Py_None;
15812 return resultobj;
15813 fail:
15814 return NULL;
15815}
15816
15817
15818static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15819 PyObject *resultobj;
15820 wxListItem *arg1 = (wxListItem *) 0 ;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 (arg1)->ClearAttributes();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 Py_INCREF(Py_None); resultobj = Py_None;
15836 return resultobj;
15837 fail:
15838 return NULL;
15839}
15840
15841
15842static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxListItem *arg1 = (wxListItem *) 0 ;
15845 long arg2 ;
15846 PyObject * obj0 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "mask", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 (arg1)->SetMask(arg2);
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 Py_INCREF(Py_None); resultobj = Py_None;
15861 return resultobj;
15862 fail:
15863 return NULL;
15864}
15865
15866
15867static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxListItem *arg1 = (wxListItem *) 0 ;
15870 long arg2 ;
15871 PyObject * obj0 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self",(char *) "id", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 (arg1)->SetId(arg2);
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15885 Py_INCREF(Py_None); resultobj = Py_None;
15886 return resultobj;
15887 fail:
15888 return NULL;
15889}
15890
15891
15892static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15893 PyObject *resultobj;
15894 wxListItem *arg1 = (wxListItem *) 0 ;
15895 int arg2 ;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "col", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetColumn(arg2);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 return resultobj;
15912 fail:
15913 return NULL;
15914}
15915
15916
15917static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxListItem *arg1 = (wxListItem *) 0 ;
15920 long arg2 ;
15921 PyObject * obj0 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "state", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->SetState(arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939}
15940
15941
15942static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxListItem *arg1 = (wxListItem *) 0 ;
15945 long arg2 ;
15946 PyObject * obj0 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "stateMask", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->SetStateMask(arg2);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964}
15965
15966
15967static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxListItem *arg1 = (wxListItem *) 0 ;
15970 wxString *arg2 = 0 ;
e811c8ce 15971 bool temp2 = False ;
d14a1e28
RD
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self",(char *) "text", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15980 {
15981 arg2 = wxString_in_helper(obj1);
15982 if (arg2 == NULL) SWIG_fail;
e811c8ce 15983 temp2 = True;
d14a1e28
RD
15984 }
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 (arg1)->SetText((wxString const &)*arg2);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 {
15994 if (temp2)
15995 delete arg2;
15996 }
15997 return resultobj;
15998 fail:
15999 {
16000 if (temp2)
16001 delete arg2;
16002 }
16003 return NULL;
16004}
16005
16006
16007static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxListItem *arg1 = (wxListItem *) 0 ;
16010 int arg2 ;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "image", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 (arg1)->SetImage(arg2);
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 Py_INCREF(Py_None); resultobj = Py_None;
16026 return resultobj;
16027 fail:
16028 return NULL;
16029}
16030
16031
16032static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxListItem *arg1 = (wxListItem *) 0 ;
16035 long arg2 ;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "data", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 (arg1)->SetData(arg2);
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 Py_INCREF(Py_None); resultobj = Py_None;
16051 return resultobj;
16052 fail:
16053 return NULL;
16054}
16055
16056
16057static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16058 PyObject *resultobj;
16059 wxListItem *arg1 = (wxListItem *) 0 ;
16060 int arg2 ;
16061 PyObject * obj0 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "width", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 (arg1)->SetWidth(arg2);
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 Py_INCREF(Py_None); resultobj = Py_None;
16076 return resultobj;
16077 fail:
16078 return NULL;
16079}
16080
16081
16082static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxListItem *arg1 = (wxListItem *) 0 ;
16085 int arg2 ;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "align", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 (arg1)->SetAlign((wxListColumnFormat )arg2);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104}
16105
16106
16107static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxListItem *arg1 = (wxListItem *) 0 ;
16110 wxColour *arg2 = 0 ;
16111 wxColour temp2 ;
16112 PyObject * obj0 = 0 ;
16113 PyObject * obj1 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "colText", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16120 {
16121 arg2 = &temp2;
16122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16123 }
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 (arg1)->SetTextColour((wxColour const &)*arg2);
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 Py_INCREF(Py_None); resultobj = Py_None;
16132 return resultobj;
16133 fail:
16134 return NULL;
16135}
16136
16137
16138static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxListItem *arg1 = (wxListItem *) 0 ;
16141 wxColour *arg2 = 0 ;
16142 wxColour temp2 ;
16143 PyObject * obj0 = 0 ;
16144 PyObject * obj1 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "colBack", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 {
16152 arg2 = &temp2;
16153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16154 }
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 Py_INCREF(Py_None); resultobj = Py_None;
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxListItem *arg1 = (wxListItem *) 0 ;
16172 wxFont *arg2 = 0 ;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "font", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16182 if (arg2 == NULL) {
16183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16184 }
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 (arg1)->SetFont((wxFont const &)*arg2);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 Py_INCREF(Py_None); resultobj = Py_None;
16193 return resultobj;
16194 fail:
16195 return NULL;
16196}
16197
16198
16199static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxListItem *arg1 = (wxListItem *) 0 ;
16202 long result;
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (long)(arg1)->GetMask();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 resultobj = PyInt_FromLong((long)result);
16218 return resultobj;
16219 fail:
16220 return NULL;
16221}
16222
16223
16224static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxListItem *arg1 = (wxListItem *) 0 ;
16227 long result;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 result = (long)(arg1)->GetId();
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 resultobj = PyInt_FromLong((long)result);
16243 return resultobj;
16244 fail:
16245 return NULL;
16246}
16247
16248
16249static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxListItem *arg1 = (wxListItem *) 0 ;
16252 int result;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (int)(arg1)->GetColumn();
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 resultobj = PyInt_FromLong((long)result);
16268 return resultobj;
16269 fail:
16270 return NULL;
16271}
16272
16273
16274static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxListItem *arg1 = (wxListItem *) 0 ;
16277 long result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (long)(arg1)->GetState();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 resultobj = PyInt_FromLong((long)result);
16293 return resultobj;
16294 fail:
16295 return NULL;
16296}
16297
16298
16299static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxListItem *arg1 = (wxListItem *) 0 ;
16302 wxString *result;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 {
16313 wxString const &_result_ref = (arg1)->GetText();
16314 result = (wxString *) &_result_ref;
16315 }
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
cc6dd355
RD
16320 {
16321#if wxUSE_UNICODE
16322 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16323#else
16324 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16325#endif
16326 }
d14a1e28
RD
16327 return resultobj;
16328 fail:
16329 return NULL;
16330}
16331
16332
16333static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxListItem *arg1 = (wxListItem *) 0 ;
16336 int result;
16337 PyObject * obj0 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 PyThreadState* __tstate = wxPyBeginAllowThreads();
16346 result = (int)(arg1)->GetImage();
16347
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 resultobj = PyInt_FromLong((long)result);
16352 return resultobj;
16353 fail:
16354 return NULL;
16355}
16356
16357
16358static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxListItem *arg1 = (wxListItem *) 0 ;
16361 long result;
16362 PyObject * obj0 = 0 ;
16363 char *kwnames[] = {
16364 (char *) "self", NULL
16365 };
16366
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (long)(arg1)->GetData();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 resultobj = PyInt_FromLong((long)result);
16377 return resultobj;
16378 fail:
16379 return NULL;
16380}
16381
16382
16383static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxListItem *arg1 = (wxListItem *) 0 ;
16386 int result;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 result = (int)(arg1)->GetWidth();
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 resultobj = PyInt_FromLong((long)result);
16402 return resultobj;
16403 fail:
16404 return NULL;
16405}
16406
16407
16408static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxListItem *arg1 = (wxListItem *) 0 ;
16411 int result;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (int)(arg1)->GetAlign();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 resultobj = PyInt_FromLong((long)result);
16427 return resultobj;
16428 fail:
16429 return NULL;
16430}
16431
16432
16433static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxListItem *arg1 = (wxListItem *) 0 ;
16436 wxListItemAttr *result;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = (wxListItemAttr *)(arg1)->GetAttributes();
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
16451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16452 return resultobj;
16453 fail:
16454 return NULL;
16455}
16456
16457
16458static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxListItem *arg1 = (wxListItem *) 0 ;
16461 bool result;
16462 PyObject * obj0 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 result = (bool)(arg1)->HasAttributes();
16472
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 resultobj = PyInt_FromLong((long)result);
16477 return resultobj;
16478 fail:
16479 return NULL;
16480}
16481
16482
16483static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj;
16485 wxListItem *arg1 = (wxListItem *) 0 ;
16486 wxColour result;
16487 PyObject * obj0 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = ((wxListItem const *)arg1)->GetTextColour();
16497
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 {
16502 wxColour * resultptr;
16503 resultptr = new wxColour((wxColour &) result);
16504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16505 }
16506 return resultobj;
16507 fail:
16508 return NULL;
16509}
16510
16511
16512static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16513 PyObject *resultobj;
16514 wxListItem *arg1 = (wxListItem *) 0 ;
16515 wxColour result;
16516 PyObject * obj0 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
16525 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 wxColour * resultptr;
16532 resultptr = new wxColour((wxColour &) result);
16533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16534 }
16535 return resultobj;
16536 fail:
16537 return NULL;
16538}
16539
16540
16541static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj;
16543 wxListItem *arg1 = (wxListItem *) 0 ;
16544 wxFont result;
16545 PyObject * obj0 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self", NULL
16548 };
16549
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 result = ((wxListItem const *)arg1)->GetFont();
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 {
16560 wxFont * resultptr;
16561 resultptr = new wxFont((wxFont &) result);
16562 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16563 }
16564 return resultobj;
16565 fail:
16566 return NULL;
16567}
16568
16569
16570static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj;
16572 wxListItem *arg1 = (wxListItem *) 0 ;
16573 long arg2 ;
16574 PyObject * obj0 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "m_mask", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16581 if (arg1) (arg1)->m_mask = arg2;
16582
16583 Py_INCREF(Py_None); resultobj = Py_None;
16584 return resultobj;
16585 fail:
16586 return NULL;
16587}
16588
16589
16590static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 wxListItem *arg1 = (wxListItem *) 0 ;
16593 long result;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16601 result = (long) ((arg1)->m_mask);
16602
16603 resultobj = PyInt_FromLong((long)result);
16604 return resultobj;
16605 fail:
16606 return NULL;
16607}
16608
16609
16610static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxListItem *arg1 = (wxListItem *) 0 ;
16613 long arg2 ;
16614 PyObject * obj0 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "m_itemId", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16621 if (arg1) (arg1)->m_itemId = arg2;
16622
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627}
16628
16629
16630static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj;
16632 wxListItem *arg1 = (wxListItem *) 0 ;
16633 long result;
16634 PyObject * obj0 = 0 ;
16635 char *kwnames[] = {
16636 (char *) "self", NULL
16637 };
16638
16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16641 result = (long) ((arg1)->m_itemId);
16642
16643 resultobj = PyInt_FromLong((long)result);
16644 return resultobj;
16645 fail:
16646 return NULL;
16647}
16648
16649
16650static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxListItem *arg1 = (wxListItem *) 0 ;
16653 int arg2 ;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "m_col", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16661 if (arg1) (arg1)->m_col = arg2;
16662
16663 Py_INCREF(Py_None); resultobj = Py_None;
16664 return resultobj;
16665 fail:
16666 return NULL;
16667}
16668
16669
16670static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxListItem *arg1 = (wxListItem *) 0 ;
16673 int result;
16674 PyObject * obj0 = 0 ;
16675 char *kwnames[] = {
16676 (char *) "self", NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16681 result = (int) ((arg1)->m_col);
16682
16683 resultobj = PyInt_FromLong((long)result);
16684 return resultobj;
16685 fail:
16686 return NULL;
16687}
16688
16689
16690static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 wxListItem *arg1 = (wxListItem *) 0 ;
16693 long arg2 ;
16694 PyObject * obj0 = 0 ;
16695 char *kwnames[] = {
16696 (char *) "self",(char *) "m_state", NULL
16697 };
16698
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16701 if (arg1) (arg1)->m_state = arg2;
16702
16703 Py_INCREF(Py_None); resultobj = Py_None;
16704 return resultobj;
16705 fail:
16706 return NULL;
16707}
16708
16709
16710static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxListItem *arg1 = (wxListItem *) 0 ;
16713 long result;
16714 PyObject * obj0 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 result = (long) ((arg1)->m_state);
16722
16723 resultobj = PyInt_FromLong((long)result);
16724 return resultobj;
16725 fail:
16726 return NULL;
16727}
16728
16729
16730static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 wxListItem *arg1 = (wxListItem *) 0 ;
16733 long arg2 ;
16734 PyObject * obj0 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "self",(char *) "m_stateMask", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16741 if (arg1) (arg1)->m_stateMask = arg2;
16742
16743 Py_INCREF(Py_None); resultobj = Py_None;
16744 return resultobj;
16745 fail:
16746 return NULL;
16747}
16748
16749
16750static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxListItem *arg1 = (wxListItem *) 0 ;
16753 long result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 result = (long) ((arg1)->m_stateMask);
16762
16763 resultobj = PyInt_FromLong((long)result);
16764 return resultobj;
16765 fail:
16766 return NULL;
16767}
16768
16769
16770static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 16773 wxString *arg2 = (wxString *) 0 ;
7eae615b 16774 bool temp2 = False ;
d14a1e28
RD
16775 PyObject * obj0 = 0 ;
16776 PyObject * obj1 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self",(char *) "m_text", NULL
16779 };
16780
16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7eae615b
RD
16783 {
16784 arg2 = wxString_in_helper(obj1);
16785 if (arg2 == NULL) SWIG_fail;
16786 temp2 = True;
16787 }
196addbf 16788 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
16789
16790 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
16791 {
16792 if (temp2)
16793 delete arg2;
16794 }
d14a1e28
RD
16795 return resultobj;
16796 fail:
7eae615b
RD
16797 {
16798 if (temp2)
16799 delete arg2;
16800 }
d14a1e28
RD
16801 return NULL;
16802}
16803
16804
16805static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 16808 wxString *result;
d14a1e28
RD
16809 PyObject * obj0 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
196addbf 16816 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
16817
16818 {
16819#if wxUSE_UNICODE
196addbf 16820 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16821#else
196addbf 16822 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16823#endif
16824 }
16825 return resultobj;
16826 fail:
16827 return NULL;
16828}
16829
16830
16831static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxListItem *arg1 = (wxListItem *) 0 ;
16834 int arg2 ;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self",(char *) "m_image", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 if (arg1) (arg1)->m_image = arg2;
16843
16844 Py_INCREF(Py_None); resultobj = Py_None;
16845 return resultobj;
16846 fail:
16847 return NULL;
16848}
16849
16850
16851static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxListItem *arg1 = (wxListItem *) 0 ;
16854 int result;
16855 PyObject * obj0 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 result = (int) ((arg1)->m_image);
16863
16864 resultobj = PyInt_FromLong((long)result);
16865 return resultobj;
16866 fail:
16867 return NULL;
16868}
16869
16870
16871static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxListItem *arg1 = (wxListItem *) 0 ;
16874 long arg2 ;
16875 PyObject * obj0 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "m_data", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16882 if (arg1) (arg1)->m_data = arg2;
16883
16884 Py_INCREF(Py_None); resultobj = Py_None;
16885 return resultobj;
16886 fail:
16887 return NULL;
16888}
16889
16890
16891static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxListItem *arg1 = (wxListItem *) 0 ;
16894 long result;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 result = (long) ((arg1)->m_data);
16903
16904 resultobj = PyInt_FromLong((long)result);
16905 return resultobj;
16906 fail:
16907 return NULL;
16908}
16909
16910
16911static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxListItem *arg1 = (wxListItem *) 0 ;
16914 int arg2 ;
16915 PyObject * obj0 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "self",(char *) "m_format", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16922 if (arg1) (arg1)->m_format = arg2;
16923
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 return resultobj;
16926 fail:
16927 return NULL;
16928}
16929
16930
16931static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 wxListItem *arg1 = (wxListItem *) 0 ;
16934 int result;
16935 PyObject * obj0 = 0 ;
16936 char *kwnames[] = {
16937 (char *) "self", NULL
16938 };
16939
16940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16942 result = (int) ((arg1)->m_format);
16943
16944 resultobj = PyInt_FromLong((long)result);
16945 return resultobj;
16946 fail:
16947 return NULL;
16948}
16949
16950
16951static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 wxListItem *arg1 = (wxListItem *) 0 ;
16954 int arg2 ;
16955 PyObject * obj0 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self",(char *) "m_width", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16962 if (arg1) (arg1)->m_width = arg2;
16963
16964 Py_INCREF(Py_None); resultobj = Py_None;
16965 return resultobj;
16966 fail:
16967 return NULL;
16968}
16969
16970
16971static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 wxListItem *arg1 = (wxListItem *) 0 ;
16974 int result;
16975 PyObject * obj0 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "self", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16982 result = (int) ((arg1)->m_width);
16983
16984 resultobj = PyInt_FromLong((long)result);
16985 return resultobj;
16986 fail:
16987 return NULL;
16988}
16989
16990
16991static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16992 PyObject *obj;
16993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16994 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16995 Py_INCREF(obj);
16996 return Py_BuildValue((char *)"");
16997}
16998static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17001 int arg2 = (int) 0 ;
17002 wxListEvent *result;
17003 char *kwnames[] = {
17004 (char *) "commandType",(char *) "id", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019}
17020
17021
17022static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxListEvent *arg1 = (wxListEvent *) 0 ;
17025 int arg2 ;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "m_code", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 if (arg1) (arg1)->m_code = arg2;
17034
17035 Py_INCREF(Py_None); resultobj = Py_None;
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxListEvent *arg1 = (wxListEvent *) 0 ;
17045 int result;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17053 result = (int) ((arg1)->m_code);
17054
17055 resultobj = PyInt_FromLong((long)result);
17056 return resultobj;
17057 fail:
17058 return NULL;
17059}
17060
17061
17062static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxListEvent *arg1 = (wxListEvent *) 0 ;
17065 long arg2 ;
17066 PyObject * obj0 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self",(char *) "m_oldItemIndex", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17073 if (arg1) (arg1)->m_oldItemIndex = arg2;
17074
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 return resultobj;
17077 fail:
17078 return NULL;
17079}
17080
17081
17082static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxListEvent *arg1 = (wxListEvent *) 0 ;
17085 long result;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17093 result = (long) ((arg1)->m_oldItemIndex);
17094
17095 resultobj = PyInt_FromLong((long)result);
17096 return resultobj;
17097 fail:
17098 return NULL;
17099}
17100
17101
17102static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxListEvent *arg1 = (wxListEvent *) 0 ;
17105 long arg2 ;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "m_itemIndex", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 if (arg1) (arg1)->m_itemIndex = arg2;
17114
17115 Py_INCREF(Py_None); resultobj = Py_None;
17116 return resultobj;
17117 fail:
17118 return NULL;
17119}
17120
17121
17122static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj;
17124 wxListEvent *arg1 = (wxListEvent *) 0 ;
17125 long result;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17133 result = (long) ((arg1)->m_itemIndex);
17134
17135 resultobj = PyInt_FromLong((long)result);
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxListEvent *arg1 = (wxListEvent *) 0 ;
17145 int arg2 ;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self",(char *) "m_col", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 if (arg1) (arg1)->m_col = arg2;
17154
17155 Py_INCREF(Py_None); resultobj = Py_None;
17156 return resultobj;
17157 fail:
17158 return NULL;
17159}
17160
17161
17162static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17163 PyObject *resultobj;
17164 wxListEvent *arg1 = (wxListEvent *) 0 ;
17165 int result;
17166 PyObject * obj0 = 0 ;
17167 char *kwnames[] = {
17168 (char *) "self", NULL
17169 };
17170
17171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17173 result = (int) ((arg1)->m_col);
17174
17175 resultobj = PyInt_FromLong((long)result);
17176 return resultobj;
17177 fail:
17178 return NULL;
17179}
17180
17181
17182static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxListEvent *arg1 = (wxListEvent *) 0 ;
17185 wxPoint *arg2 = (wxPoint *) 0 ;
17186 PyObject * obj0 = 0 ;
17187 PyObject * obj1 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self",(char *) "m_pointDrag", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17195 if (arg1) (arg1)->m_pointDrag = *arg2;
17196
17197 Py_INCREF(Py_None); resultobj = Py_None;
17198 return resultobj;
17199 fail:
17200 return NULL;
17201}
17202
17203
17204static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj;
17206 wxListEvent *arg1 = (wxListEvent *) 0 ;
17207 wxPoint *result;
17208 PyObject * obj0 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "self", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17215 result = (wxPoint *)& ((arg1)->m_pointDrag);
17216
17217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17218 return resultobj;
17219 fail:
17220 return NULL;
17221}
17222
17223
17224static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj;
17226 wxListEvent *arg1 = (wxListEvent *) 0 ;
17227 wxListItem *result;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17235 result = (wxListItem *)& ((arg1)->m_item);
17236
17237 {
17238 resultobj = wxPyMake_wxObject(result);
17239 }
17240 return resultobj;
17241 fail:
17242 return NULL;
17243}
17244
17245
17246static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17247 PyObject *resultobj;
17248 wxListEvent *arg1 = (wxListEvent *) 0 ;
17249 int result;
17250 PyObject * obj0 = 0 ;
17251 char *kwnames[] = {
17252 (char *) "self", NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 result = (int)(arg1)->GetKeyCode();
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 resultobj = PyInt_FromLong((long)result);
17265 return resultobj;
17266 fail:
17267 return NULL;
17268}
17269
17270
17271static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxListEvent *arg1 = (wxListEvent *) 0 ;
17274 long result;
17275 PyObject * obj0 = 0 ;
17276 char *kwnames[] = {
17277 (char *) "self", NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (long)(arg1)->GetIndex();
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 resultobj = PyInt_FromLong((long)result);
17290 return resultobj;
17291 fail:
17292 return NULL;
17293}
17294
17295
17296static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxListEvent *arg1 = (wxListEvent *) 0 ;
17299 int result;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "self", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = (int)(arg1)->GetColumn();
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 resultobj = PyInt_FromLong((long)result);
17315 return resultobj;
17316 fail:
17317 return NULL;
17318}
17319
17320
17321static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxListEvent *arg1 = (wxListEvent *) 0 ;
17324 wxPoint result;
17325 PyObject * obj0 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = (arg1)->GetPoint();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 {
17340 wxPoint * resultptr;
17341 resultptr = new wxPoint((wxPoint &) result);
17342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17343 }
17344 return resultobj;
17345 fail:
17346 return NULL;
17347}
17348
17349
17350static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxListEvent *arg1 = (wxListEvent *) 0 ;
17353 wxString *result;
17354 PyObject * obj0 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17361 {
17362 PyThreadState* __tstate = wxPyBeginAllowThreads();
17363 {
17364 wxString const &_result_ref = (arg1)->GetLabel();
17365 result = (wxString *) &_result_ref;
17366 }
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
cc6dd355
RD
17371 {
17372#if wxUSE_UNICODE
17373 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17374#else
17375 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17376#endif
17377 }
d14a1e28
RD
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
17384static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxListEvent *arg1 = (wxListEvent *) 0 ;
17387 wxString *result;
17388 PyObject * obj0 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 {
17398 wxString const &_result_ref = (arg1)->GetText();
17399 result = (wxString *) &_result_ref;
17400 }
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
cc6dd355
RD
17405 {
17406#if wxUSE_UNICODE
17407 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17408#else
17409 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17410#endif
17411 }
d14a1e28
RD
17412 return resultobj;
17413 fail:
17414 return NULL;
17415}
17416
17417
17418static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17419 PyObject *resultobj;
17420 wxListEvent *arg1 = (wxListEvent *) 0 ;
17421 int result;
17422 PyObject * obj0 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 result = (int)(arg1)->GetImage();
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 resultobj = PyInt_FromLong((long)result);
17437 return resultobj;
17438 fail:
17439 return NULL;
17440}
17441
17442
17443static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17444 PyObject *resultobj;
17445 wxListEvent *arg1 = (wxListEvent *) 0 ;
17446 long result;
17447 PyObject * obj0 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = (long)(arg1)->GetData();
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 resultobj = PyInt_FromLong((long)result);
17462 return resultobj;
17463 fail:
17464 return NULL;
17465}
17466
17467
17468static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxListEvent *arg1 = (wxListEvent *) 0 ;
17471 long result;
17472 PyObject * obj0 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 result = (long)(arg1)->GetMask();
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = PyInt_FromLong((long)result);
17487 return resultobj;
17488 fail:
17489 return NULL;
17490}
17491
17492
17493static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxListEvent *arg1 = (wxListEvent *) 0 ;
17496 wxListItem *result;
17497 PyObject * obj0 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self", NULL
17500 };
17501
17502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 {
17507 wxListItem const &_result_ref = (arg1)->GetItem();
17508 result = (wxListItem *) &_result_ref;
17509 }
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17515 return resultobj;
17516 fail:
17517 return NULL;
17518}
17519
17520
17521static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxListEvent *arg1 = (wxListEvent *) 0 ;
17524 long result;
17525 PyObject * obj0 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 result = (long)(arg1)->GetCacheFrom();
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 resultobj = PyInt_FromLong((long)result);
17540 return resultobj;
17541 fail:
17542 return NULL;
17543}
17544
17545
17546static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxListEvent *arg1 = (wxListEvent *) 0 ;
17549 long result;
17550 PyObject * obj0 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (long)(arg1)->GetCacheTo();
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = PyInt_FromLong((long)result);
17565 return resultobj;
17566 fail:
17567 return NULL;
17568}
17569
17570
17571static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxListEvent *arg1 = (wxListEvent *) 0 ;
17574 bool result;
17575 PyObject * obj0 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 resultobj = PyInt_FromLong((long)result);
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
17596static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxListEvent *arg1 = (wxListEvent *) 0 ;
17599 bool arg2 ;
17600 PyObject * obj0 = 0 ;
17601 PyObject * obj1 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "editCancelled", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 arg2 = PyInt_AsLong(obj1) ? true : false;
17609 if (PyErr_Occurred()) SWIG_fail;
17610 {
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 (arg1)->SetEditCanceled(arg2);
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 Py_INCREF(Py_None); resultobj = Py_None;
17618 return resultobj;
17619 fail:
17620 return NULL;
17621}
17622
17623
17624static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17625 PyObject *obj;
17626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17628 Py_INCREF(obj);
17629 return Py_BuildValue((char *)"");
17630}
17631static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 17634 int arg2 = (int) -1 ;
d14a1e28
RD
17635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17637 wxSize const &arg4_defvalue = wxDefaultSize ;
17638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17639 long arg5 = (long) wxLC_ICON ;
17640 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17641 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17642 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17643 wxString *arg7 = (wxString *) &arg7_defvalue ;
17644 wxPyListCtrl *result;
17645 wxPoint temp3 ;
17646 wxSize temp4 ;
e811c8ce 17647 bool temp7 = False ;
d14a1e28
RD
17648 PyObject * obj0 = 0 ;
17649 PyObject * obj2 = 0 ;
17650 PyObject * obj3 = 0 ;
17651 PyObject * obj5 = 0 ;
17652 PyObject * obj6 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17659 if (obj2) {
17660 {
17661 arg3 = &temp3;
17662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17663 }
17664 }
17665 if (obj3) {
17666 {
17667 arg4 = &temp4;
17668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17669 }
17670 }
17671 if (obj5) {
17672 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 if (arg6 == NULL) {
17674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17675 }
17676 }
17677 if (obj6) {
17678 {
17679 arg7 = wxString_in_helper(obj6);
17680 if (arg7 == NULL) SWIG_fail;
e811c8ce 17681 temp7 = True;
d14a1e28
RD
17682 }
17683 }
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17687
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17692 {
17693 if (temp7)
17694 delete arg7;
17695 }
17696 return resultobj;
17697 fail:
17698 {
17699 if (temp7)
17700 delete arg7;
17701 }
17702 return NULL;
17703}
17704
17705
17706static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPyListCtrl *result;
17709 char *kwnames[] = {
17710 NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (wxPyListCtrl *)new wxPyListCtrl();
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17722 return resultobj;
17723 fail:
17724 return NULL;
17725}
17726
17727
17728static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17731 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 17732 int arg3 = (int) -1 ;
d14a1e28
RD
17733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17735 wxSize const &arg5_defvalue = wxDefaultSize ;
17736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17737 long arg6 = (long) wxLC_ICON ;
17738 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17739 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17740 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17741 wxString *arg8 = (wxString *) &arg8_defvalue ;
17742 bool result;
17743 wxPoint temp4 ;
17744 wxSize temp5 ;
e811c8ce 17745 bool temp8 = False ;
d14a1e28
RD
17746 PyObject * obj0 = 0 ;
17747 PyObject * obj1 = 0 ;
17748 PyObject * obj3 = 0 ;
17749 PyObject * obj4 = 0 ;
17750 PyObject * obj6 = 0 ;
17751 PyObject * obj7 = 0 ;
17752 char *kwnames[] = {
17753 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17754 };
17755
17756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17759 if (obj3) {
17760 {
17761 arg4 = &temp4;
17762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17763 }
17764 }
17765 if (obj4) {
17766 {
17767 arg5 = &temp5;
17768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17769 }
17770 }
17771 if (obj6) {
17772 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17773 if (arg7 == NULL) {
17774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17775 }
17776 }
17777 if (obj7) {
17778 {
17779 arg8 = wxString_in_helper(obj7);
17780 if (arg8 == NULL) SWIG_fail;
e811c8ce 17781 temp8 = True;
d14a1e28
RD
17782 }
17783 }
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 resultobj = PyInt_FromLong((long)result);
17792 {
17793 if (temp8)
17794 delete arg8;
17795 }
17796 return resultobj;
17797 fail:
17798 {
17799 if (temp8)
17800 delete arg8;
17801 }
17802 return NULL;
17803}
17804
17805
17806static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj;
17808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17809 PyObject *arg2 = (PyObject *) 0 ;
17810 PyObject *arg3 = (PyObject *) 0 ;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 PyObject * obj2 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "self",(char *) "_class", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17820 arg2 = obj1;
17821 arg3 = obj2;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 (arg1)->_setCallbackInfo(arg2,arg3);
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 Py_INCREF(Py_None); resultobj = Py_None;
17830 return resultobj;
17831 fail:
17832 return NULL;
17833}
17834
17835
17836static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17839 wxColour *arg2 = 0 ;
17840 bool result;
17841 wxColour temp2 ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "col", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 {
17851 arg2 = &temp2;
17852 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17853 }
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 resultobj = PyInt_FromLong((long)result);
17862 return resultobj;
17863 fail:
17864 return NULL;
17865}
17866
17867
17868static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17871 wxColour *arg2 = 0 ;
17872 bool result;
17873 wxColour temp2 ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "col", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 {
17883 arg2 = &temp2;
17884 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17885 }
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 resultobj = PyInt_FromLong((long)result);
17894 return resultobj;
17895 fail:
17896 return NULL;
17897}
17898
17899
17900static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17903 int arg2 ;
17904 wxListItem *result;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self",(char *) "col", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 {
17920 resultobj = wxPyMake_wxObject(result);
17921 }
17922 return resultobj;
17923 fail:
17924 return NULL;
17925}
17926
17927
17928static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17929 PyObject *resultobj;
17930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17931 int arg2 ;
17932 wxListItem *arg3 = 0 ;
17933 bool result;
17934 PyObject * obj0 = 0 ;
17935 PyObject * obj2 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "self",(char *) "col",(char *) "item", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17943 if (arg3 == NULL) {
17944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17945 }
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = PyInt_FromLong((long)result);
17954 return resultobj;
17955 fail:
17956 return NULL;
17957}
17958
17959
17960static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17963 int arg2 ;
17964 int result;
17965 PyObject * obj0 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self",(char *) "col", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17975
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
17979 resultobj = PyInt_FromLong((long)result);
17980 return resultobj;
17981 fail:
17982 return NULL;
17983}
17984
17985
17986static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj;
17988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17989 int arg2 ;
17990 int arg3 ;
17991 bool result;
17992 PyObject * obj0 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self",(char *) "col",(char *) "width", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 resultobj = PyInt_FromLong((long)result);
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
18013static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18016 int result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = PyInt_FromLong((long)result);
18032 return resultobj;
18033 fail:
18034 return NULL;
18035}
18036
18037
18038static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18041 wxRect result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 wxRect * resultptr;
18058 resultptr = new wxRect((wxRect &) result);
18059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18060 }
18061 return resultobj;
18062 fail:
18063 return NULL;
18064}
18065
18066
18067static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18070 long arg2 ;
18071 int arg3 = (int) 0 ;
18072 wxListItem *result;
18073 PyObject * obj0 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self",(char *) "itemId",(char *) "col", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18080 {
18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
18082 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18083
18084 wxPyEndAllowThreads(__tstate);
18085 if (PyErr_Occurred()) SWIG_fail;
18086 }
18087 {
18088 resultobj = wxPyMake_wxObject(result);
18089 }
18090 return resultobj;
18091 fail:
18092 return NULL;
18093}
18094
18095
18096static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18099 wxListItem *arg2 = 0 ;
18100 bool result;
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "info", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18110 if (arg2 == NULL) {
18111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18112 }
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (bool)(arg1)->SetItem(*arg2);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = PyInt_FromLong((long)result);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124}
18125
18126
18127static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18130 long arg2 ;
18131 int arg3 ;
18132 wxString *arg4 = 0 ;
18133 int arg5 = (int) -1 ;
18134 long result;
e811c8ce 18135 bool temp4 = False ;
d14a1e28
RD
18136 PyObject * obj0 = 0 ;
18137 PyObject * obj3 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18144 {
18145 arg4 = wxString_in_helper(obj3);
18146 if (arg4 == NULL) SWIG_fail;
e811c8ce 18147 temp4 = True;
d14a1e28
RD
18148 }
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 resultobj = PyInt_FromLong((long)result);
18157 {
18158 if (temp4)
18159 delete arg4;
18160 }
18161 return resultobj;
18162 fail:
18163 {
18164 if (temp4)
18165 delete arg4;
18166 }
18167 return NULL;
18168}
18169
18170
18171static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18174 long arg2 ;
18175 long arg3 ;
18176 int result;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = PyInt_FromLong((long)result);
18192 return resultobj;
18193 fail:
18194 return NULL;
18195}
18196
18197
18198static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj;
18200 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18201 long arg2 ;
18202 long arg3 ;
18203 long arg4 ;
18204 bool result;
18205 PyObject * obj0 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 resultobj = PyInt_FromLong((long)result);
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18229 long arg2 ;
18230 int arg3 ;
18231 int arg4 ;
18232 bool result;
18233 PyObject * obj0 = 0 ;
18234 char *kwnames[] = {
18235 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18236 };
18237
18238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = PyInt_FromLong((long)result);
18248 return resultobj;
18249 fail:
18250 return NULL;
18251}
18252
18253
18254static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18257 long arg2 ;
18258 wxString result;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "item", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 {
18274#if wxUSE_UNICODE
18275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18276#else
18277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18278#endif
18279 }
18280 return resultobj;
18281 fail:
18282 return NULL;
18283}
18284
18285
18286static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18289 long arg2 ;
18290 wxString *arg3 = 0 ;
e811c8ce 18291 bool temp3 = False ;
d14a1e28
RD
18292 PyObject * obj0 = 0 ;
18293 PyObject * obj2 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self",(char *) "item",(char *) "str", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 {
18301 arg3 = wxString_in_helper(obj2);
18302 if (arg3 == NULL) SWIG_fail;
e811c8ce 18303 temp3 = True;
d14a1e28
RD
18304 }
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 Py_INCREF(Py_None); resultobj = Py_None;
18313 {
18314 if (temp3)
18315 delete arg3;
18316 }
18317 return resultobj;
18318 fail:
18319 {
18320 if (temp3)
18321 delete arg3;
18322 }
18323 return NULL;
18324}
18325
18326
18327static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18330 long arg2 ;
18331 long result;
18332 PyObject * obj0 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self",(char *) "item", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = PyInt_FromLong((long)result);
18347 return resultobj;
18348 fail:
18349 return NULL;
18350}
18351
18352
18353static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18356 long arg2 ;
18357 long arg3 ;
18358 bool result;
18359 PyObject * obj0 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self",(char *) "item",(char *) "data", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 result = (bool)(arg1)->SetItemData(arg2,arg3);
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 resultobj = PyInt_FromLong((long)result);
18374 return resultobj;
18375 fail:
18376 return NULL;
18377}
18378
18379
18380static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj;
18382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18383 long arg2 ;
18384 wxPoint result;
18385 PyObject * obj0 = 0 ;
18386 char *kwnames[] = {
18387 (char *) "self",(char *) "item", NULL
18388 };
18389
18390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 {
18400 wxPoint * resultptr;
18401 resultptr = new wxPoint((wxPoint &) result);
18402 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18403 }
18404 return resultobj;
18405 fail:
18406 return NULL;
18407}
18408
18409
18410static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18413 long arg2 ;
18414 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18415 wxRect result;
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self",(char *) "item",(char *) "code", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 {
18431 wxRect * resultptr;
18432 resultptr = new wxRect((wxRect &) result);
18433 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18434 }
18435 return resultobj;
18436 fail:
18437 return NULL;
18438}
18439
18440
18441static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 wxPoint *arg3 = 0 ;
18446 bool result;
18447 wxPoint temp3 ;
18448 PyObject * obj0 = 0 ;
18449 PyObject * obj2 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self",(char *) "item",(char *) "pos", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 {
18457 arg3 = &temp3;
18458 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18459 }
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 resultobj = PyInt_FromLong((long)result);
18468 return resultobj;
18469 fail:
18470 return NULL;
18471}
18472
18473
18474static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18477 int result;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 resultobj = PyInt_FromLong((long)result);
18493 return resultobj;
18494 fail:
18495 return NULL;
18496}
18497
18498
18499static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18500 PyObject *resultobj;
18501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18502 int result;
18503 PyObject * obj0 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = PyInt_FromLong((long)result);
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
18524static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18527 wxSize result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 wxSize * resultptr;
18544 resultptr = new wxSize((wxSize &) result);
18545 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550}
18551
18552
18553static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18556 int arg2 ;
e811c8ce 18557 bool arg3 = (bool) False ;
d14a1e28
RD
18558 PyObject * obj0 = 0 ;
18559 PyObject * obj2 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 if (obj2) {
18567 arg3 = PyInt_AsLong(obj2) ? true : false;
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 (arg1)->SetItemSpacing(arg2,arg3);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581}
18582
18583
18584static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18587 int result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 resultobj = PyInt_FromLong((long)result);
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
18609static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18612 wxColour result;
18613 PyObject * obj0 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628 wxColour * resultptr;
18629 resultptr = new wxColour((wxColour &) result);
18630 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18631 }
18632 return resultobj;
18633 fail:
18634 return NULL;
18635}
18636
18637
18638static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18641 wxColour *arg2 = 0 ;
18642 wxColour temp2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "col", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 arg2 = &temp2;
18653 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18654 }
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->SetTextColour((wxColour const &)*arg2);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666}
18667
18668
18669static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18672 long result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = PyInt_FromLong((long)result);
18688 return resultobj;
18689 fail:
18690 return NULL;
18691}
18692
18693
18694static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18697 long arg2 ;
e811c8ce 18698 bool arg3 = (bool) True ;
d14a1e28
RD
18699 PyObject * obj0 = 0 ;
18700 PyObject * obj2 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self",(char *) "style",(char *) "add", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18707 if (obj2) {
18708 arg3 = PyInt_AsLong(obj2) ? true : false;
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 (arg1)->SetSingleStyle(arg2,arg3);
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 Py_INCREF(Py_None); resultobj = Py_None;
18719 return resultobj;
18720 fail:
18721 return NULL;
18722}
18723
18724
18725static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18728 long arg2 ;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self",(char *) "style", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18736 {
18737 PyThreadState* __tstate = wxPyBeginAllowThreads();
18738 (arg1)->SetWindowStyleFlag(arg2);
18739
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 Py_INCREF(Py_None); resultobj = Py_None;
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
18750static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18753 long arg2 ;
18754 int arg3 = (int) wxLIST_NEXT_ALL ;
18755 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18756 long result;
18757 PyObject * obj0 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 resultobj = PyInt_FromLong((long)result);
18772 return resultobj;
18773 fail:
18774 return NULL;
18775}
18776
18777
18778static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18781 int arg2 ;
18782 wxImageList *result;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "which", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 {
18798 resultobj = wxPyMake_wxObject(result);
18799 }
18800 return resultobj;
18801 fail:
18802 return NULL;
18803}
18804
18805
18806static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18809 wxImageList *arg2 = (wxImageList *) 0 ;
18810 int arg3 ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self",(char *) "imageList",(char *) "which", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 (arg1)->SetImageList(arg2,arg3);
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 Py_INCREF(Py_None); resultobj = Py_None;
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
18834static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18837 wxImageList *arg2 = (wxImageList *) 0 ;
18838 int arg3 ;
18839 PyObject * obj0 = 0 ;
18840 PyObject * obj1 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self",(char *) "imageList",(char *) "which", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 (arg1)->AssignImageList(arg2,arg3);
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 Py_INCREF(Py_None); resultobj = Py_None;
18856 return resultobj;
18857 fail:
18858 return NULL;
18859}
18860
18861
18862static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18863 PyObject *resultobj;
18864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18865 bool result;
18866 PyObject * obj0 = 0 ;
18867 char *kwnames[] = {
18868 (char *) "self", NULL
18869 };
18870
18871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18876
18877 wxPyEndAllowThreads(__tstate);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 resultobj = PyInt_FromLong((long)result);
18881 return resultobj;
18882 fail:
18883 return NULL;
18884}
18885
18886
18887static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18890 long arg2 ;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "item", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->RefreshItem(arg2);
18901
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 Py_INCREF(Py_None); resultobj = Py_None;
18906 return resultobj;
18907 fail:
18908 return NULL;
18909}
18910
18911
18912static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18915 long arg2 ;
18916 long arg3 ;
18917 PyObject * obj0 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->RefreshItems(arg2,arg3);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 Py_INCREF(Py_None); resultobj = Py_None;
18932 return resultobj;
18933 fail:
18934 return NULL;
18935}
18936
18937
18938static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18941 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18942 bool result;
18943 PyObject * obj0 = 0 ;
18944 char *kwnames[] = {
18945 (char *) "self",(char *) "flag", NULL
18946 };
18947
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (bool)(arg1)->Arrange(arg2);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 resultobj = PyInt_FromLong((long)result);
18958 return resultobj;
18959 fail:
18960 return NULL;
18961}
18962
18963
18964static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18967 long arg2 ;
18968 bool result;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self",(char *) "item", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 result = (bool)(arg1)->DeleteItem(arg2);
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 resultobj = PyInt_FromLong((long)result);
18984 return resultobj;
18985 fail:
18986 return NULL;
18987}
18988
18989
18990static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18991 PyObject *resultobj;
18992 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18993 bool result;
18994 PyObject * obj0 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (bool)(arg1)->DeleteAllItems();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 resultobj = PyInt_FromLong((long)result);
19009 return resultobj;
19010 fail:
19011 return NULL;
19012}
19013
19014
19015static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19018 int arg2 ;
19019 bool result;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "col", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = (bool)(arg1)->DeleteColumn(arg2);
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 resultobj = PyInt_FromLong((long)result);
19035 return resultobj;
19036 fail:
19037 return NULL;
19038}
19039
19040
19041static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19044 bool result;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (bool)(arg1)->DeleteAllColumns();
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 resultobj = PyInt_FromLong((long)result);
19060 return resultobj;
19061 fail:
19062 return NULL;
19063}
19064
19065
19066static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19069 PyObject * obj0 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 (arg1)->ClearAll();
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 Py_INCREF(Py_None); resultobj = Py_None;
19084 return resultobj;
19085 fail:
19086 return NULL;
19087}
19088
19089
19090static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19093 long arg2 ;
19094 PyObject * obj0 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "item", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 (arg1)->EditLabel(arg2);
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 Py_INCREF(Py_None); resultobj = Py_None;
19109 return resultobj;
19110 fail:
19111 return NULL;
19112}
19113
19114
19115static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19118 long arg2 ;
19119 bool result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "self",(char *) "item", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (bool)(arg1)->EnsureVisible(arg2);
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 resultobj = PyInt_FromLong((long)result);
19135 return resultobj;
19136 fail:
19137 return NULL;
19138}
19139
19140
19141static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19144 long arg2 ;
19145 wxString *arg3 = 0 ;
e811c8ce 19146 bool arg4 = (bool) False ;
d14a1e28 19147 long result;
e811c8ce 19148 bool temp3 = False ;
d14a1e28
RD
19149 PyObject * obj0 = 0 ;
19150 PyObject * obj2 = 0 ;
19151 PyObject * obj3 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 arg3 = wxString_in_helper(obj2);
19160 if (arg3 == NULL) SWIG_fail;
e811c8ce 19161 temp3 = True;
d14a1e28
RD
19162 }
19163 if (obj3) {
19164 arg4 = PyInt_AsLong(obj3) ? true : false;
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = PyInt_FromLong((long)result);
19175 {
19176 if (temp3)
19177 delete arg3;
19178 }
19179 return resultobj;
19180 fail:
19181 {
19182 if (temp3)
19183 delete arg3;
19184 }
19185 return NULL;
19186}
19187
19188
19189static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19192 long arg2 ;
19193 long arg3 ;
19194 long result;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "start",(char *) "data", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (long)(arg1)->FindItem(arg2,arg3);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 resultobj = PyInt_FromLong((long)result);
19210 return resultobj;
19211 fail:
19212 return NULL;
19213}
19214
19215
19216static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19219 long arg2 ;
19220 wxPoint *arg3 = 0 ;
19221 int arg4 ;
19222 long result;
19223 wxPoint temp3 ;
19224 PyObject * obj0 = 0 ;
19225 PyObject * obj2 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19232 {
19233 arg3 = &temp3;
19234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19235 }
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19239
19240 wxPyEndAllowThreads(__tstate);
19241 if (PyErr_Occurred()) SWIG_fail;
19242 }
19243 resultobj = PyInt_FromLong((long)result);
19244 return resultobj;
19245 fail:
19246 return NULL;
19247}
19248
19249
19250static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj;
19252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19253 wxPoint *arg2 = 0 ;
19254 int *arg3 = 0 ;
19255 long result;
19256 wxPoint temp2 ;
19257 int temp3 ;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self",(char *) "point", NULL
19262 };
19263
19264 arg3 = &temp3;
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19267 {
19268 arg2 = &temp2;
19269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = PyInt_FromLong((long)result);
19279 {
19280 PyObject *o = PyInt_FromLong((long) (*arg3));
19281 resultobj = t_output_helper(resultobj,o);
19282 }
19283 return resultobj;
19284 fail:
19285 return NULL;
19286}
19287
19288
19289static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19292 wxListItem *arg2 = 0 ;
19293 long result;
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "info", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19303 if (arg2 == NULL) {
19304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19305 }
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = (long)(arg1)->InsertItem(*arg2);
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = PyInt_FromLong((long)result);
19314 return resultobj;
19315 fail:
19316 return NULL;
19317}
19318
19319
19320static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19323 long arg2 ;
19324 wxString *arg3 = 0 ;
19325 long result;
e811c8ce 19326 bool temp3 = False ;
d14a1e28
RD
19327 PyObject * obj0 = 0 ;
19328 PyObject * obj2 = 0 ;
19329 char *kwnames[] = {
19330 (char *) "self",(char *) "index",(char *) "label", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19335 {
19336 arg3 = wxString_in_helper(obj2);
19337 if (arg3 == NULL) SWIG_fail;
e811c8ce 19338 temp3 = True;
d14a1e28
RD
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = PyInt_FromLong((long)result);
19348 {
19349 if (temp3)
19350 delete arg3;
19351 }
19352 return resultobj;
19353 fail:
19354 {
19355 if (temp3)
19356 delete arg3;
19357 }
19358 return NULL;
19359}
19360
19361
19362static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19365 long arg2 ;
19366 int arg3 ;
19367 long result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (long)(arg1)->InsertItem(arg2,arg3);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = PyInt_FromLong((long)result);
19383 return resultobj;
19384 fail:
19385 return NULL;
19386}
19387
19388
19389static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19392 long arg2 ;
19393 wxString *arg3 = 0 ;
19394 int arg4 ;
19395 long result;
e811c8ce 19396 bool temp3 = False ;
d14a1e28
RD
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj2 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 {
19406 arg3 = wxString_in_helper(obj2);
19407 if (arg3 == NULL) SWIG_fail;
e811c8ce 19408 temp3 = True;
d14a1e28
RD
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 resultobj = PyInt_FromLong((long)result);
19418 {
19419 if (temp3)
19420 delete arg3;
19421 }
19422 return resultobj;
19423 fail:
19424 {
19425 if (temp3)
19426 delete arg3;
19427 }
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19435 long arg2 ;
19436 wxListItem *arg3 = 0 ;
19437 long result;
19438 PyObject * obj0 = 0 ;
19439 PyObject * obj2 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self",(char *) "col",(char *) "info", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 if (arg3 == NULL) {
19448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19449 }
19450 {
19451 PyThreadState* __tstate = wxPyBeginAllowThreads();
19452 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19453
19454 wxPyEndAllowThreads(__tstate);
19455 if (PyErr_Occurred()) SWIG_fail;
19456 }
19457 resultobj = PyInt_FromLong((long)result);
19458 return resultobj;
19459 fail:
19460 return NULL;
19461}
19462
19463
19464static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19465 PyObject *resultobj;
19466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19467 long arg2 ;
19468 wxString *arg3 = 0 ;
19469 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19470 int arg5 = (int) -1 ;
19471 long result;
e811c8ce 19472 bool temp3 = False ;
d14a1e28
RD
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj2 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19481 {
19482 arg3 = wxString_in_helper(obj2);
19483 if (arg3 == NULL) SWIG_fail;
e811c8ce 19484 temp3 = True;
d14a1e28
RD
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 resultobj = PyInt_FromLong((long)result);
19494 {
19495 if (temp3)
19496 delete arg3;
19497 }
19498 return resultobj;
19499 fail:
19500 {
19501 if (temp3)
19502 delete arg3;
19503 }
19504 return NULL;
19505}
19506
19507
19508static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19511 long arg2 ;
19512 PyObject * obj0 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self",(char *) "count", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 (arg1)->SetItemCount(arg2);
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 Py_INCREF(Py_None); resultobj = Py_None;
19527 return resultobj;
19528 fail:
19529 return NULL;
19530}
19531
19532
19533static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19536 int arg2 ;
19537 int arg3 ;
19538 bool result;
19539 PyObject * obj0 = 0 ;
19540 char *kwnames[] = {
19541 (char *) "self",(char *) "dx",(char *) "dy", NULL
19542 };
19543
19544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (bool)(arg1)->ScrollList(arg2,arg3);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 resultobj = PyInt_FromLong((long)result);
19554 return resultobj;
19555 fail:
19556 return NULL;
19557}
19558
19559
19560static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19563 long arg2 ;
19564 wxColour *arg3 = 0 ;
19565 wxColour temp3 ;
19566 PyObject * obj0 = 0 ;
19567 PyObject * obj2 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self",(char *) "item",(char *) "col", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19574 {
19575 arg3 = &temp3;
19576 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19577 }
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 Py_INCREF(Py_None); resultobj = Py_None;
19586 return resultobj;
19587 fail:
19588 return NULL;
19589}
19590
19591
19592static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19595 long arg2 ;
19596 wxColour result;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self",(char *) "item", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 {
19612 wxColour * resultptr;
19613 resultptr = new wxColour((wxColour &) result);
19614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19615 }
19616 return resultobj;
19617 fail:
19618 return NULL;
19619}
19620
19621
19622static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19623 PyObject *resultobj;
19624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19625 long arg2 ;
19626 wxColour *arg3 = 0 ;
19627 wxColour temp3 ;
19628 PyObject * obj0 = 0 ;
19629 PyObject * obj2 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self",(char *) "item",(char *) "col", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19636 {
19637 arg3 = &temp3;
19638 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19639 }
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 Py_INCREF(Py_None); resultobj = Py_None;
19648 return resultobj;
19649 fail:
19650 return NULL;
19651}
19652
19653
19654static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj;
19656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19657 long arg2 ;
19658 wxColour result;
19659 PyObject * obj0 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self",(char *) "item", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 {
19674 wxColour * resultptr;
19675 resultptr = new wxColour((wxColour &) result);
19676 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19677 }
19678 return resultobj;
19679 fail:
19680 return NULL;
19681}
19682
19683
19684static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19687 PyObject *arg2 = (PyObject *) 0 ;
19688 bool result;
19689 PyObject * obj0 = 0 ;
19690 PyObject * obj1 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "func", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 arg2 = obj1;
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 resultobj = PyInt_FromLong((long)result);
19706 return resultobj;
19707 fail:
19708 return NULL;
19709}
19710
19711
19712static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19715 wxWindow *result;
19716 PyObject * obj0 = 0 ;
19717 char *kwnames[] = {
19718 (char *) "self", NULL
19719 };
19720
19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
19725 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19726
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 {
19731 resultobj = wxPyMake_wxObject(result);
19732 }
19733 return resultobj;
19734 fail:
19735 return NULL;
19736}
19737
19738
19739static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19740 PyObject *obj;
19741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19742 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19743 Py_INCREF(obj);
19744 return Py_BuildValue((char *)"");
19745}
19746static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 19749 int arg2 = (int) -1 ;
d14a1e28
RD
19750 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19751 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19752 wxSize const &arg4_defvalue = wxDefaultSize ;
19753 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19754 long arg5 = (long) wxLC_REPORT ;
19755 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19756 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19757 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19758 wxString *arg7 = (wxString *) &arg7_defvalue ;
19759 wxListView *result;
19760 wxPoint temp3 ;
19761 wxSize temp4 ;
e811c8ce 19762 bool temp7 = False ;
d14a1e28
RD
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj2 = 0 ;
19765 PyObject * obj3 = 0 ;
19766 PyObject * obj5 = 0 ;
19767 PyObject * obj6 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 if (obj2) {
19775 {
19776 arg3 = &temp3;
19777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19778 }
19779 }
19780 if (obj3) {
19781 {
19782 arg4 = &temp4;
19783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19784 }
19785 }
19786 if (obj5) {
19787 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19788 if (arg6 == NULL) {
19789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19790 }
19791 }
19792 if (obj6) {
19793 {
19794 arg7 = wxString_in_helper(obj6);
19795 if (arg7 == NULL) SWIG_fail;
e811c8ce 19796 temp7 = True;
d14a1e28
RD
19797 }
19798 }
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19807 {
19808 if (temp7)
19809 delete arg7;
19810 }
19811 return resultobj;
19812 fail:
19813 {
19814 if (temp7)
19815 delete arg7;
19816 }
19817 return NULL;
19818}
19819
19820
19821static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19822 PyObject *resultobj;
19823 wxListView *result;
19824 char *kwnames[] = {
19825 NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (wxListView *)new wxListView();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19837 return resultobj;
19838 fail:
19839 return NULL;
19840}
19841
19842
19843static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxListView *arg1 = (wxListView *) 0 ;
19846 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 19847 int arg3 = (int) -1 ;
d14a1e28
RD
19848 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19849 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19850 wxSize const &arg5_defvalue = wxDefaultSize ;
19851 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19852 long arg6 = (long) wxLC_REPORT ;
19853 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19854 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19855 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19856 wxString *arg8 = (wxString *) &arg8_defvalue ;
19857 bool result;
19858 wxPoint temp4 ;
19859 wxSize temp5 ;
e811c8ce 19860 bool temp8 = False ;
d14a1e28
RD
19861 PyObject * obj0 = 0 ;
19862 PyObject * obj1 = 0 ;
19863 PyObject * obj3 = 0 ;
19864 PyObject * obj4 = 0 ;
19865 PyObject * obj6 = 0 ;
19866 PyObject * obj7 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19874 if (obj3) {
19875 {
19876 arg4 = &temp4;
19877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19878 }
19879 }
19880 if (obj4) {
19881 {
19882 arg5 = &temp5;
19883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19884 }
19885 }
19886 if (obj6) {
19887 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19888 if (arg7 == NULL) {
19889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19890 }
19891 }
19892 if (obj7) {
19893 {
19894 arg8 = wxString_in_helper(obj7);
19895 if (arg8 == NULL) SWIG_fail;
e811c8ce 19896 temp8 = True;
d14a1e28
RD
19897 }
19898 }
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 resultobj = PyInt_FromLong((long)result);
19907 {
19908 if (temp8)
19909 delete arg8;
19910 }
19911 return resultobj;
19912 fail:
19913 {
19914 if (temp8)
19915 delete arg8;
19916 }
19917 return NULL;
19918}
19919
19920
19921static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxListView *arg1 = (wxListView *) 0 ;
19924 long arg2 ;
e811c8ce 19925 bool arg3 = (bool) True ;
d14a1e28
RD
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj2 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "n",(char *) "on", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19934 if (obj2) {
19935 arg3 = PyInt_AsLong(obj2) ? true : false;
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 (arg1)->Select(arg2,arg3);
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 Py_INCREF(Py_None); resultobj = Py_None;
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
19952static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj;
19954 wxListView *arg1 = (wxListView *) 0 ;
19955 long arg2 ;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self",(char *) "index", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 (arg1)->Focus(arg2);
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 Py_INCREF(Py_None); resultobj = Py_None;
19971 return resultobj;
19972 fail:
19973 return NULL;
19974}
19975
19976
19977static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxListView *arg1 = (wxListView *) 0 ;
19980 long result;
19981 PyObject * obj0 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = PyInt_FromLong((long)result);
19996 return resultobj;
19997 fail:
19998 return NULL;
19999}
20000
20001
20002static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxListView *arg1 = (wxListView *) 0 ;
20005 long arg2 ;
20006 long result;
20007 PyObject * obj0 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "item", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 resultobj = PyInt_FromLong((long)result);
20022 return resultobj;
20023 fail:
20024 return NULL;
20025}
20026
20027
20028static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20029 PyObject *resultobj;
20030 wxListView *arg1 = (wxListView *) 0 ;
20031 long result;
20032 PyObject * obj0 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
20046 resultobj = PyInt_FromLong((long)result);
20047 return resultobj;
20048 fail:
20049 return NULL;
20050}
20051
20052
20053static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20054 PyObject *resultobj;
20055 wxListView *arg1 = (wxListView *) 0 ;
20056 long arg2 ;
20057 bool result;
20058 PyObject * obj0 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "index", NULL
20061 };
20062
20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 result = (bool)(arg1)->IsSelected(arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 resultobj = PyInt_FromLong((long)result);
20073 return resultobj;
20074 fail:
20075 return NULL;
20076}
20077
20078
20079static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxListView *arg1 = (wxListView *) 0 ;
20082 int arg2 ;
20083 int arg3 ;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self",(char *) "col",(char *) "image", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 (arg1)->SetColumnImage(arg2,arg3);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 Py_INCREF(Py_None); resultobj = Py_None;
20099 return resultobj;
20100 fail:
20101 return NULL;
20102}
20103
20104
20105static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxListView *arg1 = (wxListView *) 0 ;
20108 int arg2 ;
20109 PyObject * obj0 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self",(char *) "col", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 (arg1)->ClearColumnImage(arg2);
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 Py_INCREF(Py_None); resultobj = Py_None;
20124 return resultobj;
20125 fail:
20126 return NULL;
20127}
20128
20129
20130static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20131 PyObject *obj;
20132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20133 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20134 Py_INCREF(obj);
20135 return Py_BuildValue((char *)"");
20136}
b2dc1044
RD
20137static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20138 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20139 return 1;
20140}
20141
20142
20143static PyObject *_wrap_TreeCtrlNameStr_get() {
20144 PyObject *pyobj;
20145
20146 {
20147#if wxUSE_UNICODE
20148 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20149#else
20150 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20151#endif
20152 }
20153 return pyobj;
20154}
20155
20156
d14a1e28
RD
20157static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxTreeItemId *result;
20160 char *kwnames[] = {
20161 NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (wxTreeItemId *)new wxTreeItemId();
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20173 return resultobj;
20174 fail:
20175 return NULL;
20176}
20177
20178
20179static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20182 PyObject * obj0 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 delete arg1;
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 Py_INCREF(Py_None); resultobj = Py_None;
20197 return resultobj;
20198 fail:
20199 return NULL;
20200}
20201
20202
20203static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20206 bool result;
20207 PyObject * obj0 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = PyInt_FromLong((long)result);
20222 return resultobj;
20223 fail:
20224 return NULL;
20225}
20226
20227
20228static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20231 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20232 bool result;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 char *kwnames[] = {
20236 (char *) "self",(char *) "other", NULL
20237 };
20238
20239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 resultobj = PyInt_FromLong((long)result);
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
20256static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20259 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20260 bool result;
20261 PyObject * obj0 = 0 ;
20262 PyObject * obj1 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self",(char *) "other", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = PyInt_FromLong((long)result);
20278 return resultobj;
20279 fail:
20280 return NULL;
20281}
20282
20283
20284static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20287 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self",(char *) "m_pItem", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20297 if (arg1) (arg1)->m_pItem = arg2;
20298
20299 Py_INCREF(Py_None); resultobj = Py_None;
20300 return resultobj;
20301 fail:
20302 return NULL;
20303}
20304
20305
20306static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20309 wxTreeItemIdValue result;
20310 PyObject * obj0 = 0 ;
20311 char *kwnames[] = {
20312 (char *) "self", NULL
20313 };
20314
20315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20317 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20318
20319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20320 return resultobj;
20321 fail:
20322 return NULL;
20323}
20324
20325
20326static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20327 PyObject *obj;
20328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20329 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20330 Py_INCREF(obj);
20331 return Py_BuildValue((char *)"");
20332}
20333static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 PyObject *arg1 = (PyObject *) NULL ;
20336 wxPyTreeItemData *result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "obj", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20343 if (obj0) {
20344 arg1 = obj0;
20345 }
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20354 return resultobj;
20355 fail:
20356 return NULL;
20357}
20358
20359
20360static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20361 PyObject *resultobj;
20362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20363 PyObject *result;
20364 PyObject * obj0 = 0 ;
20365 char *kwnames[] = {
20366 (char *) "self", NULL
20367 };
20368
20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (PyObject *)(arg1)->GetData();
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 resultobj = result;
20379 return resultobj;
20380 fail:
20381 return NULL;
20382}
20383
20384
20385static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj;
20387 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20388 PyObject *arg2 = (PyObject *) 0 ;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self",(char *) "obj", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20397 arg2 = obj1;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 (arg1)->SetData(arg2);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 Py_INCREF(Py_None); resultobj = Py_None;
20406 return resultobj;
20407 fail:
20408 return NULL;
20409}
20410
20411
20412static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20415 wxTreeItemId *result;
20416 PyObject * obj0 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 {
20426 wxTreeItemId const &_result_ref = (arg1)->GetId();
20427 result = (wxTreeItemId *) &_result_ref;
20428 }
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20434 return resultobj;
20435 fail:
20436 return NULL;
20437}
20438
20439
20440static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20441 PyObject *resultobj;
20442 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20443 wxTreeItemId *arg2 = 0 ;
20444 PyObject * obj0 = 0 ;
20445 PyObject * obj1 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self",(char *) "id", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 if (arg2 == NULL) {
20454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20455 }
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 (arg1)->SetId((wxTreeItemId const &)*arg2);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 Py_INCREF(Py_None); resultobj = Py_None;
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
20470static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 wxPyTreeItemData_Destroy(arg1);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
20494static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20495 PyObject *obj;
20496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20497 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20498 Py_INCREF(obj);
20499 return Py_BuildValue((char *)"");
20500}
20501static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20504 int arg2 = (int) 0 ;
20505 wxTreeEvent *result;
20506 char *kwnames[] = {
20507 (char *) "commandType",(char *) "id", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20519 return resultobj;
20520 fail:
20521 return NULL;
20522}
20523
20524
20525static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20528 wxTreeItemId result;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = ((wxTreeEvent const *)arg1)->GetItem();
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 {
20544 wxTreeItemId * resultptr;
20545 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20546 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20547 }
20548 return resultobj;
20549 fail:
20550 return NULL;
20551}
20552
20553
20554static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20557 wxTreeItemId *arg2 = 0 ;
20558 PyObject * obj0 = 0 ;
20559 PyObject * obj1 = 0 ;
20560 char *kwnames[] = {
20561 (char *) "self",(char *) "item", NULL
20562 };
20563
20564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20567 if (arg2 == NULL) {
20568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20569 }
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581}
20582
20583
20584static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20587 wxTreeItemId result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 {
20603 wxTreeItemId * resultptr;
20604 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20606 }
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
20613static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20616 wxTreeItemId *arg2 = 0 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "item", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20626 if (arg2 == NULL) {
20627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20628 }
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 Py_INCREF(Py_None); resultobj = Py_None;
20637 return resultobj;
20638 fail:
20639 return NULL;
20640}
20641
20642
20643static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj;
20645 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20646 wxPoint result;
20647 PyObject * obj0 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = ((wxTreeEvent const *)arg1)->GetPoint();
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 {
20662 wxPoint * resultptr;
20663 resultptr = new wxPoint((wxPoint &) result);
20664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20665 }
20666 return resultobj;
20667 fail:
20668 return NULL;
20669}
20670
20671
20672static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj;
20674 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20675 wxPoint *arg2 = 0 ;
20676 wxPoint temp2 ;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "pt", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20685 {
20686 arg2 = &temp2;
20687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20688 }
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 (arg1)->SetPoint((wxPoint const &)*arg2);
20692
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 Py_INCREF(Py_None); resultobj = Py_None;
20697 return resultobj;
20698 fail:
20699 return NULL;
20700}
20701
20702
20703static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj;
20705 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20706 wxKeyEvent *result;
20707 PyObject * obj0 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 {
20717 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20718 result = (wxKeyEvent *) &_result_ref;
20719 }
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20725 return resultobj;
20726 fail:
20727 return NULL;
20728}
20729
20730
20731static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20734 int result;
20735 PyObject * obj0 = 0 ;
20736 char *kwnames[] = {
20737 (char *) "self", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 resultobj = PyInt_FromLong((long)result);
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
20756static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20759 wxKeyEvent *arg2 = 0 ;
20760 PyObject * obj0 = 0 ;
20761 PyObject * obj1 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self",(char *) "evt", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20769 if (arg2 == NULL) {
20770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20771 }
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783}
20784
20785
20786static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20789 wxString *result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 {
20800 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20801 result = (wxString *) &_result_ref;
20802 }
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
cc6dd355
RD
20807 {
20808#if wxUSE_UNICODE
20809 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20810#else
20811 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20812#endif
20813 }
d14a1e28
RD
20814 return resultobj;
20815 fail:
20816 return NULL;
20817}
20818
20819
20820static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20823 wxString *arg2 = 0 ;
e811c8ce 20824 bool temp2 = False ;
d14a1e28
RD
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "label", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20833 {
20834 arg2 = wxString_in_helper(obj1);
20835 if (arg2 == NULL) SWIG_fail;
e811c8ce 20836 temp2 = True;
d14a1e28
RD
20837 }
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 (arg1)->SetLabel((wxString const &)*arg2);
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 {
20847 if (temp2)
20848 delete arg2;
20849 }
20850 return resultobj;
20851 fail:
20852 {
20853 if (temp2)
20854 delete arg2;
20855 }
20856 return NULL;
20857}
20858
20859
20860static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20863 bool result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = PyInt_FromLong((long)result);
20879 return resultobj;
20880 fail:
20881 return NULL;
20882}
20883
20884
20885static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20888 bool arg2 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "editCancelled", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 arg2 = PyInt_AsLong(obj1) ? true : false;
20898 if (PyErr_Occurred()) SWIG_fail;
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 (arg1)->SetEditCanceled(arg2);
20902
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 Py_INCREF(Py_None); resultobj = Py_None;
20907 return resultobj;
20908 fail:
20909 return NULL;
20910}
20911
20912
c9c7117a
RD
20913static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20914 PyObject *resultobj;
20915 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20916 wxString *arg2 = 0 ;
20917 bool temp2 = False ;
20918 PyObject * obj0 = 0 ;
20919 PyObject * obj1 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self",(char *) "toolTip", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20926 {
20927 arg2 = wxString_in_helper(obj1);
20928 if (arg2 == NULL) SWIG_fail;
20929 temp2 = True;
20930 }
20931 {
20932 PyThreadState* __tstate = wxPyBeginAllowThreads();
20933 (arg1)->SetToolTip((wxString const &)*arg2);
20934
20935 wxPyEndAllowThreads(__tstate);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 Py_INCREF(Py_None); resultobj = Py_None;
20939 {
20940 if (temp2)
20941 delete arg2;
20942 }
20943 return resultobj;
20944 fail:
20945 {
20946 if (temp2)
20947 delete arg2;
20948 }
20949 return NULL;
20950}
20951
20952
d14a1e28
RD
20953static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20954 PyObject *obj;
20955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20956 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20957 Py_INCREF(obj);
20958 return Py_BuildValue((char *)"");
20959}
20960static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20963 int arg2 = (int) -1 ;
d14a1e28
RD
20964 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20965 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20966 wxSize const &arg4_defvalue = wxDefaultSize ;
20967 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20968 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20969 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20970 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 20971 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
20972 wxString *arg7 = (wxString *) &arg7_defvalue ;
20973 wxPyTreeCtrl *result;
20974 wxPoint temp3 ;
20975 wxSize temp4 ;
e811c8ce 20976 bool temp7 = False ;
d14a1e28
RD
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj2 = 0 ;
20979 PyObject * obj3 = 0 ;
20980 PyObject * obj5 = 0 ;
20981 PyObject * obj6 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 if (obj2) {
20989 {
20990 arg3 = &temp3;
20991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20992 }
20993 }
20994 if (obj3) {
20995 {
20996 arg4 = &temp4;
20997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20998 }
20999 }
21000 if (obj5) {
21001 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 if (arg6 == NULL) {
21003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21004 }
21005 }
21006 if (obj6) {
21007 {
21008 arg7 = wxString_in_helper(obj6);
21009 if (arg7 == NULL) SWIG_fail;
e811c8ce 21010 temp7 = True;
d14a1e28
RD
21011 }
21012 }
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
b2dc1044
RD
21020 {
21021 resultobj = wxPyMake_wxObject(result);
21022 }
d14a1e28
RD
21023 {
21024 if (temp7)
21025 delete arg7;
21026 }
21027 return resultobj;
21028 fail:
21029 {
21030 if (temp7)
21031 delete arg7;
21032 }
21033 return NULL;
21034}
21035
21036
21037static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxPyTreeCtrl *result;
21040 char *kwnames[] = {
21041 NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21045 {
21046 PyThreadState* __tstate = wxPyBeginAllowThreads();
21047 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21048
21049 wxPyEndAllowThreads(__tstate);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 }
b2dc1044
RD
21052 {
21053 resultobj = wxPyMake_wxObject(result);
21054 }
d14a1e28
RD
21055 return resultobj;
21056 fail:
21057 return NULL;
21058}
21059
21060
21061static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21062 PyObject *resultobj;
21063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21064 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 21065 int arg3 = (int) -1 ;
d14a1e28
RD
21066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21068 wxSize const &arg5_defvalue = wxDefaultSize ;
21069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21070 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21071 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21072 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 21073 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
21074 wxString *arg8 = (wxString *) &arg8_defvalue ;
21075 bool result;
21076 wxPoint temp4 ;
21077 wxSize temp5 ;
e811c8ce 21078 bool temp8 = False ;
d14a1e28
RD
21079 PyObject * obj0 = 0 ;
21080 PyObject * obj1 = 0 ;
21081 PyObject * obj3 = 0 ;
21082 PyObject * obj4 = 0 ;
21083 PyObject * obj6 = 0 ;
21084 PyObject * obj7 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21092 if (obj3) {
21093 {
21094 arg4 = &temp4;
21095 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21096 }
21097 }
21098 if (obj4) {
21099 {
21100 arg5 = &temp5;
21101 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21102 }
21103 }
21104 if (obj6) {
21105 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21106 if (arg7 == NULL) {
21107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21108 }
21109 }
21110 if (obj7) {
21111 {
21112 arg8 = wxString_in_helper(obj7);
21113 if (arg8 == NULL) SWIG_fail;
e811c8ce 21114 temp8 = True;
d14a1e28
RD
21115 }
21116 }
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = PyInt_FromLong((long)result);
21125 {
21126 if (temp8)
21127 delete arg8;
21128 }
21129 return resultobj;
21130 fail:
21131 {
21132 if (temp8)
21133 delete arg8;
21134 }
21135 return NULL;
21136}
21137
21138
21139static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21142 PyObject *arg2 = (PyObject *) 0 ;
21143 PyObject *arg3 = (PyObject *) 0 ;
21144 PyObject * obj0 = 0 ;
21145 PyObject * obj1 = 0 ;
21146 PyObject * obj2 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self",(char *) "self",(char *) "_class", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21153 arg2 = obj1;
21154 arg3 = obj2;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->_setCallbackInfo(arg2,arg3);
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166}
21167
21168
21169static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21172 size_t result;
21173 PyObject * obj0 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = PyInt_FromLong((long)result);
21188 return resultobj;
21189 fail:
21190 return NULL;
21191}
21192
21193
21194static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21197 unsigned int result;
21198 PyObject * obj0 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = PyInt_FromLong((long)result);
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
21219static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj;
21221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21222 unsigned int arg2 ;
21223 PyObject * obj0 = 0 ;
21224 PyObject * obj1 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "indent", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21231 arg2 = (unsigned int) PyInt_AsLong(obj1);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 (arg1)->SetIndent(arg2);
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 Py_INCREF(Py_None); resultobj = Py_None;
21241 return resultobj;
21242 fail:
21243 return NULL;
21244}
21245
21246
21247static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21250 unsigned int result;
21251 PyObject * obj0 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = PyInt_FromLong((long)result);
21266 return resultobj;
21267 fail:
21268 return NULL;
21269}
21270
21271
21272static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21275 unsigned int arg2 ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "spacing", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 arg2 = (unsigned int) PyInt_AsLong(obj1);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 (arg1)->SetSpacing(arg2);
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
21300static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj;
21302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21303 wxImageList *result;
21304 PyObject * obj0 = 0 ;
21305 char *kwnames[] = {
21306 (char *) "self", NULL
21307 };
21308
21309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 {
21319 resultobj = wxPyMake_wxObject(result);
21320 }
21321 return resultobj;
21322 fail:
21323 return NULL;
21324}
21325
21326
21327static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21330 wxImageList *result;
21331 PyObject * obj0 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 {
21346 resultobj = wxPyMake_wxObject(result);
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
21354static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21357 wxImageList *arg2 = (wxImageList *) 0 ;
21358 PyObject * obj0 = 0 ;
21359 PyObject * obj1 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self",(char *) "imageList", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetImageList(arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378}
21379
21380
21381static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21384 wxImageList *arg2 = (wxImageList *) 0 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "imageList", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21394 {
21395 PyThreadState* __tstate = wxPyBeginAllowThreads();
21396 (arg1)->SetStateImageList(arg2);
21397
21398 wxPyEndAllowThreads(__tstate);
21399 if (PyErr_Occurred()) SWIG_fail;
21400 }
21401 Py_INCREF(Py_None); resultobj = Py_None;
21402 return resultobj;
21403 fail:
21404 return NULL;
21405}
21406
21407
21408static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21411 wxImageList *arg2 = (wxImageList *) 0 ;
21412 PyObject * obj0 = 0 ;
21413 PyObject * obj1 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "imageList", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 (arg1)->AssignImageList(arg2);
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 Py_INCREF(Py_None); resultobj = Py_None;
21429 return resultobj;
21430 fail:
21431 return NULL;
21432}
21433
21434
21435static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21438 wxImageList *arg2 = (wxImageList *) 0 ;
21439 PyObject * obj0 = 0 ;
21440 PyObject * obj1 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self",(char *) "imageList", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 (arg1)->AssignStateImageList(arg2);
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 Py_INCREF(Py_None); resultobj = Py_None;
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
21462static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21465 wxTreeItemId *arg2 = 0 ;
21466 wxString result;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "item", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21476 if (arg2 == NULL) {
21477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21478 }
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 {
21487#if wxUSE_UNICODE
21488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21489#else
21490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21491#endif
21492 }
21493 return resultobj;
21494 fail:
21495 return NULL;
21496}
21497
21498
21499static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21502 wxTreeItemId *arg2 = 0 ;
21503 int arg3 = (int) wxTreeItemIcon_Normal ;
21504 int result;
21505 PyObject * obj0 = 0 ;
21506 PyObject * obj1 = 0 ;
21507 char *kwnames[] = {
21508 (char *) "self",(char *) "item",(char *) "which", NULL
21509 };
21510
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21514 if (arg2 == NULL) {
21515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21516 }
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 resultobj = PyInt_FromLong((long)result);
21525 return resultobj;
21526 fail:
21527 return NULL;
21528}
21529
21530
21531static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj;
21533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21534 wxTreeItemId *arg2 = 0 ;
21535 wxPyTreeItemData *result;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self",(char *) "item", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 if (arg2 == NULL) {
21546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21556 return resultobj;
21557 fail:
21558 return NULL;
21559}
21560
21561
21562static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21563 PyObject *resultobj;
21564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21565 wxTreeItemId *arg2 = 0 ;
21566 PyObject *result;
21567 PyObject * obj0 = 0 ;
21568 PyObject * obj1 = 0 ;
21569 char *kwnames[] = {
21570 (char *) "self",(char *) "item", NULL
21571 };
21572
21573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 if (arg2 == NULL) {
21577 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21578 }
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 resultobj = result;
21587 return resultobj;
21588 fail:
21589 return NULL;
21590}
21591
21592
21593static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21594 PyObject *resultobj;
21595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21596 wxTreeItemId *arg2 = 0 ;
21597 wxColour result;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self",(char *) "item", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21607 if (arg2 == NULL) {
21608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21609 }
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 {
21618 wxColour * resultptr;
21619 resultptr = new wxColour((wxColour &) result);
21620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21621 }
21622 return resultobj;
21623 fail:
21624 return NULL;
21625}
21626
21627
21628static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21629 PyObject *resultobj;
21630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21631 wxTreeItemId *arg2 = 0 ;
21632 wxColour result;
21633 PyObject * obj0 = 0 ;
21634 PyObject * obj1 = 0 ;
21635 char *kwnames[] = {
21636 (char *) "self",(char *) "item", NULL
21637 };
21638
21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21642 if (arg2 == NULL) {
21643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21644 }
21645 {
21646 PyThreadState* __tstate = wxPyBeginAllowThreads();
21647 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21648
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 {
21653 wxColour * resultptr;
21654 resultptr = new wxColour((wxColour &) result);
21655 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21656 }
21657 return resultobj;
21658 fail:
21659 return NULL;
21660}
21661
21662
21663static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21666 wxTreeItemId *arg2 = 0 ;
21667 wxFont result;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "item", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 if (arg2 == NULL) {
21678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21679 }
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21683
21684 wxPyEndAllowThreads(__tstate);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 {
21688 wxFont * resultptr;
21689 resultptr = new wxFont((wxFont &) result);
21690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21691 }
21692 return resultobj;
21693 fail:
21694 return NULL;
21695}
21696
21697
21698static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21701 wxTreeItemId *arg2 = 0 ;
21702 wxString *arg3 = 0 ;
e811c8ce 21703 bool temp3 = False ;
d14a1e28
RD
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 PyObject * obj2 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "item",(char *) "text", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21714 if (arg2 == NULL) {
21715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21716 }
21717 {
21718 arg3 = wxString_in_helper(obj2);
21719 if (arg3 == NULL) SWIG_fail;
e811c8ce 21720 temp3 = True;
d14a1e28
RD
21721 }
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 Py_INCREF(Py_None); resultobj = Py_None;
21730 {
21731 if (temp3)
21732 delete arg3;
21733 }
21734 return resultobj;
21735 fail:
21736 {
21737 if (temp3)
21738 delete arg3;
21739 }
21740 return NULL;
21741}
21742
21743
21744static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21745 PyObject *resultobj;
21746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21747 wxTreeItemId *arg2 = 0 ;
21748 int arg3 ;
21749 int arg4 = (int) wxTreeItemIcon_Normal ;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21759 if (arg2 == NULL) {
21760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 Py_INCREF(Py_None); resultobj = Py_None;
21770 return resultobj;
21771 fail:
21772 return NULL;
21773}
21774
21775
21776static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj;
21778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21779 wxTreeItemId *arg2 = 0 ;
21780 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 PyObject * obj2 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "self",(char *) "item",(char *) "data", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 if (arg2 == NULL) {
21792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21793 }
21794 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 Py_INCREF(Py_None); resultobj = Py_None;
21803 return resultobj;
21804 fail:
21805 return NULL;
21806}
21807
21808
21809static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21812 wxTreeItemId *arg2 = 0 ;
21813 PyObject *arg3 = (PyObject *) 0 ;
21814 PyObject * obj0 = 0 ;
21815 PyObject * obj1 = 0 ;
21816 PyObject * obj2 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self",(char *) "item",(char *) "obj", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21824 if (arg2 == NULL) {
21825 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21826 }
21827 arg3 = obj2;
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 Py_INCREF(Py_None); resultobj = Py_None;
21836 return resultobj;
21837 fail:
21838 return NULL;
21839}
21840
21841
21842static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21845 wxTreeItemId *arg2 = 0 ;
e811c8ce 21846 bool arg3 = (bool) True ;
d14a1e28
RD
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 PyObject * obj2 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "item",(char *) "has", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if (arg2 == NULL) {
21858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21859 }
21860 if (obj2) {
21861 arg3 = PyInt_AsLong(obj2) ? true : false;
21862 if (PyErr_Occurred()) SWIG_fail;
21863 }
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 Py_INCREF(Py_None); resultobj = Py_None;
21872 return resultobj;
21873 fail:
21874 return NULL;
21875}
21876
21877
21878static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21881 wxTreeItemId *arg2 = 0 ;
e811c8ce 21882 bool arg3 = (bool) True ;
d14a1e28
RD
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 PyObject * obj2 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "item",(char *) "bold", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21893 if (arg2 == NULL) {
21894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21895 }
21896 if (obj2) {
21897 arg3 = PyInt_AsLong(obj2) ? true : false;
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 Py_INCREF(Py_None); resultobj = Py_None;
21908 return resultobj;
21909 fail:
21910 return NULL;
21911}
21912
21913
21914static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj;
21916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21917 wxTreeItemId *arg2 = 0 ;
21918 wxColour *arg3 = 0 ;
21919 wxColour temp3 ;
21920 PyObject * obj0 = 0 ;
21921 PyObject * obj1 = 0 ;
21922 PyObject * obj2 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "item",(char *) "col", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 if (arg2 == NULL) {
21931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21932 }
21933 {
21934 arg3 = &temp3;
21935 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21936 }
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 Py_INCREF(Py_None); resultobj = Py_None;
21945 return resultobj;
21946 fail:
21947 return NULL;
21948}
21949
21950
21951static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21954 wxTreeItemId *arg2 = 0 ;
21955 wxColour *arg3 = 0 ;
21956 wxColour temp3 ;
21957 PyObject * obj0 = 0 ;
21958 PyObject * obj1 = 0 ;
21959 PyObject * obj2 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "item",(char *) "col", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21967 if (arg2 == NULL) {
21968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21969 }
21970 {
21971 arg3 = &temp3;
21972 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21973 }
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 Py_INCREF(Py_None); resultobj = Py_None;
21982 return resultobj;
21983 fail:
21984 return NULL;
21985}
21986
21987
21988static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21991 wxTreeItemId *arg2 = 0 ;
21992 wxFont *arg3 = 0 ;
21993 PyObject * obj0 = 0 ;
21994 PyObject * obj1 = 0 ;
21995 PyObject * obj2 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "item",(char *) "font", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 if (arg2 == NULL) {
22004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22005 }
22006 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22007 if (arg3 == NULL) {
22008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22009 }
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 Py_INCREF(Py_None); resultobj = Py_None;
22018 return resultobj;
22019 fail:
22020 return NULL;
22021}
22022
22023
22024static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj;
22026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22027 wxTreeItemId *arg2 = 0 ;
22028 bool result;
22029 PyObject * obj0 = 0 ;
22030 PyObject * obj1 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "item", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 if (arg2 == NULL) {
22039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22040 }
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 resultobj = PyInt_FromLong((long)result);
22049 return resultobj;
22050 fail:
22051 return NULL;
22052}
22053
22054
22055static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22056 PyObject *resultobj;
22057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22058 wxTreeItemId *arg2 = 0 ;
22059 bool result;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "item", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22069 if (arg2 == NULL) {
22070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 resultobj = PyInt_FromLong((long)result);
22080 return resultobj;
22081 fail:
22082 return NULL;
22083}
22084
22085
22086static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22089 wxTreeItemId *arg2 = 0 ;
22090 bool result;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "item", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22100 if (arg2 == NULL) {
22101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22102 }
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 resultobj = PyInt_FromLong((long)result);
22111 return resultobj;
22112 fail:
22113 return NULL;
22114}
22115
22116
22117static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22118 PyObject *resultobj;
22119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22120 wxTreeItemId *arg2 = 0 ;
22121 bool result;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self",(char *) "item", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22131 if (arg2 == NULL) {
22132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22133 }
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 resultobj = PyInt_FromLong((long)result);
22142 return resultobj;
22143 fail:
22144 return NULL;
22145}
22146
22147
22148static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22151 wxTreeItemId *arg2 = 0 ;
22152 bool result;
22153 PyObject * obj0 = 0 ;
22154 PyObject * obj1 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self",(char *) "item", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22162 if (arg2 == NULL) {
22163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22164 }
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 resultobj = PyInt_FromLong((long)result);
22173 return resultobj;
22174 fail:
22175 return NULL;
22176}
22177
22178
22179static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22180 PyObject *resultobj;
22181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22182 wxTreeItemId *arg2 = 0 ;
e811c8ce 22183 bool arg3 = (bool) True ;
d14a1e28
RD
22184 size_t result;
22185 PyObject * obj0 = 0 ;
22186 PyObject * obj1 = 0 ;
22187 PyObject * obj2 = 0 ;
22188 char *kwnames[] = {
22189 (char *) "self",(char *) "item",(char *) "recursively", NULL
22190 };
22191
22192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22195 if (arg2 == NULL) {
22196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22197 }
22198 if (obj2) {
22199 arg3 = PyInt_AsLong(obj2) ? true : false;
22200 if (PyErr_Occurred()) SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = PyInt_FromLong((long)result);
22210 return resultobj;
22211 fail:
22212 return NULL;
22213}
22214
22215
22216static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22219 wxTreeItemId result;
22220 PyObject * obj0 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 {
22235 wxTreeItemId * resultptr;
22236 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22238 }
22239 return resultobj;
22240 fail:
22241 return NULL;
22242}
22243
22244
22245static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22248 wxTreeItemId result;
22249 PyObject * obj0 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 wxTreeItemId * resultptr;
22265 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22266 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22267 }
22268 return resultobj;
22269 fail:
22270 return NULL;
22271}
22272
22273
22274static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22277 PyObject *result;
22278 PyObject * obj0 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "self", NULL
22281 };
22282
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 resultobj = result;
22293 return resultobj;
22294 fail:
22295 return NULL;
22296}
22297
22298
22299static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22300 PyObject *resultobj;
22301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22302 wxTreeItemId *arg2 = 0 ;
22303 wxTreeItemId result;
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_GetItemParent",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 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 {
22324 wxTreeItemId * resultptr;
22325 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22326 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22327 }
22328 return resultobj;
22329 fail:
22330 return NULL;
22331}
22332
22333
22334static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22337 wxTreeItemId *arg2 = 0 ;
22338 PyObject *result;
22339 PyObject * obj0 = 0 ;
22340 PyObject * obj1 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self",(char *) "item", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22348 if (arg2 == NULL) {
22349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22350 }
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 resultobj = result;
22359 return resultobj;
22360 fail:
22361 return NULL;
22362}
22363
22364
22365static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22368 wxTreeItemId *arg2 = 0 ;
22369 wxTreeItemIdValue *arg3 = 0 ;
22370 PyObject *result;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 PyObject * obj2 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "item",(char *) "cookie", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22381 if (arg2 == NULL) {
22382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22383 }
22384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22385 if (arg3 == NULL) {
22386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22387 }
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 resultobj = result;
22396 return resultobj;
22397 fail:
22398 return NULL;
22399}
22400
22401
22402static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22405 wxTreeItemId *arg2 = 0 ;
22406 wxTreeItemId result;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "item", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 if (arg2 == NULL) {
22417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22418 }
22419 {
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 {
22427 wxTreeItemId * resultptr;
22428 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22430 }
22431 return resultobj;
22432 fail:
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22440 wxTreeItemId *arg2 = 0 ;
22441 wxTreeItemId result;
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_GetNextSibling",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 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 {
22462 wxTreeItemId * resultptr;
22463 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22464 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22465 }
22466 return resultobj;
22467 fail:
22468 return NULL;
22469}
22470
22471
22472static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22473 PyObject *resultobj;
22474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22475 wxTreeItemId *arg2 = 0 ;
22476 wxTreeItemId result;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "item", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 if (arg2 == NULL) {
22487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22488 }
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 {
22497 wxTreeItemId * resultptr;
22498 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22499 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22500 }
22501 return resultobj;
22502 fail:
22503 return NULL;
22504}
22505
22506
22507static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22510 wxTreeItemId result;
22511 PyObject * obj0 = 0 ;
22512 char *kwnames[] = {
22513 (char *) "self", NULL
22514 };
22515
22516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 wxTreeItemId * resultptr;
22527 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22528 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22529 }
22530 return resultobj;
22531 fail:
22532 return NULL;
22533}
22534
22535
22536static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22537 PyObject *resultobj;
22538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22539 wxTreeItemId *arg2 = 0 ;
22540 wxTreeItemId result;
22541 PyObject * obj0 = 0 ;
22542 PyObject * obj1 = 0 ;
22543 char *kwnames[] = {
22544 (char *) "self",(char *) "item", NULL
22545 };
22546
22547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22550 if (arg2 == NULL) {
22551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22552 }
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 {
22561 wxTreeItemId * resultptr;
22562 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22563 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22564 }
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
22571static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj;
22573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22574 wxTreeItemId *arg2 = 0 ;
22575 wxTreeItemId result;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "item", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22585 if (arg2 == NULL) {
22586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22587 }
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 {
22596 wxTreeItemId * resultptr;
22597 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22599 }
22600 return resultobj;
22601 fail:
22602 return NULL;
22603}
22604
22605
22606static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22607 PyObject *resultobj;
22608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22609 wxString *arg2 = 0 ;
22610 int arg3 = (int) -1 ;
22611 int arg4 = (int) -1 ;
22612 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22613 wxTreeItemId result;
e811c8ce 22614 bool temp2 = False ;
d14a1e28
RD
22615 PyObject * obj0 = 0 ;
22616 PyObject * obj1 = 0 ;
22617 PyObject * obj4 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22624 {
22625 arg2 = wxString_in_helper(obj1);
22626 if (arg2 == NULL) SWIG_fail;
e811c8ce 22627 temp2 = True;
d14a1e28
RD
22628 }
22629 if (obj4) {
22630 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 {
22640 wxTreeItemId * resultptr;
22641 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22643 }
22644 {
22645 if (temp2)
22646 delete arg2;
22647 }
22648 return resultobj;
22649 fail:
22650 {
22651 if (temp2)
22652 delete arg2;
22653 }
22654 return NULL;
22655}
22656
22657
22658static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22661 wxTreeItemId *arg2 = 0 ;
22662 wxString *arg3 = 0 ;
22663 int arg4 = (int) -1 ;
22664 int arg5 = (int) -1 ;
22665 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22666 wxTreeItemId result;
e811c8ce 22667 bool temp3 = False ;
d14a1e28
RD
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 PyObject * obj2 = 0 ;
22671 PyObject * obj5 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 if (arg2 == NULL) {
22680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22681 }
22682 {
22683 arg3 = wxString_in_helper(obj2);
22684 if (arg3 == NULL) SWIG_fail;
e811c8ce 22685 temp3 = True;
d14a1e28
RD
22686 }
22687 if (obj5) {
22688 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22689 }
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
22692 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 {
22698 wxTreeItemId * resultptr;
22699 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22701 }
22702 {
22703 if (temp3)
22704 delete arg3;
22705 }
22706 return resultobj;
22707 fail:
22708 {
22709 if (temp3)
22710 delete arg3;
22711 }
22712 return NULL;
22713}
22714
22715
22716static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22719 wxTreeItemId *arg2 = 0 ;
22720 wxTreeItemId *arg3 = 0 ;
22721 wxString *arg4 = 0 ;
22722 int arg5 = (int) -1 ;
22723 int arg6 = (int) -1 ;
22724 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22725 wxTreeItemId result;
e811c8ce 22726 bool temp4 = False ;
d14a1e28
RD
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 PyObject * obj2 = 0 ;
22730 PyObject * obj3 = 0 ;
22731 PyObject * obj6 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22739 if (arg2 == NULL) {
22740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22741 }
22742 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22743 if (arg3 == NULL) {
22744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22745 }
22746 {
22747 arg4 = wxString_in_helper(obj3);
22748 if (arg4 == NULL) SWIG_fail;
e811c8ce 22749 temp4 = True;
d14a1e28
RD
22750 }
22751 if (obj6) {
22752 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22753 }
22754 {
22755 PyThreadState* __tstate = wxPyBeginAllowThreads();
22756 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22757
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 {
22762 wxTreeItemId * resultptr;
22763 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22764 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22765 }
22766 {
22767 if (temp4)
22768 delete arg4;
22769 }
22770 return resultobj;
22771 fail:
22772 {
22773 if (temp4)
22774 delete arg4;
22775 }
22776 return NULL;
22777}
22778
22779
22780static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22783 wxTreeItemId *arg2 = 0 ;
22784 size_t arg3 ;
22785 wxString *arg4 = 0 ;
22786 int arg5 = (int) -1 ;
22787 int arg6 = (int) -1 ;
22788 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22789 wxTreeItemId result;
e811c8ce 22790 bool temp4 = False ;
d14a1e28
RD
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 PyObject * obj2 = 0 ;
22794 PyObject * obj3 = 0 ;
22795 PyObject * obj6 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22803 if (arg2 == NULL) {
22804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22805 }
22806 arg3 = (size_t) PyInt_AsLong(obj2);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 {
22809 arg4 = wxString_in_helper(obj3);
22810 if (arg4 == NULL) SWIG_fail;
e811c8ce 22811 temp4 = True;
d14a1e28
RD
22812 }
22813 if (obj6) {
22814 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22815 }
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 {
22824 wxTreeItemId * resultptr;
22825 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22826 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22827 }
22828 {
22829 if (temp4)
22830 delete arg4;
22831 }
22832 return resultobj;
22833 fail:
22834 {
22835 if (temp4)
22836 delete arg4;
22837 }
22838 return NULL;
22839}
22840
22841
22842static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22845 wxTreeItemId *arg2 = 0 ;
22846 wxString *arg3 = 0 ;
22847 int arg4 = (int) -1 ;
22848 int arg5 = (int) -1 ;
22849 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22850 wxTreeItemId result;
e811c8ce 22851 bool temp3 = False ;
d14a1e28
RD
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
22854 PyObject * obj2 = 0 ;
22855 PyObject * obj5 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22863 if (arg2 == NULL) {
22864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22865 }
22866 {
22867 arg3 = wxString_in_helper(obj2);
22868 if (arg3 == NULL) SWIG_fail;
e811c8ce 22869 temp3 = True;
d14a1e28
RD
22870 }
22871 if (obj5) {
22872 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22873 }
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 {
22882 wxTreeItemId * resultptr;
22883 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22884 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22885 }
22886 {
22887 if (temp3)
22888 delete arg3;
22889 }
22890 return resultobj;
22891 fail:
22892 {
22893 if (temp3)
22894 delete arg3;
22895 }
22896 return NULL;
22897}
22898
22899
22900static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22903 wxTreeItemId *arg2 = 0 ;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "item", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22913 if (arg2 == NULL) {
22914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22915 }
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 (arg1)->Delete((wxTreeItemId const &)*arg2);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 Py_INCREF(Py_None); resultobj = Py_None;
22924 return resultobj;
22925 fail:
22926 return NULL;
22927}
22928
22929
22930static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22933 wxTreeItemId *arg2 = 0 ;
22934 PyObject * obj0 = 0 ;
22935 PyObject * obj1 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self",(char *) "item", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22943 if (arg2 == NULL) {
22944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22945 }
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 Py_INCREF(Py_None); resultobj = Py_None;
22954 return resultobj;
22955 fail:
22956 return NULL;
22957}
22958
22959
22960static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22970 {
22971 PyThreadState* __tstate = wxPyBeginAllowThreads();
22972 (arg1)->DeleteAllItems();
22973
22974 wxPyEndAllowThreads(__tstate);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 }
22977 Py_INCREF(Py_None); resultobj = Py_None;
22978 return resultobj;
22979 fail:
22980 return NULL;
22981}
22982
22983
22984static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj;
22986 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22987 wxTreeItemId *arg2 = 0 ;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "item", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22997 if (arg2 == NULL) {
22998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22999 }
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 (arg1)->Expand((wxTreeItemId const &)*arg2);
23003
23004 wxPyEndAllowThreads(__tstate);
23005 if (PyErr_Occurred()) SWIG_fail;
23006 }
23007 Py_INCREF(Py_None); resultobj = Py_None;
23008 return resultobj;
23009 fail:
23010 return NULL;
23011}
23012
23013
23014static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23015 PyObject *resultobj;
23016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23017 wxTreeItemId *arg2 = 0 ;
23018 PyObject * obj0 = 0 ;
23019 PyObject * obj1 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self",(char *) "item", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23027 if (arg2 == NULL) {
23028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23029 }
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 Py_INCREF(Py_None); resultobj = Py_None;
23038 return resultobj;
23039 fail:
23040 return NULL;
23041}
23042
23043
23044static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj;
23046 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23047 wxTreeItemId *arg2 = 0 ;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
23050 char *kwnames[] = {
23051 (char *) "self",(char *) "item", NULL
23052 };
23053
23054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23057 if (arg2 == NULL) {
23058 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23059 }
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 Py_INCREF(Py_None); resultobj = Py_None;
23068 return resultobj;
23069 fail:
23070 return NULL;
23071}
23072
23073
23074static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23077 wxTreeItemId *arg2 = 0 ;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "item", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23087 if (arg2 == NULL) {
23088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23089 }
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101}
23102
23103
23104static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23107 PyObject * obj0 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 (arg1)->Unselect();
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 Py_INCREF(Py_None); resultobj = Py_None;
23122 return resultobj;
23123 fail:
23124 return NULL;
23125}
23126
23127
23128static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->UnselectAll();
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 Py_INCREF(Py_None); resultobj = Py_None;
23146 return resultobj;
23147 fail:
23148 return NULL;
23149}
23150
23151
23152static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23155 wxTreeItemId *arg2 = 0 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "item", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23165 if (arg2 == NULL) {
23166 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 Py_INCREF(Py_None); resultobj = Py_None;
23176 return resultobj;
23177 fail:
23178 return NULL;
23179}
23180
23181
23182static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23185 wxTreeItemId *arg2 = 0 ;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "item", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23195 if (arg2 == NULL) {
23196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23197 }
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
23212static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23215 wxTreeItemId *arg2 = 0 ;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "item", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23225 if (arg2 == NULL) {
23226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23227 }
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 Py_INCREF(Py_None); resultobj = Py_None;
23236 return resultobj;
23237 fail:
23238 return NULL;
23239}
23240
23241
23242static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23243 PyObject *resultobj;
23244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23245 wxTreeItemId *arg2 = 0 ;
23246 PyObject * obj0 = 0 ;
23247 PyObject * obj1 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self",(char *) "item", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23255 if (arg2 == NULL) {
23256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23257 }
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 Py_INCREF(Py_None); resultobj = Py_None;
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
23272static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23275 wxTextCtrl *result;
23276 PyObject * obj0 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 {
23291 resultobj = wxPyMake_wxObject(result);
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296}
23297
23298
23299static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23302 wxTreeItemId *arg2 = 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "item", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23312 if (arg2 == NULL) {
23313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23314 }
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 Py_INCREF(Py_None); resultobj = Py_None;
23323 return resultobj;
23324 fail:
23325 return NULL;
23326}
23327
23328
23329static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23332 wxPoint *arg2 = 0 ;
23333 int *arg3 = 0 ;
23334 wxTreeItemId result;
23335 wxPoint temp2 ;
23336 int temp3 ;
23337 PyObject * obj0 = 0 ;
23338 PyObject * obj1 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self",(char *) "point", NULL
23341 };
23342
23343 arg3 = &temp3;
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23346 {
23347 arg2 = &temp2;
23348 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23349 }
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 wxTreeItemId * resultptr;
23359 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23361 }
23362 {
23363 PyObject *o = PyInt_FromLong((long) (*arg3));
23364 resultobj = t_output_helper(resultobj,o);
23365 }
23366 return resultobj;
23367 fail:
23368 return NULL;
23369}
23370
23371
23372static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23375 wxTreeItemId *arg2 = 0 ;
e811c8ce 23376 bool arg3 = (bool) False ;
d14a1e28
RD
23377 PyObject *result;
23378 PyObject * obj0 = 0 ;
23379 PyObject * obj1 = 0 ;
23380 PyObject * obj2 = 0 ;
23381 char *kwnames[] = {
23382 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23383 };
23384
23385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23388 if (arg2 == NULL) {
23389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23390 }
23391 if (obj2) {
23392 arg3 = PyInt_AsLong(obj2) ? true : false;
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 resultobj = result;
23403 return resultobj;
23404 fail:
23405 return NULL;
23406}
23407
23408
23409static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23410 PyObject *obj;
23411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23413 Py_INCREF(obj);
23414 return Py_BuildValue((char *)"");
23415}
b2dc1044
RD
23416static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23417 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23418 return 1;
23419}
23420
23421
23422static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23423 PyObject *pyobj;
23424
23425 {
23426#if wxUSE_UNICODE
23427 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23428#else
23429 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23430#endif
23431 }
23432 return pyobj;
23433}
23434
23435
d14a1e28
RD
23436static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23437 PyObject *resultobj;
23438 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23439 int arg2 = (int) (int)-1 ;
d14a1e28
RD
23440 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23441 wxString *arg3 = (wxString *) &arg3_defvalue ;
23442 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23443 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23444 wxSize const &arg5_defvalue = wxDefaultSize ;
23445 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23446 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23447 wxString const &arg7_defvalue = wxPyEmptyString ;
23448 wxString *arg7 = (wxString *) &arg7_defvalue ;
23449 int arg8 = (int) 0 ;
b2dc1044 23450 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
23451 wxString *arg9 = (wxString *) &arg9_defvalue ;
23452 wxGenericDirCtrl *result;
e811c8ce 23453 bool temp3 = False ;
d14a1e28
RD
23454 wxPoint temp4 ;
23455 wxSize temp5 ;
e811c8ce
RD
23456 bool temp7 = False ;
23457 bool temp9 = False ;
d14a1e28
RD
23458 PyObject * obj0 = 0 ;
23459 PyObject * obj2 = 0 ;
23460 PyObject * obj3 = 0 ;
23461 PyObject * obj4 = 0 ;
23462 PyObject * obj6 = 0 ;
23463 PyObject * obj8 = 0 ;
23464 char *kwnames[] = {
23465 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23466 };
23467
23468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23470 if (obj2) {
23471 {
23472 arg3 = wxString_in_helper(obj2);
23473 if (arg3 == NULL) SWIG_fail;
e811c8ce 23474 temp3 = True;
d14a1e28
RD
23475 }
23476 }
23477 if (obj3) {
23478 {
23479 arg4 = &temp4;
23480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23481 }
23482 }
23483 if (obj4) {
23484 {
23485 arg5 = &temp5;
23486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23487 }
23488 }
23489 if (obj6) {
23490 {
23491 arg7 = wxString_in_helper(obj6);
23492 if (arg7 == NULL) SWIG_fail;
e811c8ce 23493 temp7 = True;
d14a1e28
RD
23494 }
23495 }
23496 if (obj8) {
23497 {
23498 arg9 = wxString_in_helper(obj8);
23499 if (arg9 == NULL) SWIG_fail;
e811c8ce 23500 temp9 = True;
d14a1e28
RD
23501 }
23502 }
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23511 {
23512 if (temp3)
23513 delete arg3;
23514 }
23515 {
23516 if (temp7)
23517 delete arg7;
23518 }
23519 {
23520 if (temp9)
23521 delete arg9;
23522 }
23523 return resultobj;
23524 fail:
23525 {
23526 if (temp3)
23527 delete arg3;
23528 }
23529 {
23530 if (temp7)
23531 delete arg7;
23532 }
23533 {
23534 if (temp9)
23535 delete arg9;
23536 }
23537 return NULL;
23538}
23539
23540
23541static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxGenericDirCtrl *result;
23544 char *kwnames[] = {
23545 NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23557 return resultobj;
23558 fail:
23559 return NULL;
23560}
23561
23562
23563static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23564 PyObject *resultobj;
23565 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23566 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23567 int arg3 = (int) (int)-1 ;
d14a1e28
RD
23568 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23569 wxString *arg4 = (wxString *) &arg4_defvalue ;
23570 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23571 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23572 wxSize const &arg6_defvalue = wxDefaultSize ;
23573 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23574 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23575 wxString const &arg8_defvalue = wxPyEmptyString ;
23576 wxString *arg8 = (wxString *) &arg8_defvalue ;
23577 int arg9 = (int) 0 ;
b2dc1044 23578 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
23579 wxString *arg10 = (wxString *) &arg10_defvalue ;
23580 bool result;
e811c8ce 23581 bool temp4 = False ;
d14a1e28
RD
23582 wxPoint temp5 ;
23583 wxSize temp6 ;
e811c8ce
RD
23584 bool temp8 = False ;
23585 bool temp10 = False ;
d14a1e28
RD
23586 PyObject * obj0 = 0 ;
23587 PyObject * obj1 = 0 ;
23588 PyObject * obj3 = 0 ;
23589 PyObject * obj4 = 0 ;
23590 PyObject * obj5 = 0 ;
23591 PyObject * obj7 = 0 ;
23592 PyObject * obj9 = 0 ;
23593 char *kwnames[] = {
23594 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23595 };
23596
23597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23600 if (obj3) {
23601 {
23602 arg4 = wxString_in_helper(obj3);
23603 if (arg4 == NULL) SWIG_fail;
e811c8ce 23604 temp4 = True;
d14a1e28
RD
23605 }
23606 }
23607 if (obj4) {
23608 {
23609 arg5 = &temp5;
23610 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23611 }
23612 }
23613 if (obj5) {
23614 {
23615 arg6 = &temp6;
23616 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23617 }
23618 }
23619 if (obj7) {
23620 {
23621 arg8 = wxString_in_helper(obj7);
23622 if (arg8 == NULL) SWIG_fail;
e811c8ce 23623 temp8 = True;
d14a1e28
RD
23624 }
23625 }
23626 if (obj9) {
23627 {
23628 arg10 = wxString_in_helper(obj9);
23629 if (arg10 == NULL) SWIG_fail;
e811c8ce 23630 temp10 = True;
d14a1e28
RD
23631 }
23632 }
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 resultobj = PyInt_FromLong((long)result);
23641 {
23642 if (temp4)
23643 delete arg4;
23644 }
23645 {
23646 if (temp8)
23647 delete arg8;
23648 }
23649 {
23650 if (temp10)
23651 delete arg10;
23652 }
23653 return resultobj;
23654 fail:
23655 {
23656 if (temp4)
23657 delete arg4;
23658 }
23659 {
23660 if (temp8)
23661 delete arg8;
23662 }
23663 {
23664 if (temp10)
23665 delete arg10;
23666 }
23667 return NULL;
23668}
23669
23670
23671static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23674 wxString *arg2 = 0 ;
23675 bool result;
e811c8ce 23676 bool temp2 = False ;
d14a1e28
RD
23677 PyObject * obj0 = 0 ;
23678 PyObject * obj1 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self",(char *) "path", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23685 {
23686 arg2 = wxString_in_helper(obj1);
23687 if (arg2 == NULL) SWIG_fail;
e811c8ce 23688 temp2 = True;
d14a1e28
RD
23689 }
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 resultobj = PyInt_FromLong((long)result);
23698 {
23699 if (temp2)
23700 delete arg2;
23701 }
23702 return resultobj;
23703 fail:
23704 {
23705 if (temp2)
23706 delete arg2;
23707 }
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23715 wxString result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 {
23731#if wxUSE_UNICODE
23732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23733#else
23734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23735#endif
23736 }
23737 return resultobj;
23738 fail:
23739 return NULL;
23740}
23741
23742
23743static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23746 wxString *arg2 = 0 ;
e811c8ce 23747 bool temp2 = False ;
d14a1e28
RD
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "path", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23756 {
23757 arg2 = wxString_in_helper(obj1);
23758 if (arg2 == NULL) SWIG_fail;
e811c8ce 23759 temp2 = True;
d14a1e28
RD
23760 }
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetDefaultPath((wxString const &)*arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 {
23770 if (temp2)
23771 delete arg2;
23772 }
23773 return resultobj;
23774 fail:
23775 {
23776 if (temp2)
23777 delete arg2;
23778 }
23779 return NULL;
23780}
23781
23782
23783static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23784 PyObject *resultobj;
23785 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23786 wxString result;
23787 PyObject * obj0 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 {
23802#if wxUSE_UNICODE
23803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23804#else
23805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23806#endif
23807 }
23808 return resultobj;
23809 fail:
23810 return NULL;
23811}
23812
23813
23814static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23815 PyObject *resultobj;
23816 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23817 wxString result;
23818 PyObject * obj0 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23825 {
23826 PyThreadState* __tstate = wxPyBeginAllowThreads();
23827 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23828
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 {
23833#if wxUSE_UNICODE
23834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23835#else
23836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23837#endif
23838 }
23839 return resultobj;
23840 fail:
23841 return NULL;
23842}
23843
23844
23845static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj;
23847 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23848 wxString *arg2 = 0 ;
e811c8ce 23849 bool temp2 = False ;
d14a1e28
RD
23850 PyObject * obj0 = 0 ;
23851 PyObject * obj1 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self",(char *) "path", NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23858 {
23859 arg2 = wxString_in_helper(obj1);
23860 if (arg2 == NULL) SWIG_fail;
e811c8ce 23861 temp2 = True;
d14a1e28
RD
23862 }
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 (arg1)->SetPath((wxString const &)*arg2);
23866
23867 wxPyEndAllowThreads(__tstate);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 Py_INCREF(Py_None); resultobj = Py_None;
23871 {
23872 if (temp2)
23873 delete arg2;
23874 }
23875 return resultobj;
23876 fail:
23877 {
23878 if (temp2)
23879 delete arg2;
23880 }
23881 return NULL;
23882}
23883
23884
23885static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23888 bool arg2 ;
23889 PyObject * obj0 = 0 ;
23890 PyObject * obj1 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self",(char *) "show", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23897 arg2 = PyInt_AsLong(obj1) ? true : false;
23898 if (PyErr_Occurred()) SWIG_fail;
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 (arg1)->ShowHidden(arg2);
23902
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 Py_INCREF(Py_None); resultobj = Py_None;
23907 return resultobj;
23908 fail:
23909 return NULL;
23910}
23911
23912
23913static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23914 PyObject *resultobj;
23915 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23916 bool result;
23917 PyObject * obj0 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 result = (bool)(arg1)->GetShowHidden();
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 resultobj = PyInt_FromLong((long)result);
23932 return resultobj;
23933 fail:
23934 return NULL;
23935}
23936
23937
23938static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23941 wxString result;
23942 PyObject * obj0 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 {
23957#if wxUSE_UNICODE
23958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23959#else
23960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23961#endif
23962 }
23963 return resultobj;
23964 fail:
23965 return NULL;
23966}
23967
23968
23969static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23972 wxString *arg2 = 0 ;
e811c8ce 23973 bool temp2 = False ;
d14a1e28
RD
23974 PyObject * obj0 = 0 ;
23975 PyObject * obj1 = 0 ;
23976 char *kwnames[] = {
23977 (char *) "self",(char *) "filter", NULL
23978 };
23979
23980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23982 {
23983 arg2 = wxString_in_helper(obj1);
23984 if (arg2 == NULL) SWIG_fail;
e811c8ce 23985 temp2 = True;
d14a1e28
RD
23986 }
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 (arg1)->SetFilter((wxString const &)*arg2);
23990
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 Py_INCREF(Py_None); resultobj = Py_None;
23995 {
23996 if (temp2)
23997 delete arg2;
23998 }
23999 return resultobj;
24000 fail:
24001 {
24002 if (temp2)
24003 delete arg2;
24004 }
24005 return NULL;
24006}
24007
24008
24009static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj;
24011 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24012 int result;
24013 PyObject * obj0 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 resultobj = PyInt_FromLong((long)result);
24028 return resultobj;
24029 fail:
24030 return NULL;
24031}
24032
24033
24034static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24037 int arg2 ;
24038 PyObject * obj0 = 0 ;
24039 char *kwnames[] = {
24040 (char *) "self",(char *) "n", NULL
24041 };
24042
24043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->SetFilterIndex(arg2);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056}
24057
24058
24059static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24062 wxTreeItemId result;
24063 PyObject * obj0 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = (arg1)->GetRootId();
24073
24074 wxPyEndAllowThreads(__tstate);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 {
24078 wxTreeItemId * resultptr;
24079 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24081 }
24082 return resultobj;
24083 fail:
24084 return NULL;
24085}
24086
24087
24088static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj;
24090 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 24091 wxPyTreeCtrl *result;
d14a1e28
RD
24092 PyObject * obj0 = 0 ;
24093 char *kwnames[] = {
24094 (char *) "self", NULL
24095 };
24096
24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 24101 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 resultobj = wxPyMake_wxObject(result);
24108 }
24109 return resultobj;
24110 fail:
24111 return NULL;
24112}
24113
24114
24115static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24118 wxDirFilterListCtrl *result;
24119 PyObject * obj0 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24126 {
24127 PyThreadState* __tstate = wxPyBeginAllowThreads();
24128 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24129
24130 wxPyEndAllowThreads(__tstate);
24131 if (PyErr_Occurred()) SWIG_fail;
24132 }
24133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24134 return resultobj;
24135 fail:
24136 return NULL;
24137}
24138
24139
24140static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24141 PyObject *resultobj;
24142 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24143 wxTreeItemId arg2 ;
24144 wxString *arg3 = 0 ;
24145 bool *arg4 = 0 ;
24146 wxTreeItemId result;
24147 wxTreeItemId *argp2 ;
e811c8ce 24148 bool temp3 = False ;
d14a1e28
RD
24149 bool temp4 ;
24150 PyObject * obj0 = 0 ;
24151 PyObject * obj1 = 0 ;
24152 PyObject * obj2 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self",(char *) "parentId",(char *) "path", NULL
24155 };
24156
24157 arg4 = &temp4;
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24160 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24161 arg2 = *argp2;
24162 {
24163 arg3 = wxString_in_helper(obj2);
24164 if (arg3 == NULL) SWIG_fail;
e811c8ce 24165 temp3 = True;
d14a1e28
RD
24166 }
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 {
24175 wxTreeItemId * resultptr;
24176 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24178 }
24179 {
24180 PyObject *o = PyInt_FromLong((long) (*arg4));
24181 resultobj = t_output_helper(resultobj,o);
24182 }
24183 {
24184 if (temp3)
24185 delete arg3;
24186 }
24187 return resultobj;
24188 fail:
24189 {
24190 if (temp3)
24191 delete arg3;
24192 }
24193 return NULL;
24194}
24195
24196
24197static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj;
24199 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24200 PyObject * obj0 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 (arg1)->DoResize();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 Py_INCREF(Py_None); resultobj = Py_None;
24215 return resultobj;
24216 fail:
24217 return NULL;
24218}
24219
24220
24221static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24224 PyObject * obj0 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 (arg1)->ReCreateTree();
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 Py_INCREF(Py_None); resultobj = Py_None;
24239 return resultobj;
24240 fail:
24241 return NULL;
24242}
24243
24244
24245static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24246 PyObject *obj;
24247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24248 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24249 Py_INCREF(obj);
24250 return Py_BuildValue((char *)"");
24251}
24252static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 24255 int arg2 = (int) (int)-1 ;
d14a1e28
RD
24256 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24257 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24258 wxSize const &arg4_defvalue = wxDefaultSize ;
24259 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24260 long arg5 = (long) 0 ;
24261 wxDirFilterListCtrl *result;
24262 wxPoint temp3 ;
24263 wxSize temp4 ;
24264 PyObject * obj0 = 0 ;
24265 PyObject * obj2 = 0 ;
24266 PyObject * obj3 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 if (obj2) {
24274 {
24275 arg3 = &temp3;
24276 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24277 }
24278 }
24279 if (obj3) {
24280 {
24281 arg4 = &temp4;
24282 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24283 }
24284 }
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24293 return resultobj;
24294 fail:
24295 return NULL;
24296}
24297
24298
24299static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxDirFilterListCtrl *result;
24302 char *kwnames[] = {
24303 NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24315 return resultobj;
24316 fail:
24317 return NULL;
24318}
24319
24320
24321static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24322 PyObject *resultobj;
24323 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24324 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 24325 int arg3 = (int) (int)-1 ;
d14a1e28
RD
24326 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24327 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24328 wxSize const &arg5_defvalue = wxDefaultSize ;
24329 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24330 long arg6 = (long) 0 ;
24331 bool result;
24332 wxPoint temp4 ;
24333 wxSize temp5 ;
24334 PyObject * obj0 = 0 ;
24335 PyObject * obj1 = 0 ;
24336 PyObject * obj3 = 0 ;
24337 PyObject * obj4 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24345 if (obj3) {
24346 {
24347 arg4 = &temp4;
24348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24349 }
24350 }
24351 if (obj4) {
24352 {
24353 arg5 = &temp5;
24354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24355 }
24356 }
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = PyInt_FromLong((long)result);
24365 return resultobj;
24366 fail:
24367 return NULL;
24368}
24369
24370
24371static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24374 wxString *arg2 = 0 ;
24375 int arg3 ;
e811c8ce 24376 bool temp2 = False ;
d14a1e28
RD
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 arg2 = wxString_in_helper(obj1);
24387 if (arg2 == NULL) SWIG_fail;
e811c8ce 24388 temp2 = True;
d14a1e28
RD
24389 }
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 {
24399 if (temp2)
24400 delete arg2;
24401 }
24402 return resultobj;
24403 fail:
24404 {
24405 if (temp2)
24406 delete arg2;
24407 }
24408 return NULL;
24409}
24410
24411
24412static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24413 PyObject *obj;
24414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24415 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24416 Py_INCREF(obj);
24417 return Py_BuildValue((char *)"");
24418}
24419static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24420 PyObject *resultobj;
24421 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24422 int arg2 ;
d14a1e28
RD
24423 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24424 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24425 wxSize const &arg4_defvalue = wxDefaultSize ;
24426 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24427 long arg5 = (long) 0 ;
24428 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24429 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24430 wxString const &arg7_defvalue = wxPyControlNameStr ;
24431 wxString *arg7 = (wxString *) &arg7_defvalue ;
24432 wxPyControl *result;
24433 wxPoint temp3 ;
24434 wxSize temp4 ;
e811c8ce 24435 bool temp7 = False ;
d14a1e28
RD
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj2 = 0 ;
24438 PyObject * obj3 = 0 ;
24439 PyObject * obj5 = 0 ;
24440 PyObject * obj6 = 0 ;
24441 char *kwnames[] = {
24442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24443 };
24444
24445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24447 if (obj2) {
24448 {
24449 arg3 = &temp3;
24450 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24451 }
24452 }
24453 if (obj3) {
24454 {
24455 arg4 = &temp4;
24456 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24457 }
24458 }
24459 if (obj5) {
24460 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24461 if (arg6 == NULL) {
24462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24463 }
24464 }
24465 if (obj6) {
24466 {
24467 arg7 = wxString_in_helper(obj6);
24468 if (arg7 == NULL) SWIG_fail;
e811c8ce 24469 temp7 = True;
d14a1e28
RD
24470 }
24471 }
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24480 {
24481 if (temp7)
24482 delete arg7;
24483 }
24484 return resultobj;
24485 fail:
24486 {
24487 if (temp7)
24488 delete arg7;
24489 }
24490 return NULL;
24491}
24492
24493
24494static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyControl *arg1 = (wxPyControl *) 0 ;
24497 PyObject *arg2 = (PyObject *) 0 ;
24498 PyObject *arg3 = (PyObject *) 0 ;
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 PyObject * obj2 = 0 ;
24502 char *kwnames[] = {
24503 (char *) "self",(char *) "self",(char *) "_class", NULL
24504 };
24505
24506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24508 arg2 = obj1;
24509 arg3 = obj2;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 (arg1)->_setCallbackInfo(arg2,arg3);
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 Py_INCREF(Py_None); resultobj = Py_None;
24518 return resultobj;
24519 fail:
24520 return NULL;
24521}
24522
24523
24524static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24525 PyObject *resultobj;
24526 wxPyControl *arg1 = (wxPyControl *) 0 ;
24527 int arg2 ;
24528 int arg3 ;
24529 int arg4 ;
24530 int arg5 ;
24531 PyObject * obj0 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 Py_INCREF(Py_None); resultobj = Py_None;
24546 return resultobj;
24547 fail:
24548 return NULL;
24549}
24550
24551
24552static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPyControl *arg1 = (wxPyControl *) 0 ;
24555 int arg2 ;
24556 int arg3 ;
24557 int arg4 ;
24558 int arg5 ;
24559 int arg6 = (int) wxSIZE_AUTO ;
24560 PyObject * obj0 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
24581static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyControl *arg1 = (wxPyControl *) 0 ;
24584 int arg2 ;
24585 int arg3 ;
24586 PyObject * obj0 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "width",(char *) "height", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->base_DoSetClientSize(arg2,arg3);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 Py_INCREF(Py_None); resultobj = Py_None;
24601 return resultobj;
24602 fail:
24603 return NULL;
24604}
24605
24606
24607static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxPyControl *arg1 = (wxPyControl *) 0 ;
24610 int arg2 ;
24611 int arg3 ;
24612 PyObject * obj0 = 0 ;
24613 char *kwnames[] = {
24614 (char *) "self",(char *) "x",(char *) "y", NULL
24615 };
24616
24617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 Py_INCREF(Py_None); resultobj = Py_None;
24627 return resultobj;
24628 fail:
24629 return NULL;
24630}
24631
24632
24633static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24634 PyObject *resultobj;
24635 wxPyControl *arg1 = (wxPyControl *) 0 ;
24636 int *arg2 = (int *) 0 ;
24637 int *arg3 = (int *) 0 ;
24638 int temp2 ;
24639 int temp3 ;
24640 PyObject * obj0 = 0 ;
24641 char *kwnames[] = {
24642 (char *) "self", NULL
24643 };
24644
24645 arg2 = &temp2;
24646 arg3 = &temp3;
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 Py_INCREF(Py_None); resultobj = Py_None;
24657 {
24658 PyObject *o = PyInt_FromLong((long) (*arg2));
24659 resultobj = t_output_helper(resultobj,o);
24660 }
24661 {
24662 PyObject *o = PyInt_FromLong((long) (*arg3));
24663 resultobj = t_output_helper(resultobj,o);
24664 }
24665 return resultobj;
24666 fail:
24667 return NULL;
24668}
24669
24670
24671static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj;
24673 wxPyControl *arg1 = (wxPyControl *) 0 ;
24674 int *arg2 = (int *) 0 ;
24675 int *arg3 = (int *) 0 ;
24676 int temp2 ;
24677 int temp3 ;
24678 PyObject * obj0 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self", NULL
24681 };
24682
24683 arg2 = &temp2;
24684 arg3 = &temp3;
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 {
24696 PyObject *o = PyInt_FromLong((long) (*arg2));
24697 resultobj = t_output_helper(resultobj,o);
24698 }
24699 {
24700 PyObject *o = PyInt_FromLong((long) (*arg3));
24701 resultobj = t_output_helper(resultobj,o);
24702 }
24703 return resultobj;
24704 fail:
24705 return NULL;
24706}
24707
24708
24709static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxPyControl *arg1 = (wxPyControl *) 0 ;
24712 int *arg2 = (int *) 0 ;
24713 int *arg3 = (int *) 0 ;
24714 int temp2 ;
24715 int temp3 ;
24716 PyObject * obj0 = 0 ;
24717 char *kwnames[] = {
24718 (char *) "self", NULL
24719 };
24720
24721 arg2 = &temp2;
24722 arg3 = &temp3;
24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 Py_INCREF(Py_None); resultobj = Py_None;
24733 {
24734 PyObject *o = PyInt_FromLong((long) (*arg2));
24735 resultobj = t_output_helper(resultobj,o);
24736 }
24737 {
24738 PyObject *o = PyInt_FromLong((long) (*arg3));
24739 resultobj = t_output_helper(resultobj,o);
24740 }
24741 return resultobj;
24742 fail:
24743 return NULL;
24744}
24745
24746
24747static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxPyControl *arg1 = (wxPyControl *) 0 ;
24750 wxSize result;
24751 PyObject * obj0 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 {
24766 wxSize * resultptr;
24767 resultptr = new wxSize((wxSize &) result);
24768 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24769 }
24770 return resultobj;
24771 fail:
24772 return NULL;
24773}
24774
24775
24776static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyControl *arg1 = (wxPyControl *) 0 ;
24779 wxSize result;
24780 PyObject * obj0 = 0 ;
24781 char *kwnames[] = {
24782 (char *) "self", NULL
24783 };
24784
24785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 {
24795 wxSize * resultptr;
24796 resultptr = new wxSize((wxSize &) result);
24797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
24805static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxPyControl *arg1 = (wxPyControl *) 0 ;
24808 PyObject * obj0 = 0 ;
24809 char *kwnames[] = {
24810 (char *) "self", NULL
24811 };
24812
24813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 (arg1)->base_InitDialog();
24818
24819 wxPyEndAllowThreads(__tstate);
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
24822 Py_INCREF(Py_None); resultobj = Py_None;
24823 return resultobj;
24824 fail:
24825 return NULL;
24826}
24827
24828
24829static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24830 PyObject *resultobj;
24831 wxPyControl *arg1 = (wxPyControl *) 0 ;
24832 bool result;
24833 PyObject * obj0 = 0 ;
24834 char *kwnames[] = {
24835 (char *) "self", NULL
24836 };
24837
24838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = (bool)(arg1)->base_TransferDataToWindow();
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 resultobj = PyInt_FromLong((long)result);
24848 return resultobj;
24849 fail:
24850 return NULL;
24851}
24852
24853
24854static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj;
24856 wxPyControl *arg1 = (wxPyControl *) 0 ;
24857 bool result;
24858 PyObject * obj0 = 0 ;
24859 char *kwnames[] = {
24860 (char *) "self", NULL
24861 };
24862
24863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24865 {
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = (bool)(arg1)->base_TransferDataFromWindow();
24868
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 resultobj = PyInt_FromLong((long)result);
24873 return resultobj;
24874 fail:
24875 return NULL;
24876}
24877
24878
24879static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxPyControl *arg1 = (wxPyControl *) 0 ;
24882 bool result;
24883 PyObject * obj0 = 0 ;
24884 char *kwnames[] = {
24885 (char *) "self", NULL
24886 };
24887
24888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 result = (bool)(arg1)->base_Validate();
24893
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 resultobj = PyInt_FromLong((long)result);
24898 return resultobj;
24899 fail:
24900 return NULL;
24901}
24902
24903
24904static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24905 PyObject *resultobj;
24906 wxPyControl *arg1 = (wxPyControl *) 0 ;
24907 bool result;
24908 PyObject * obj0 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self", NULL
24911 };
24912
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 resultobj = PyInt_FromLong((long)result);
24923 return resultobj;
24924 fail:
24925 return NULL;
24926}
24927
24928
24929static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxPyControl *arg1 = (wxPyControl *) 0 ;
24932 bool result;
24933 PyObject * obj0 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 resultobj = PyInt_FromLong((long)result);
24948 return resultobj;
24949 fail:
24950 return NULL;
24951}
24952
24953
24954static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj;
24956 wxPyControl *arg1 = (wxPyControl *) 0 ;
24957 wxSize result;
24958 PyObject * obj0 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 {
24973 wxSize * resultptr;
24974 resultptr = new wxSize((wxSize &) result);
24975 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24976 }
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
24983static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj;
24985 wxPyControl *arg1 = (wxPyControl *) 0 ;
24986 wxWindow *arg2 = (wxWindow *) 0 ;
24987 PyObject * obj0 = 0 ;
24988 PyObject * obj1 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self",(char *) "child", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 (arg1)->base_AddChild(arg2);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 Py_INCREF(Py_None); resultobj = Py_None;
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
25010static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj;
25012 wxPyControl *arg1 = (wxPyControl *) 0 ;
25013 wxWindow *arg2 = (wxWindow *) 0 ;
25014 PyObject * obj0 = 0 ;
25015 PyObject * obj1 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self",(char *) "child", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 (arg1)->base_RemoveChild(arg2);
25026
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 Py_INCREF(Py_None); resultobj = Py_None;
25031 return resultobj;
25032 fail:
25033 return NULL;
25034}
25035
25036
25037static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25038 PyObject *obj;
25039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25040 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25041 Py_INCREF(obj);
25042 return Py_BuildValue((char *)"");
25043}
25044static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 25047 int arg2 = (int) 0 ;
d14a1e28
RD
25048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25050 wxHelpEvent *result;
25051 wxPoint temp3 ;
25052 PyObject * obj2 = 0 ;
25053 char *kwnames[] = {
25054 (char *) "type",(char *) "winid",(char *) "pt", NULL
25055 };
25056
25057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25058 if (obj2) {
25059 {
25060 arg3 = &temp3;
25061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25062 }
25063 }
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
25078static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25081 wxPoint *result;
25082 PyObject * obj0 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 {
25092 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25093 result = (wxPoint *) &_result_ref;
25094 }
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25100 return resultobj;
25101 fail:
25102 return NULL;
25103}
25104
25105
25106static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25107 PyObject *resultobj;
25108 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25109 wxPoint *arg2 = 0 ;
25110 wxPoint temp2 ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "pos", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25119 {
25120 arg2 = &temp2;
25121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25122 }
25123 {
25124 PyThreadState* __tstate = wxPyBeginAllowThreads();
25125 (arg1)->SetPosition((wxPoint const &)*arg2);
25126
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 Py_INCREF(Py_None); resultobj = Py_None;
25131 return resultobj;
25132 fail:
25133 return NULL;
25134}
25135
25136
25137static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25138 PyObject *resultobj;
25139 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25140 wxString *result;
25141 PyObject * obj0 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 {
25151 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25152 result = (wxString *) &_result_ref;
25153 }
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
cc6dd355
RD
25158 {
25159#if wxUSE_UNICODE
25160 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25161#else
25162 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25163#endif
25164 }
d14a1e28
RD
25165 return resultobj;
25166 fail:
25167 return NULL;
25168}
25169
25170
25171static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25172 PyObject *resultobj;
25173 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25174 wxString *arg2 = 0 ;
e811c8ce 25175 bool temp2 = False ;
d14a1e28
RD
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self",(char *) "link", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25184 {
25185 arg2 = wxString_in_helper(obj1);
25186 if (arg2 == NULL) SWIG_fail;
e811c8ce 25187 temp2 = True;
d14a1e28
RD
25188 }
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 (arg1)->SetLink((wxString const &)*arg2);
25192
25193 wxPyEndAllowThreads(__tstate);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 Py_INCREF(Py_None); resultobj = Py_None;
25197 {
25198 if (temp2)
25199 delete arg2;
25200 }
25201 return resultobj;
25202 fail:
25203 {
25204 if (temp2)
25205 delete arg2;
25206 }
25207 return NULL;
25208}
25209
25210
25211static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj;
25213 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25214 wxString *result;
25215 PyObject * obj0 = 0 ;
25216 char *kwnames[] = {
25217 (char *) "self", NULL
25218 };
25219
25220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 {
25225 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25226 result = (wxString *) &_result_ref;
25227 }
25228
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
cc6dd355
RD
25232 {
25233#if wxUSE_UNICODE
25234 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25235#else
25236 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25237#endif
25238 }
d14a1e28
RD
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
25245static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj;
25247 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25248 wxString *arg2 = 0 ;
e811c8ce 25249 bool temp2 = False ;
d14a1e28
RD
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 char *kwnames[] = {
25253 (char *) "self",(char *) "target", NULL
25254 };
25255
25256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25258 {
25259 arg2 = wxString_in_helper(obj1);
25260 if (arg2 == NULL) SWIG_fail;
e811c8ce 25261 temp2 = True;
d14a1e28
RD
25262 }
25263 {
25264 PyThreadState* __tstate = wxPyBeginAllowThreads();
25265 (arg1)->SetTarget((wxString const &)*arg2);
25266
25267 wxPyEndAllowThreads(__tstate);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 }
25270 Py_INCREF(Py_None); resultobj = Py_None;
25271 {
25272 if (temp2)
25273 delete arg2;
25274 }
25275 return resultobj;
25276 fail:
25277 {
25278 if (temp2)
25279 delete arg2;
25280 }
25281 return NULL;
25282}
25283
25284
25285static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25286 PyObject *obj;
25287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25288 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25289 Py_INCREF(obj);
25290 return Py_BuildValue((char *)"");
25291}
25292static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj;
25294 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 25295 bool arg2 = (bool) True ;
d14a1e28
RD
25296 wxContextHelp *result;
25297 PyObject * obj0 = 0 ;
25298 PyObject * obj1 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "window",(char *) "doNow", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25304 if (obj0) {
25305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25306 }
25307 if (obj1) {
25308 arg2 = PyInt_AsLong(obj1) ? true : false;
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 {
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25314
25315 wxPyEndAllowThreads(__tstate);
25316 if (PyErr_Occurred()) SWIG_fail;
25317 }
25318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25319 return resultobj;
25320 fail:
25321 return NULL;
25322}
25323
25324
25325static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25326 PyObject *resultobj;
25327 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25328 PyObject * obj0 = 0 ;
25329 char *kwnames[] = {
25330 (char *) "self", NULL
25331 };
25332
25333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 {
25336 PyThreadState* __tstate = wxPyBeginAllowThreads();
25337 delete arg1;
25338
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 Py_INCREF(Py_None); resultobj = Py_None;
25343 return resultobj;
25344 fail:
25345 return NULL;
25346}
25347
25348
25349static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25352 wxWindow *arg2 = (wxWindow *) NULL ;
25353 bool result;
25354 PyObject * obj0 = 0 ;
25355 PyObject * obj1 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "window", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25362 if (obj1) {
25363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (bool)(arg1)->BeginContextHelp(arg2);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = PyInt_FromLong((long)result);
25373 return resultobj;
25374 fail:
25375 return NULL;
25376}
25377
25378
25379static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj;
25381 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25382 bool result;
25383 PyObject * obj0 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "self", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (bool)(arg1)->EndContextHelp();
25393
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 resultobj = PyInt_FromLong((long)result);
25398 return resultobj;
25399 fail:
25400 return NULL;
25401}
25402
25403
25404static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25405 PyObject *obj;
25406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25407 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25408 Py_INCREF(obj);
25409 return Py_BuildValue((char *)"");
25410}
25411static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25412 PyObject *resultobj;
25413 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25414 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
25415 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25416 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25417 wxSize const &arg4_defvalue = wxDefaultSize ;
25418 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25419 long arg5 = (long) wxBU_AUTODRAW ;
25420 wxContextHelpButton *result;
25421 wxPoint temp3 ;
25422 wxSize temp4 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj2 = 0 ;
25425 PyObject * obj3 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25432 if (obj2) {
25433 {
25434 arg3 = &temp3;
25435 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25436 }
25437 }
25438 if (obj3) {
25439 {
25440 arg4 = &temp4;
25441 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25442 }
25443 }
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25452 return resultobj;
25453 fail:
25454 return NULL;
25455}
25456
25457
25458static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25459 PyObject *obj;
25460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25461 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25462 Py_INCREF(obj);
25463 return Py_BuildValue((char *)"");
25464}
25465static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj;
25467 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25468 wxHelpProvider *result;
25469 PyObject * obj0 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "helpProvider", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25484 return resultobj;
25485 fail:
25486 return NULL;
25487}
25488
25489
25490static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxHelpProvider *result;
25493 char *kwnames[] = {
25494 NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 result = (wxHelpProvider *)wxHelpProvider::Get();
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25506 return resultobj;
25507 fail:
25508 return NULL;
25509}
25510
25511
25512static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25515 wxWindow *arg2 = (wxWindow *) 0 ;
25516 wxString result;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 char *kwnames[] = {
25520 (char *) "self",(char *) "window", NULL
25521 };
25522
25523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (arg1)->GetHelp((wxWindow const *)arg2);
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 {
25534#if wxUSE_UNICODE
25535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25536#else
25537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25538#endif
25539 }
25540 return resultobj;
25541 fail:
25542 return NULL;
25543}
25544
25545
25546static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj;
25548 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25549 wxWindow *arg2 = (wxWindow *) 0 ;
25550 bool result;
25551 PyObject * obj0 = 0 ;
25552 PyObject * obj1 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self",(char *) "window", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 result = (bool)(arg1)->ShowHelp(arg2);
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 resultobj = PyInt_FromLong((long)result);
25568 return resultobj;
25569 fail:
25570 return NULL;
25571}
25572
25573
25574static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj;
25576 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25577 wxWindow *arg2 = (wxWindow *) 0 ;
25578 wxString *arg3 = 0 ;
e811c8ce 25579 bool temp3 = False ;
d14a1e28
RD
25580 PyObject * obj0 = 0 ;
25581 PyObject * obj1 = 0 ;
25582 PyObject * obj2 = 0 ;
25583 char *kwnames[] = {
25584 (char *) "self",(char *) "window",(char *) "text", NULL
25585 };
25586
25587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25590 {
25591 arg3 = wxString_in_helper(obj2);
25592 if (arg3 == NULL) SWIG_fail;
e811c8ce 25593 temp3 = True;
d14a1e28
RD
25594 }
25595 {
25596 PyThreadState* __tstate = wxPyBeginAllowThreads();
25597 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25598
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 Py_INCREF(Py_None); resultobj = Py_None;
25603 {
25604 if (temp3)
25605 delete arg3;
25606 }
25607 return resultobj;
25608 fail:
25609 {
25610 if (temp3)
25611 delete arg3;
25612 }
25613 return NULL;
25614}
25615
25616
25617static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 25620 int arg2 ;
d14a1e28 25621 wxString *arg3 = 0 ;
e811c8ce 25622 bool temp3 = False ;
d14a1e28
RD
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj2 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "id",(char *) "text", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25631 {
25632 arg3 = wxString_in_helper(obj2);
25633 if (arg3 == NULL) SWIG_fail;
e811c8ce 25634 temp3 = True;
d14a1e28
RD
25635 }
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25639
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 Py_INCREF(Py_None); resultobj = Py_None;
25644 {
25645 if (temp3)
25646 delete arg3;
25647 }
25648 return resultobj;
25649 fail:
25650 {
25651 if (temp3)
25652 delete arg3;
25653 }
25654 return NULL;
25655}
25656
25657
25658static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj;
25660 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25661 PyObject * obj0 = 0 ;
25662 char *kwnames[] = {
25663 (char *) "self", NULL
25664 };
25665
25666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25668 {
25669 PyThreadState* __tstate = wxPyBeginAllowThreads();
25670 wxHelpProvider_Destroy(arg1);
25671
25672 wxPyEndAllowThreads(__tstate);
25673 if (PyErr_Occurred()) SWIG_fail;
25674 }
25675 Py_INCREF(Py_None); resultobj = Py_None;
25676 return resultobj;
25677 fail:
25678 return NULL;
25679}
25680
25681
25682static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25683 PyObject *obj;
25684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25685 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25686 Py_INCREF(obj);
25687 return Py_BuildValue((char *)"");
25688}
25689static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25690 PyObject *resultobj;
25691 wxSimpleHelpProvider *result;
25692 char *kwnames[] = {
25693 NULL
25694 };
25695
25696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25705 return resultobj;
25706 fail:
25707 return NULL;
25708}
25709
25710
25711static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25712 PyObject *obj;
25713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25714 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25715 Py_INCREF(obj);
25716 return Py_BuildValue((char *)"");
25717}
e811c8ce
RD
25718static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxBitmap *arg1 = 0 ;
25721 wxCursor const &arg2_defvalue = wxNullCursor ;
25722 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25723 wxGenericDragImage *result;
25724 PyObject * obj0 = 0 ;
25725 PyObject * obj1 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "image",(char *) "cursor", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25732 if (arg1 == NULL) {
25733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25734 }
25735 if (obj1) {
25736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25737 if (arg2 == NULL) {
25738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25739 }
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25749 return resultobj;
25750 fail:
25751 return NULL;
25752}
25753
25754
25755static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25756 PyObject *resultobj;
25757 wxIcon *arg1 = 0 ;
25758 wxCursor const &arg2_defvalue = wxNullCursor ;
25759 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25760 wxGenericDragImage *result;
25761 PyObject * obj0 = 0 ;
25762 PyObject * obj1 = 0 ;
25763 char *kwnames[] = {
25764 (char *) "image",(char *) "cursor", NULL
25765 };
25766
25767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25769 if (arg1 == NULL) {
25770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25771 }
25772 if (obj1) {
25773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25774 if (arg2 == NULL) {
25775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25776 }
25777 }
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
25792static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25793 PyObject *resultobj;
25794 wxString *arg1 = 0 ;
25795 wxCursor const &arg2_defvalue = wxNullCursor ;
25796 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25797 wxGenericDragImage *result;
25798 bool temp1 = False ;
25799 PyObject * obj0 = 0 ;
25800 PyObject * obj1 = 0 ;
25801 char *kwnames[] = {
25802 (char *) "str",(char *) "cursor", NULL
25803 };
25804
25805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25806 {
25807 arg1 = wxString_in_helper(obj0);
25808 if (arg1 == NULL) SWIG_fail;
25809 temp1 = True;
25810 }
25811 if (obj1) {
25812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25813 if (arg2 == NULL) {
25814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25815 }
25816 }
25817 {
25818 PyThreadState* __tstate = wxPyBeginAllowThreads();
25819 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25820
25821 wxPyEndAllowThreads(__tstate);
25822 if (PyErr_Occurred()) SWIG_fail;
25823 }
25824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25825 {
25826 if (temp1)
25827 delete arg1;
25828 }
25829 return resultobj;
25830 fail:
25831 {
25832 if (temp1)
25833 delete arg1;
25834 }
25835 return NULL;
25836}
25837
25838
25839static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25840 PyObject *resultobj;
25841 wxPyTreeCtrl *arg1 = 0 ;
25842 wxTreeItemId *arg2 = 0 ;
25843 wxGenericDragImage *result;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 char *kwnames[] = {
25847 (char *) "treeCtrl",(char *) "id", NULL
25848 };
25849
25850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25852 if (arg1 == NULL) {
25853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25854 }
25855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25856 if (arg2 == NULL) {
25857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25858 }
25859 {
25860 PyThreadState* __tstate = wxPyBeginAllowThreads();
25861 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25862
25863 wxPyEndAllowThreads(__tstate);
25864 if (PyErr_Occurred()) SWIG_fail;
25865 }
25866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25867 return resultobj;
25868 fail:
25869 return NULL;
25870}
25871
25872
25873static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxPyListCtrl *arg1 = 0 ;
25876 long arg2 ;
25877 wxGenericDragImage *result;
25878 PyObject * obj0 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "listCtrl",(char *) "id", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25885 if (arg1 == NULL) {
25886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25887 }
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25896 return resultobj;
25897 fail:
25898 return NULL;
25899}
25900
25901
25902static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj;
25904 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25905 PyObject * obj0 = 0 ;
25906 char *kwnames[] = {
25907 (char *) "self", NULL
25908 };
25909
25910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 delete arg1;
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 Py_INCREF(Py_None); resultobj = Py_None;
25920 return resultobj;
25921 fail:
25922 return NULL;
25923}
25924
25925
25926static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj;
25928 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25929 wxBitmap *arg2 = (wxBitmap *) 0 ;
25930 PyObject * obj0 = 0 ;
25931 PyObject * obj1 = 0 ;
25932 char *kwnames[] = {
25933 (char *) "self",(char *) "bitmap", NULL
25934 };
25935
25936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->SetBackingBitmap(arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
25953static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25954 PyObject *resultobj;
25955 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25956 wxPoint *arg2 = 0 ;
25957 wxWindow *arg3 = (wxWindow *) 0 ;
25958 bool arg4 = (bool) False ;
25959 wxRect *arg5 = (wxRect *) NULL ;
25960 bool result;
25961 wxPoint temp2 ;
25962 PyObject * obj0 = 0 ;
25963 PyObject * obj1 = 0 ;
25964 PyObject * obj2 = 0 ;
25965 PyObject * obj3 = 0 ;
25966 PyObject * obj4 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25973 {
25974 arg2 = &temp2;
25975 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25976 }
25977 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 if (obj3) {
25979 arg4 = PyInt_AsLong(obj3) ? true : false;
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 if (obj4) {
25983 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25984 }
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 resultobj = PyInt_FromLong((long)result);
25993 return resultobj;
25994 fail:
25995 return NULL;
25996}
25997
25998
25999static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26002 wxPoint *arg2 = 0 ;
26003 wxWindow *arg3 = (wxWindow *) 0 ;
26004 wxWindow *arg4 = (wxWindow *) 0 ;
26005 bool result;
26006 wxPoint temp2 ;
26007 PyObject * obj0 = 0 ;
26008 PyObject * obj1 = 0 ;
26009 PyObject * obj2 = 0 ;
26010 PyObject * obj3 = 0 ;
26011 char *kwnames[] = {
26012 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26013 };
26014
26015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26017 {
26018 arg2 = &temp2;
26019 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26020 }
26021 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26022 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 resultobj = PyInt_FromLong((long)result);
26031 return resultobj;
26032 fail:
26033 return NULL;
26034}
26035
26036
26037static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj;
26039 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26040 bool result;
26041 PyObject * obj0 = 0 ;
26042 char *kwnames[] = {
26043 (char *) "self", NULL
26044 };
26045
26046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 result = (bool)(arg1)->EndDrag();
26051
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 resultobj = PyInt_FromLong((long)result);
26056 return resultobj;
26057 fail:
26058 return NULL;
26059}
26060
26061
26062static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj;
26064 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26065 wxPoint *arg2 = 0 ;
26066 bool result;
26067 wxPoint temp2 ;
26068 PyObject * obj0 = 0 ;
26069 PyObject * obj1 = 0 ;
26070 char *kwnames[] = {
26071 (char *) "self",(char *) "pt", NULL
26072 };
26073
26074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26076 {
26077 arg2 = &temp2;
26078 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 resultobj = PyInt_FromLong((long)result);
26088 return resultobj;
26089 fail:
26090 return NULL;
26091}
26092
26093
26094static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26095 PyObject *resultobj;
26096 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26097 bool result;
26098 PyObject * obj0 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (bool)(arg1)->Show();
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 resultobj = PyInt_FromLong((long)result);
26113 return resultobj;
26114 fail:
26115 return NULL;
26116}
26117
26118
26119static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26122 bool result;
26123 PyObject * obj0 = 0 ;
26124 char *kwnames[] = {
26125 (char *) "self", NULL
26126 };
26127
26128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (bool)(arg1)->Hide();
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 resultobj = PyInt_FromLong((long)result);
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
26144static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26147 wxPoint *arg2 = 0 ;
26148 wxRect result;
26149 wxPoint temp2 ;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self",(char *) "pos", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26158 {
26159 arg2 = &temp2;
26160 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26161 }
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 {
26170 wxRect * resultptr;
26171 resultptr = new wxRect((wxRect &) result);
26172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26173 }
26174 return resultobj;
26175 fail:
26176 return NULL;
26177}
26178
26179
26180static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj;
26182 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26183 wxDC *arg2 = 0 ;
26184 wxPoint *arg3 = 0 ;
26185 bool result;
26186 wxPoint temp3 ;
26187 PyObject * obj0 = 0 ;
26188 PyObject * obj1 = 0 ;
26189 PyObject * obj2 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self",(char *) "dc",(char *) "pos", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26197 if (arg2 == NULL) {
26198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26199 }
26200 {
26201 arg3 = &temp3;
26202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26203 }
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = PyInt_FromLong((long)result);
26212 return resultobj;
26213 fail:
26214 return NULL;
26215}
26216
26217
26218static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj;
26220 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26221 wxDC *arg2 = 0 ;
26222 wxMemoryDC *arg3 = 0 ;
26223 wxRect *arg4 = 0 ;
26224 wxRect *arg5 = 0 ;
26225 bool result;
26226 wxRect temp4 ;
26227 wxRect temp5 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 PyObject * obj2 = 0 ;
26231 PyObject * obj3 = 0 ;
26232 PyObject * obj4 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26240 if (arg2 == NULL) {
26241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26242 }
26243 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26244 if (arg3 == NULL) {
26245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26246 }
26247 {
26248 arg4 = &temp4;
26249 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26250 }
26251 {
26252 arg5 = &temp5;
26253 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26254 }
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 resultobj = PyInt_FromLong((long)result);
26263 return resultobj;
26264 fail:
26265 return NULL;
26266}
26267
26268
26269static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj;
26271 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26272 wxPoint *arg2 = 0 ;
26273 wxPoint *arg3 = 0 ;
26274 bool arg4 ;
26275 bool arg5 ;
26276 bool result;
26277 wxPoint temp2 ;
26278 wxPoint temp3 ;
26279 PyObject * obj0 = 0 ;
26280 PyObject * obj1 = 0 ;
26281 PyObject * obj2 = 0 ;
26282 PyObject * obj3 = 0 ;
26283 PyObject * obj4 = 0 ;
26284 char *kwnames[] = {
26285 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26286 };
26287
26288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26290 {
26291 arg2 = &temp2;
26292 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26293 }
26294 {
26295 arg3 = &temp3;
26296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26297 }
26298 arg4 = PyInt_AsLong(obj3) ? true : false;
26299 if (PyErr_Occurred()) SWIG_fail;
26300 arg5 = PyInt_AsLong(obj4) ? true : false;
26301 if (PyErr_Occurred()) SWIG_fail;
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26305
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 resultobj = PyInt_FromLong((long)result);
26310 return resultobj;
26311 fail:
26312 return NULL;
26313}
26314
26315
26316static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26317 PyObject *obj;
26318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26319 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26320 Py_INCREF(obj);
26321 return Py_BuildValue((char *)"");
26322}
26323static PyMethodDef SwigMethods[] = {
26324 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26330 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26345 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26356 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26365 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 26377 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
26378 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26383 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26396 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26400 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26406 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26410 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26417 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26436 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26445 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26446 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26474 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26514 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26527 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26532 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26543 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26555 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26566 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26583 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26589 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26614 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26621 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26641 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26647 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26656 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26658 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26663 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26665 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26670 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26675 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26705 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
26707 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26709 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 26747 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26748 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26750 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26755 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26767 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26819 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26846 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26915 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26927 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26935 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26942 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 26956 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26957 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26958 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27030 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27052 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27057 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27078 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27086 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27091 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27093 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27101 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
27103 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
27121 { NULL, NULL }
27122};
27123
27124
27125/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27126
27127static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27128 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27129}
27130static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27131 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27132}
27133static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27134 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27135}
27136static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27137 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27138}
27139static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27140 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27141}
27142static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27143 return (void *)((wxSizer *) ((wxGridSizer *) x));
27144}
27145static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27146 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27147}
27148static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27149 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27150}
27151static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27152 return (void *)((wxSizer *) ((wxPySizer *) x));
27153}
27154static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27155 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27156}
27157static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27159}
27160static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27161 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27162}
27163static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27164 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27165}
27166static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27167 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27168}
27169static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27170 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27171}
27172static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27173 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27174}
27175static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27176 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27177}
27178static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27179 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27180}
27181static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27183}
27184static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27186}
27187static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27188 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27189}
27190static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27191 return (void *)((wxEvent *) ((wxPyEvent *) x));
27192}
27193static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27195}
27196static void *_p_wxListEventTo_p_wxEvent(void *x) {
27197 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27198}
27199static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27200 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27201}
27202static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27203 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27204}
27205static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27207}
27208static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27210}
27211static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27213}
27214static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27216}
27217static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27219}
27220static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27222}
27223static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27225}
27226static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27228}
27229static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27231}
27232static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27233 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27234}
27235static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27236 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27237}
27238static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27240}
27241static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27242 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27243}
27244static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27245 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27246}
27247static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27248 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27249}
27250static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27251 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27252}
27253static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27254 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27255}
27256static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27257 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27258}
27259static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27261}
27262static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27263 return (void *)((wxEvent *) ((wxShowEvent *) x));
27264}
27265static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27266 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27267}
27268static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27269 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27270}
27271static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27273}
27274static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27275 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27276}
27277static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27278 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27279}
27280static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27281 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27282}
27283static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27284 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27285}
27286static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27287 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27288}
27289static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27290 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27291}
27292static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27293 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27294}
27295static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27296 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27297}
27298static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27299 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27300}
27301static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27302 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27303}
27304static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27305 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27306}
27307static void *_p_wxListBoxTo_p_wxControl(void *x) {
27308 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27309}
27310static void *_p_wxChoiceTo_p_wxControl(void *x) {
27311 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27312}
27313static void *_p_wxToolBarTo_p_wxControl(void *x) {
27314 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27315}
27316static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27317 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27318}
27319static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27320 return (void *)((wxControl *) ((wxComboBox *) x));
27321}
27322static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27323 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27324}
27325static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27326 return (void *)((wxControl *) ((wxStaticBox *) x));
27327}
27328static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27329 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27330}
27331static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27332 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27333}
27334static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27335 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27336}
27337static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27338 return (void *)((wxControl *) ((wxScrollBar *) x));
27339}
27340static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27341 return (void *)((wxControl *) ((wxBookCtrl *) x));
27342}
27343static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27344 return (void *)((wxControl *) ((wxRadioButton *) x));
27345}
27346static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27347 return (void *)((wxControl *) ((wxToggleButton *) x));
27348}
27349static void *_p_wxGaugeTo_p_wxControl(void *x) {
27350 return (void *)((wxControl *) ((wxGauge *) x));
27351}
27352static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27353 return (void *)((wxControl *) ((wxToolBarBase *) x));
27354}
27355static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27356 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27357}
27358static void *_p_wxButtonTo_p_wxControl(void *x) {
27359 return (void *)((wxControl *) ((wxButton *) x));
27360}
27361static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27362 return (void *)((wxControl *) ((wxSpinButton *) x));
27363}
27364static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27365 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27366}
27367static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27368 return (void *)((wxControl *) ((wxControlWithItems *) x));
27369}
27370static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27371 return (void *)((wxControl *) ((wxRadioBox *) x));
27372}
27373static void *_p_wxNotebookTo_p_wxControl(void *x) {
27374 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27375}
27376static void *_p_wxListbookTo_p_wxControl(void *x) {
27377 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27378}
27379static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27380 return (void *)((wxControl *) ((wxCheckBox *) x));
27381}
27382static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27383 return (void *)((wxControl *) ((wxTextCtrl *) x));
27384}
27385static void *_p_wxListViewTo_p_wxControl(void *x) {
27386 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27387}
27388static void *_p_wxSliderTo_p_wxControl(void *x) {
27389 return (void *)((wxControl *) ((wxSlider *) x));
27390}
27391static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27392 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27393}
27394static void *_p_wxPyControlTo_p_wxControl(void *x) {
27395 return (void *)((wxControl *) ((wxPyControl *) x));
27396}
27397static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27398 return (void *)((wxControl *) ((wxStaticLine *) x));
27399}
27400static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27401 return (void *)((wxControl *) ((wxStaticText *) x));
27402}
27403static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27404 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27405}
27406static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27407 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27408}
27409static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27410 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27411}
27412static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27413 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27414}
27415static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27416 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27417}
27418static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27419 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27420}
27421static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27422 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27423}
27424static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27426}
27427static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27428 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27429}
27430static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27431 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27432}
27433static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27434 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27435}
27436static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27438}
27439static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27440 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27441}
27442static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27444}
27445static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27447}
27448static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27449 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27450}
27451static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27453}
27454static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27456}
27457static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27459}
27460static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27462}
27463static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27465}
27466static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27468}
27469static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27470 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27471}
27472static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27474}
27475static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27477}
27478static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27480}
27481static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27483}
27484static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27486}
27487static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27489}
27490static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27492}
27493static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27495}
27496static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27498}
27499static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27501}
27502static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27503 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27504}
27505static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27506 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27507}
27508static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27510}
27511static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27512 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27513}
27514static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27515 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27516}
27517static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27519}
27520static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27522}
27523static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27524 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27525}
27526static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27527 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27528}
27529static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27530 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27531}
27532static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27533 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27534}
27535static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27537}
27538static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27539 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27540}
27541static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27543}
27544static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27545 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27546}
27547static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27548 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27549}
27550static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27551 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27552}
27553static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27554 return (void *)((wxButton *) ((wxBitmapButton *) x));
27555}
27556static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27557 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27558}
27559static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27560 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27561}
27562static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27563 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27564}
27565static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27566 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27567}
27568static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27569 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27570}
27571static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27572 return (void *)((wxObject *) ((wxSizerItem *) x));
27573}
27574static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27576}
27577static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27578 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27579}
27580static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27582}
27583static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27585}
27586static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27587 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27588}
27589static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27590 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27591}
27592static void *_p_wxSizerTo_p_wxObject(void *x) {
27593 return (void *)((wxObject *) ((wxSizer *) x));
27594}
27595static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27596 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27597}
27598static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27600}
27601static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27603}
27604static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27606}
27607static void *_p_wxEventTo_p_wxObject(void *x) {
27608 return (void *)((wxObject *) ((wxEvent *) x));
27609}
27610static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27611 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27612}
27613static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27614 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27615}
27616static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27617 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27618}
27619static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27621}
27622static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27624}
27625static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27627}
27628static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27629 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27630}
27631static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27632 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27633}
27634static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27635 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27636}
27637static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27638 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27639}
27640static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27641 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27642}
27643static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27644 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27645}
27646static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27648}
27649static void *_p_wxControlTo_p_wxObject(void *x) {
27650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27651}
27652static void *_p_wxPyControlTo_p_wxObject(void *x) {
27653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27654}
27655static void *_p_wxGaugeTo_p_wxObject(void *x) {
27656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27657}
27658static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27660}
27661static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27663}
27664static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27666}
27667static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27668 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27669}
27670static void *_p_wxChoiceTo_p_wxObject(void *x) {
27671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27672}
27673static void *_p_wxFSFileTo_p_wxObject(void *x) {
27674 return (void *)((wxObject *) ((wxFSFile *) x));
27675}
27676static void *_p_wxPySizerTo_p_wxObject(void *x) {
27677 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27678}
27679static void *_p_wxListViewTo_p_wxObject(void *x) {
27680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27681}
27682static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27684}
27685static void *_p_wxNotebookTo_p_wxObject(void *x) {
27686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27687}
27688static void *_p_wxPyEventTo_p_wxObject(void *x) {
27689 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27690}
27691static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27693}
27694static void *_p_wxListbookTo_p_wxObject(void *x) {
27695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27696}
27697static void *_p_wxShowEventTo_p_wxObject(void *x) {
27698 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27699}
27700static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27702}
27703static void *_p_wxSliderTo_p_wxObject(void *x) {
27704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27705}
27706static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27707 return (void *)((wxObject *) ((wxMenuItem *) x));
27708}
27709static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27710 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27711}
27712static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27713 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27714}
27715static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27716 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27717}
27718static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27719 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27720}
27721static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27722 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27723}
27724static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27725 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27726}
27727static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27728 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27729}
27730static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27731 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27732}
27733static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27735}
27736static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27737 return (void *)((wxObject *) ((wxContextHelp *) x));
27738}
27739static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27740 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27741}
27742static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27743 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27744}
27745static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27746 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27747}
27748static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27749 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27750}
27751static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27752 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27753}
27754static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27755 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27756}
27757static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27758 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27759}
27760static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27761 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27762}
27763static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27764 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27765}
27766static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27767 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27768}
27769static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27770 return (void *)((wxObject *) ((wxImageHandler *) x));
27771}
27772static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27773 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27774}
27775static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27776 return (void *)((wxObject *) ((wxEvtHandler *) x));
27777}
27778static void *_p_wxListEventTo_p_wxObject(void *x) {
27779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27780}
27781static void *_p_wxListBoxTo_p_wxObject(void *x) {
27782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27783}
27784static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27786}
27787static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27789}
d14a1e28
RD
27790static void *_p_wxButtonTo_p_wxObject(void *x) {
27791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27792}
1e0c8722
RD
27793static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27795}
d14a1e28
RD
27796static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27798}
27799static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27801}
1e0c8722
RD
27802static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27803 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27804}
d14a1e28
RD
27805static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27807}
27808static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27810}
27811static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27813}
27814static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27816}
27817static void *_p_wxListItemTo_p_wxObject(void *x) {
27818 return (void *)((wxObject *) ((wxListItem *) x));
27819}
27820static void *_p_wxImageTo_p_wxObject(void *x) {
27821 return (void *)((wxObject *) ((wxImage *) x));
27822}
27823static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27824 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27825}
27826static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27827 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27828}
e811c8ce
RD
27829static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27830 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27831}
d14a1e28
RD
27832static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27834}
27835static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27837}
27838static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27839 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27840}
27841static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27843}
27844static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27845 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27846}
27847static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27848 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27849}
27850static void *_p_wxWindowTo_p_wxObject(void *x) {
27851 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27852}
27853static void *_p_wxMenuTo_p_wxObject(void *x) {
27854 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27855}
27856static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27858}
27859static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27860 return (void *)((wxObject *) ((wxFileSystem *) x));
27861}
27862static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27864}
27865static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27866 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27867}
27868static void *_p_wxPyAppTo_p_wxObject(void *x) {
27869 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27870}
27871static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27872 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27873}
27874static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27875 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27876}
27877static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27878 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27879}
27880static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27882}
27883static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27885}
27886static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27887 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27888}
27889static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27891}
27892static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27893 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27894}
27895static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27896 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27897}
27898static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27899 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27900}
27901static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27903}
27904static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27905 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27906}
27907static void *_p_wxToolBarTo_p_wxObject(void *x) {
27908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27909}
27910static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27911 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27912}
27913static void *_p_wxValidatorTo_p_wxObject(void *x) {
27914 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27915}
27916static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27917 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27918}
27919static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27920 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27921}
27922static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27923 return (void *)((wxWindow *) ((wxMenuBar *) x));
27924}
27925static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27926 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27927}
27928static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27929 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27930}
27931static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27932 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27933}
27934static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27935 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27936}
27937static void *_p_wxControlTo_p_wxWindow(void *x) {
27938 return (void *)((wxWindow *) ((wxControl *) x));
27939}
27940static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27941 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27942}
27943static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27944 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27945}
27946static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27947 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27948}
27949static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27950 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27951}
27952static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27953 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27954}
27955static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27956 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27957}
27958static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27959 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27960}
27961static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27962 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27963}
27964static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27965 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27966}
27967static void *_p_wxListbookTo_p_wxWindow(void *x) {
27968 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27969}
27970static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27971 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27972}
27973static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27974 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27975}
27976static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27977 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27978}
27979static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27980 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27981}
27982static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27983 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27984}
27985static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27986 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27987}
27988static void *_p_wxListViewTo_p_wxWindow(void *x) {
27989 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27990}
27991static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27992 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27993}
27994static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27995 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27996}
27997static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27998 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27999}
28000static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28001 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28002}
28003static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28004 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28005}
28006static void *_p_wxSliderTo_p_wxWindow(void *x) {
28007 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28008}
28009static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28010 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28011}
28012static void *_p_wxButtonTo_p_wxWindow(void *x) {
28013 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28014}
28015static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28016 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28017}
28018static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28019 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28020}
28021static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28022 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28023}
28024static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28025 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28026}
28027static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28028 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28029}
28030static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28031 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28032}
28033static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28034 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28035}
28036static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28037 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28038}
28039static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28040 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28041}
28042static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28043 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28044}
28045static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28046 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28047}
28048static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28049 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28050}
28051static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28052 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28053}
28054static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28055 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28056}
28057static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28058 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28059}
28060static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28061 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28062}
28063static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28064 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28065}
28066static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28067 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28068}
28069static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28070 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28071}
28072static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28073 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28074}
28075static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28076 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28077}
28078static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28079 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28080}
28081static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28082 return (void *)((wxValidator *) ((wxPyValidator *) x));
28083}
28084static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28085static 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}};
28086static 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}};
28087static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28088static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28089static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28090static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28091static 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}};
28092static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28093static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28094static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28095static 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}};
28096static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28097static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28098static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28099static 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}};
28100static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28101static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28102static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28103static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28104static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28105static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28106static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
e811c8ce 28107static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
d14a1e28
RD
28108static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28109static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28110static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
e811c8ce 28111static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
d14a1e28
RD
28112static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28113static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28114static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28115static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28116static 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}};
28117static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28118static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28119static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28120static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28121static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28122static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28123static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28124static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28125static 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}};
28126static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28127static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28128static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28129static 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}};
28130static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28131static 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}};
28132static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28133static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28134static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28135static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28136static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28137static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28138static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28139static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28140static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28141static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
e811c8ce 28142static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
d14a1e28
RD
28143static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28144static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28145static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28146static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28147static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28148static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28149static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28150static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
1e0c8722 28151static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
e811c8ce 28152static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
d14a1e28
RD
28153static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28154static 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}};
28155static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28156static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28157static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28158static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28159static 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}};
28160static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28161static 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}};
28162static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28163static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28164static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28165static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28166static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28167
28168static swig_type_info *swig_types_initial[] = {
28169_swigt__p_wxTextUrlEvent,
28170_swigt__p_wxBookCtrlEvent,
28171_swigt__p_wxSizer,
28172_swigt__p_wxTreeItemIdValue,
28173_swigt__wxTreeItemIdValue,
28174_swigt__p_wxCheckBox,
28175_swigt__p_wxPyTreeCtrl,
28176_swigt__p_wxEvent,
28177_swigt__p_wxGenericDirCtrl,
28178_swigt__p_bool,
28179_swigt__p_wxPyTreeItemData,
28180_swigt__p_wxItemContainer,
28181_swigt__p_wxDirFilterListCtrl,
28182_swigt__p_wxPyListCtrl,
28183_swigt__p_wxStaticLine,
28184_swigt__p_wxControl,
28185_swigt__p_wxPyControl,
28186_swigt__p_wxGauge,
28187_swigt__p_wxToolBarBase,
28188_swigt__p_wxFont,
28189_swigt__p_wxToggleButton,
28190_swigt__p_wxRadioButton,
28191_swigt__p_wxChoice,
e811c8ce 28192_swigt__p_wxMemoryDC,
d14a1e28
RD
28193_swigt__p_wxListItemAttr,
28194_swigt__p_int,
28195_swigt__p_wxSize,
e811c8ce 28196_swigt__p_wxDC,
d14a1e28
RD
28197_swigt__p_wxListView,
28198_swigt__p_wxIcon,
28199_swigt__p_wxTextCtrl,
28200_swigt__p_wxNotebook,
28201_swigt__p_wxNotifyEvent,
28202_swigt__p_wxArrayString,
28203_swigt__p_wxListbook,
28204_swigt__p_wxStaticBitmap,
28205_swigt__p_wxSlider,
28206_swigt__p_wxStaticBox,
28207_swigt__p_wxArrayInt,
28208_swigt__p_wxContextHelp,
28209_swigt__p_long,
28210_swigt__p_wxEvtHandler,
28211_swigt__p_wxListEvent,
28212_swigt__p_wxListBox,
28213_swigt__p_wxCheckListBox,
28214_swigt__p_wxBookCtrl,
28215_swigt__p_wxSpinButton,
28216_swigt__p_wxButton,
28217_swigt__p_wxBitmapButton,
28218_swigt__p_wxRect,
28219_swigt__p_wxContextHelpButton,
28220_swigt__p_wxRadioBox,
28221_swigt__p_wxScrollBar,
28222_swigt__p_wxTreeItemId,
28223_swigt__p_wxComboBox,
28224_swigt__p_wxHelpEvent,
28225_swigt__p_wxListItem,
28226_swigt__p_wxNotebookSizer,
e811c8ce 28227_swigt__p_wxGenericDragImage,
d14a1e28
RD
28228_swigt__p_wxSpinCtrl,
28229_swigt__p_wxImageList,
28230_swigt__p_wxHelpProvider,
28231_swigt__p_wxTextAttr,
28232_swigt__p_wxSimpleHelpProvider,
28233_swigt__p_wxPoint,
28234_swigt__p_wxListbookEvent,
28235_swigt__p_wxNotebookEvent,
28236_swigt__p_wxObject,
e811c8ce 28237_swigt__p_wxCursor,
d14a1e28
RD
28238_swigt__p_wxKeyEvent,
28239_swigt__p_wxWindow,
28240_swigt__p_wxString,
28241_swigt__p_wxBitmap,
28242_swigt__p_wxTreeEvent,
28243_swigt__p_wxMouseEvent,
28244_swigt__p_wxCommandEvent,
28245_swigt__p_wxStaticText,
28246_swigt__p_wxControlWithItems,
28247_swigt__p_wxToolBarToolBase,
28248_swigt__p_wxColour,
28249_swigt__p_wxToolBar,
28250_swigt__p_wxBookCtrlSizer,
28251_swigt__p_wxValidator,
282520
28253};
28254
28255
28256/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28257
28258static swig_const_info swig_const_table[] = {
28259{ SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28260{ SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28261{ SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28262{ SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28263{ SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28264{ SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28265{ SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28266{ SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28267{ SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28268{ SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28269{ SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28270{ SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28271{ SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28272{ SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28273{ SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28274{ SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28275{ SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28276{ SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28277{ SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28278{ SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28279{ SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28280{ SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28281{ SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28282{ SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28283{ SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28284{ SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28285{ SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28286{ SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28287{ SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28288{ SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28289{ SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28290{ SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28291{ SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28292{ SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28293{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28294{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28295{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28296{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28297{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28298{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28299{ SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28300{ SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28301{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28302{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28303{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28304{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28305{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28306{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28307{ SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28308{ SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28309{ SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28310{ SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28311{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28312{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28313{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28314{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28315{ SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28316{ SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28317{ SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28318{ SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28319{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28320{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28321{ SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28322{ SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28323{ SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28324{ SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28325{ SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28326{ SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28327{ SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28328{ SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28329{ SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28330{ SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28331{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28332{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28333{ SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28334{ SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28335{ SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28336{ SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28337{ SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28338{ SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28339{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28340{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28341{ SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28342{ SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28343{ SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28344{ SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28345{ SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28346{ SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28347{ SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28348{ SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28349{ SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28350{ SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28351{ SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28352{ SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28353{ SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28354{ SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28355{ SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28356{ SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28357{ SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28358{ SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28359{ SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28360{ SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28361{ SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28362{ SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28363{ SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28364{ SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28365{ SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28366{ SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28367{ SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28368{ SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28369{ SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28370{ SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28371{ SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28372{ SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28373{ SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28374{ SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28375{ SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28376{ SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28377{ SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28378{ SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28379{ SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28380{ SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28381{ SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28382{ SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28383{ SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28384{ SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28385{ SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28386{ SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28387{ SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28388{ SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28389{ SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28390{ SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28391{ SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28392{ SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28393{ SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28394{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28395{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28396{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28397{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28398{ SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28399{ SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28400{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28401{ SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28402{ SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28403{ SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28404{ SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28405{ SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28406{ SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28407{ SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28408{ SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28409{ SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28410{ SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28411{ SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28412{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28413{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28414{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28415{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28416{ SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28417{ SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28418{ SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28419{ SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28420{ SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28421{ SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28422{ SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28423{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28424{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28425{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28426{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28427{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28428{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28429{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28430{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28431{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28432{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28433{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28434{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28435{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28436{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28437{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28438{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28439{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28440{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28441{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28442{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28443{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28444{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28445{ SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28446{ SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28447{ SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28448{ SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28449{ SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28450{ SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28451{ SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28452{ SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28453{ SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28454{ SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28455{ SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28456{ SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28457{ SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28458{ SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28459{ SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28460{ SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28461{ SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28462{ SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28463{ SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28464{ SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28465{ SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28466{ SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28467{ SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28468{ SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28469{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28470{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28471{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28472{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28473{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28474{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28475{ SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28476{ SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28477{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28478{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28479{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28480{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28481{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28482{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28483{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28484{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28485{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28486{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28487{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28488{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28489{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28490{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28491{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28492{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28493{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28494{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28495{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28496{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28497{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28498{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
c9c7117a 28499{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
d14a1e28
RD
28500{ SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28501{ SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28502{ SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28503{ SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28504{ SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28505{ SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28506{ SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28507{ SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28508{ SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28509{0}};
28510
28511#ifdef __cplusplus
28512}
28513#endif
28514
28515#ifdef __cplusplus
28516extern "C"
28517#endif
28518SWIGEXPORT(void) SWIG_init(void) {
28519 static PyObject *SWIG_globals = 0;
28520 static int typeinit = 0;
28521 PyObject *m, *d;
28522 int i;
28523 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28524 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28525 d = PyModule_GetDict(m);
28526
28527 if (!typeinit) {
28528 for (i = 0; swig_types_initial[i]; i++) {
28529 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28530 }
28531 typeinit = 1;
28532 }
28533 SWIG_InstallConstants(d,swig_const_table);
28534
b2dc1044
RD
28535 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28536 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28537 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28538 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28539 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28540 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28541 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28542 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28543 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28544 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28545 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
d14a1e28
RD
28546 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28547 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28548 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28549 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
28550 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28551 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28552 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
d14a1e28 28553 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
28554 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28555 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28556 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28557 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 28558 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 28559 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
d14a1e28
RD
28560 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28561 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28562 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28563 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
b2dc1044 28564 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
d14a1e28
RD
28565 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28566 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28567 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28568 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28569 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28570 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28571 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28572 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28573 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28574 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28575 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28576 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28577 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28578 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28579 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28580 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28581 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28582 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28583 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28584 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28585 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28586 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28587
28588 // Map renamed classes back to their common name for OOR
28589 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28590
b2dc1044 28591 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
d14a1e28
RD
28592 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28593 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28594 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28595 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28596 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28597 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28598 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28599 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28600 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28601 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28602 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28603 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28604 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28605 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28606 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28607 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28608 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28609 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28610 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 28611 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
28612
28613 // Map renamed classes back to their common name for OOR
28614 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28615 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28616
b2dc1044 28617 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
d14a1e28
RD
28618 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28619 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
28620
28621 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28622
d14a1e28
RD
28623}
28624